Object
TestCase
ReferencingTestCase
ObjectFactoryTest
ReferencingTest
Deprecated.
Tests objects that combine all referencing sub-packages, especially
crs
, cs
and
datum
. The instances are created using the various factories given at construction time.
Usage example:
in order to specify their factories and run the tests in a JUnit framework, implementers can define a subclass in their own test suite as in the example below:import org.opengis.test.referencing.ReferencingTest;
public class MyTest extends ReferencingTest {
public MyTest() {
super(new MyCRSFactory(), new MyCSFactory(), new MyDatumFactory());
}
}
- Since:
- 2.3
-
Field Summary
Fields inherited from class org.opengis.test.referencing.ObjectFactoryTest
copFactory, crsFactory, csFactory, datumFactory
Fields inherited from class org.opengis.test.TestCase
configurationTip, units, validators
-
Constructor Summary
ConstructorDescriptionReferencingTest
(CRSFactory crsFactory, CSFactory csFactory, DatumFactory datumFactory) Deprecated.Creates a new test using the given factories. -
Method Summary
Methods inherited from class org.opengis.test.referencing.ObjectFactoryTest
testGeocentric, testProjected3D, testProjectedWithGeoidalHeight, testWGS84, testWGS84_3D
Methods inherited from class org.opengis.test.referencing.ReferencingTestCase
verifyCoordinateSystem, verifyFlattenedSphere, verifyGeographicExtent, verifyIdentification, verifyParameter, verifyPrimeMeridian, verifyTimeExtent, verifyVerticalExtent
Methods inherited from class org.opengis.test.TestCase
configuration, getEnabledFlags
-
Constructor Details
-
ReferencingTest
Deprecated.Creates a new test using the given factories. If a given factory isnull
, then the tests which depend on it will be skipped.- Parameters:
crsFactory
- factory for creatingCoordinateReferenceSystem
instances.csFactory
- factory for creatingCoordinateSystem
instances.datumFactory
- factory for creatingDatum
instances.
-
ObjectFactoryTest
.