| org.geotools.data.shapefile.indexed.TestCaseSupport
All known Subclasses: org.geotools.index.quadtree.PolygonLazySearchCollectionTest, org.geotools.index.quadtree.PointLazySearchCollectionTest, org.geotools.data.shapefile.indexed.ShapefileTest, org.geotools.catalog.shapefile.ShapefileServiceTest, org.geotools.data.shapefile.indexed.ShapefileRTreeReadWriteTest, org.geotools.index.quadtree.LineLazySearchCollectionTest, org.geotools.data.shapefile.indexed.ShapefileQuadTreeReadWriteTest, org.geotools.data.shapefile.indexed.ShapefileDataStoreTest, org.geotools.data.shapefile.indexed.ServiceTest, org.geotools.data.shapefile.indexed.IndexedShapefileDataStoreFactoryTest, org.geotools.data.shapefile.shp.PolygonHandler2Test,
TestCaseSupport | abstract public class TestCaseSupport extends TestCase (Code) | | Base class for test suite. This class is not abstract for the purpose of
TestCaseSupportTest , but should not be instantiated otherwise.
It should be extented (which is why the constructor is protected).
Note: a nearly identical copy of this file exists in the
plugin/shapefile module.
version: $Id: TestCaseSupport.java 26202 2007-07-11 18:23:09Z jgarnett $ author: Ian Schneider author: Martin Desruisseaux |
Field Summary | |
protected static boolean | verbose Set to
true if
println are wanted during normal execution. |
verbose | protected static boolean verbose(Code) | | Set to
true if
println are wanted during normal execution.
It doesn't apply to message displayed in case of errors.
|
TestCaseSupport | protected TestCaseSupport()(Code) | | |
TestCaseSupport | protected TestCaseSupport(String name)(Code) | | Creates a new instance of
TestCaseSupport with the given name.
|
copyShapefiles | protected File copyShapefiles(String name) throws IOException(Code) | | Copies the specified shape file into the
test-data directory, together with its
sibling (
.dbf ,
.shp ,
.shx and
.prj files).
|
getTempFile | protected File getTempFile() throws IOException(Code) | | Creates a temporary file, to be automatically deleted at the end of the test suite.
|
readGeometry | protected Geometry readGeometry(String wktResource) throws IOException(Code) | | Read a geometry of the given name.
Parameters: wktResource - The resource name to load, without its .wkt extension. The geometry. throws: IOException - if reading failed. |
suite | public static Test suite(Class c)(Code) | | Returns the test suite for the given class.
|
|
|