| org.geoserver.test.GeoServerTestSupport org.geoserver.wms.WMSTestSupport
All known Subclasses: org.vfny.geoserver.wms.responses.map.georss.RSSGeoRSSTransformerTest, org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplateTest, org.vfny.geoserver.wms.responses.map.kml.KMZMapProducerTest, org.vfny.geoserver.wms.responses.map.openlayers.OpenLayersMapTemplateTest, org.vfny.geoserver.wms.responses.map.kml.KMLTransformerTest, org.vfny.geoserver.wms.responses.map.png.GetMapTest, org.vfny.geoserver.wms.responses.map.kml.KMLTest, org.vfny.geoserver.wms.responses.map.georss.AtomGeoRSSTransformerTest, org.vfny.geoserver.wms.responses.featureInfo.FeatureTimeTemplateTest, org.vfny.geoserver.wms.responses.map.svg.SVGTest, org.vfny.geoserver.wms.responses.featureInfo.GetFeatureInfoTest,
WMSTestSupport | public class WMSTestSupport extends GeoServerTestSupport (Code) | | Base support class for wms tests.
Deriving from this test class provides the test case with preconfigured
geoserver and wms objects.
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org |
Method Summary | |
protected GetMapRequest | createGetMapRequest(QName layerName) Calls through to
WMSTestSupport.createGetMapRequest(QName[]) . | protected GetMapRequest | createGetMapRequest(QName[] layerNames) Convenience method for subclasses to create a new GetMapRequest object.
The returned object has the following properties:
- styles set to default styles for layers specified
- bbox set to (-180,-90,180,180 )
- crs set to epsg:4326
Caller must set additional parameters of request as need be.
Parameters: The - layer names of the request. | protected MapLayer | createMapLayer(QName layerName) Convenience method for subclasses to create a map layer from a layer name.
The map layer is created with the default style for the layer.
Parameters: layerName - The name of the layer. | protected WMS | getWMS() |
createGetMapRequest | protected GetMapRequest createGetMapRequest(QName[] layerNames)(Code) | | Convenience method for subclasses to create a new GetMapRequest object.
The returned object has the following properties:
- styles set to default styles for layers specified
- bbox set to (-180,-90,180,180 )
- crs set to epsg:4326
Caller must set additional parameters of request as need be.
Parameters: The - layer names of the request. A new GetMapRequest object. |
createMapLayer | protected MapLayer createMapLayer(QName layerName) throws IOException(Code) | | Convenience method for subclasses to create a map layer from a layer name.
The map layer is created with the default style for the layer.
Parameters: layerName - The name of the layer. A new map layer. |
getWMS | protected WMS getWMS()(Code) | | The global wms singleton from the application context. |
|
|