Package org.opengis.test.referencing
Class ReferencingTest
- Object
-
- TestCase
-
- ReferencingTestCase
-
- ObjectFactoryTest
-
- ReferencingTest
-
@Deprecated public class ReferencingTest extends ObjectFactoryTest
Deprecated.Renamed asObjectFactoryTest
.Tests objects that combine all referencing sub-packages, especiallycrs
,cs
anddatum
. 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, implementors can define a subclass in their own test suite as in the example below:import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.opengis.test.referencing.ReferencingTest; @RunWith(JUnit4.class) public class MyTest extends ReferencingTest { public MyTest() { super(new MyCRSFactory(), new MyCSFactory(), new MyDatumFactory()); } }
- Since:
- 2.3
-
-
Field Summary
-
Fields inherited from class ObjectFactoryTest
copFactory, crsFactory, csFactory, datumFactory
-
Fields inherited from class TestCase
configurationTip, listener, units, validators
-
-
Constructor Summary
Constructors Constructor Description ReferencingTest(CRSFactory crsFactory, CSFactory csFactory, DatumFactory datumFactory)
Deprecated.Creates a new test using the given factories.
-
Method Summary
-
Methods inherited from class ObjectFactoryTest
factories, testGeocentric, testProjected3D, testProjectedWithGeoidalHeight, testWGS84, testWGS84_3D
-
Methods inherited from class ReferencingTestCase
verifyCoordinateSystem, verifyFlattenedSphere, verifyGeographicExtent, verifyIdentification, verifyParameter, verifyPrimeMeridian, verifyTimeExtent, verifyVerticalExtent
-
Methods inherited from class TestCase
configuration, factories, factories, getEnabledFlags
-
-
-
-
Constructor Detail
-
ReferencingTest
public ReferencingTest(CRSFactory crsFactory, CSFactory csFactory, DatumFactory datumFactory)
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.
-
-