| java.lang.Object org.geotools.renderer.shape.TestUtilites
TestUtilites | public class TestUtilites (Code) | | Utitility methods for unit tests
author: jeichar since: 2.1.x |
Inner Class :public static class CountingRenderListener implements RenderListener | |
Method Summary | |
public static Style | createTestStyle(String polyName, String lineName) | public static Style | createTestStyle(String polyName, String lineName, String pointName) | public static IndexedShapefileDataStore | getDataStore(String filename) | public static IndexedShapefileDataStore | getLines() | public static IndexedShapefileDataStore | getPoints() | public static IndexedShapefileDataStore | getPolygons() | public static BufferedImage | showRender(String testName, GTRenderer renderer, long timeOut, Envelope bounds) | public static BufferedImage | showRender(String testName, GTRenderer renderer, long timeOut, Envelope bounds, int expectedFeatureCount) |
INTERACTIVE | public static boolean INTERACTIVE(Code) | | |
showRender | public static BufferedImage showRender(String testName, GTRenderer renderer, long timeOut, Envelope bounds) throws Exception(Code) | | bounds may be null
Parameters: testName - DOCUMENT ME! Parameters: renderer - DOCUMENT ME! Parameters: timeOut - DOCUMENT ME! Parameters: bounds - DOCUMENT ME! throws: Exception - DOCUMENT ME! |
showRender | public static BufferedImage showRender(String testName, GTRenderer renderer, long timeOut, Envelope bounds, int expectedFeatureCount) throws Exception(Code) | | bounds may be null
Parameters: testName - DOCUMENT ME! Parameters: renderer - DOCUMENT ME! Parameters: timeOut - DOCUMENT ME! Parameters: bounds - DOCUMENT ME! Parameters: expectedFeatureCount - DOCUMENT ME! throws: Exception - DOCUMENT ME! |
|
|