| org.vfny.geoserver.testdata.AbstractCiteDataTest
All known Subclasses: org.vfny.geoserver.wms.responses.DefaultRasterMapProducerTest, org.vfny.geoserver.wms.responses.map.SVGMapProducerTest, org.vfny.geoserver.wms.responses.DefaultRasterLegendProducerTest,
AbstractCiteDataTest | abstract public class AbstractCiteDataTest extends TestCase (Code) | |
The properties files with CITE data are copied to the users' temp directory
only the first time getCiteDataStore() is called, for each
test run (i.e., they're not copied in setUp() ).
author: Gabriel Roldan, Axios Engineering version: $Id: AbstractCiteDataTest.java 7746 2007-11-13 15:38:35Z aaime $ |
Inner Class :static class ForceWGS84PropertyDataStore extends PropertyDataStore | |
BASIC_POLYGONS_TYPE | public static String BASIC_POLYGONS_TYPE(Code) | | featuretype name for CITE BasicPolygons features
|
BRIDGES_TYPE | public static String BRIDGES_TYPE(Code) | | featuretype name for CITE Bridges features
|
BUILDINGS_TYPE | public static String BUILDINGS_TYPE(Code) | | featuretype name for CITE Buildings features
|
CITE_TYPE_NAMES | public static String[] CITE_TYPE_NAMES(Code) | | Convenient array with all the CITE type names for dealing with copying
and deleting files
|
DIVIDED_ROUTES_TYPE | public static String DIVIDED_ROUTES_TYPE(Code) | | featuretype name for CITE Divided Routes features
|
FORCED_WGS84 | static CoordinateReferenceSystem FORCED_WGS84(Code) | | Since the PropertyDataStore does not provides CRS support, we force
feature types to be in WGS84
|
FORESTS_TYPE | public static String FORESTS_TYPE(Code) | | featuretype name for CITE Forests features
|
LAKES_TYPE | public static String LAKES_TYPE(Code) | | featuretype name for CITE Lakes features
|
MAP_NEATLINE_TYPE | public static String MAP_NEATLINE_TYPE(Code) | | featuretype name for CITE Map Neatliine features
|
NAMED_PLACES_TYPE | public static String NAMED_PLACES_TYPE(Code) | | featuretype name for CITE Named Places features
|
PONDS_TYPE | public static String PONDS_TYPE(Code) | | featuretype name for CITE Ponds features
|
ROAD_SEGMENTS_TYPE | public static String ROAD_SEGMENTS_TYPE(Code) | | featuretype name for CITE Road Segments features
|
STREAMS_TYPE | public static String STREAMS_TYPE(Code) | | featuretype name for CITE Streams features
|
AbstractCiteDataTest | public AbstractCiteDataTest()(Code) | | Creates a new CiteTestData object.
|
assertNotBlank | protected void assertNotBlank(String testName, BufferedImage image, Color bgColor)(Code) | | Asserts that the image is not blank, in the sense that there must be
pixels different from the passed background color.
Parameters: testName - the name of the test to throw meaningfull messages ifsomething goes wrong Parameters: image - the imgage to check it is not "blank" Parameters: bgColor - the background color for which differing pixels arelooked for |
getCiteDataStore | public DataStore getCiteDataStore() throws IOException(Code) | | Returns a DataStore containing CITE feature types.
a property files backed DataStore which forces all theFeatureTypes it serves to be in WGS84 CRS. throws: IOException - DOCUMENT ME! |
getDefaultStyle | protected Style getDefaultStyle(String citeTypeName) throws Exception(Code) | | DOCUMENT ME!
Parameters: citeTypeName - DOCUMENT ME! DOCUMENT ME! throws: Exception - DOCUMENT ME! |
getStyle | protected Style getStyle(String styleName) throws Exception(Code) | | DOCUMENT ME!
Parameters: styleName - DOCUMENT ME! DOCUMENT ME! throws: Exception - DOCUMENT ME! |
setUp | public void setUp() throws Exception(Code) | | does nothing but what super.setUp() does.
throws: Exception - should not do. |
showImage | protected void showImage(String frameName, BufferedImage image)(Code) | | DOCUMENT ME!
Parameters: frameName - DOCUMENT ME! Parameters: image - DOCUMENT ME! |
showImage | protected void showImage(String frameName, long timeOut, BufferedImage image)(Code) | | Shows image in a Frame.
Parameters: frameName - Parameters: timeOut - Parameters: image - |
|
|