void function ( ) { Layer loc0 = new MockLayer ( null ) ; mapContent . addLayer ( loc0 ) ; ReferencedEnvelope loc1 = mapContent . getMaxBounds ( ) ; assertNotNull ( loc1 ) ; assertTrue ( loc1 . isEmpty ( ) ) ; }
test defaultmapcontext handles layers that return null bounds . concode_field_sep ReferencedEnvelope WORLD concode_elem_sep ReferencedEnvelope SMALL_WORLD concode_elem_sep long LISTENER_TIMEOUT concode_elem_sep WaitingMapListener listener concode_elem_sep MapContent mapContent concode_elem_sep double TOL concode_field_sep void removeLayerViaLayerListByPosition concode_elem_sep void addLayerWithMethodAndRemoveViaLayersList concode_elem_sep void addFromCollectionViaLayerList concode_elem_sep void disposeMapContentAndGetLayerPreDisposeEvent concode_elem_sep void moveLayerAndGetEvent concode_elem_sep void addingLayerViaListIteratorIsNotSupported concode_elem_sep void setNewViewportAndCheckBounds concode_elem_sep void crsIsNotAutoSetIfViewportIsNotEditable concode_elem_sep void addingLayerViaLayersListFiresEvent concode_elem_sep void addFromCollectionViaLayerListAtPosition concode_elem_sep void removeAllLayersInCollection concode_elem_sep void addLayerAndGetEvent concode_elem_sep void crsIsAutoSetFromFirstLayerWithNonNullCRS concode_elem_sep void removeLayerIndexOutOfRangeThrowsException concode_elem_sep void getDefaultViewport concode_elem_sep void removeLayerViaLayerListByReference concode_elem_sep void retainAllLayersInCollection concode_elem_sep void crsIsNotAutoSetIfViewportHasExplicitCRS concode_elem_sep void addLayerAtPosViaLayerList concode_elem_sep void removingLayerViaListIteratorIsNotSupported concode_elem_sep void crsIsAutoSetWhenGetViewportCalledBeforeAddingLayers concode_elem_sep void removeLayerNotInListReturnsFalse concode_elem_sep void removeLayerAndGetEvent concode_elem_sep void cleanup concode_elem_sep void setup concode_elem_sep void setLayerInLayerList