Package org.opengis.test.referencing
org.opengis.referencing package. The validator classes
don't need to be used directly (use the static Validators methods instead),
unless implementors want to alter the way referencing objects are validated.
This package provides a TransformTestCase base class
with methods for testing MathTransform instances.
The various TransformTestCase fields control different aspects of the test to be run,
like the tolerance
threshold for comparing ordinate values or whether
math transform
derivatives are supported. Implementors can extend this class in order to define their own
tests.
The ObjectFactoryTest,
AuthorityFactoryTest,
ParameterizedTransformTest and other concrete classes can
also be extended by implementors in order to inherit pre-defined test cases. Many of those test
cases are derived from publications of authoritative sources like EPSG or national mapping
agencies. By extending the test classes directly, implementors can control which factories
are used and alter the way the tests are performed as documented in the above-cited
TransformTestCase class.
- Since:
- 2.2
-
Class Summary Class Description AffineTransformTest Tests affine transforms from theorg.opengis.referencing.operationpackage.AuthorityFactoryTest Tests the creation of referencing objects from the authority factories given at construction time.CRSTest Deprecated. Renamed asAuthorityFactoryTest.CRSValidator ValidatesCoordinateReferenceSystemand related objects from theorg.opengis.referencing.crspackage.CSValidator ValidatesCoordinateSystemand related objects from theorg.opengis.referencing.cspackage.DatumValidator ValidatesDatumand related objects from theorg.opengis.datumpackage.ObjectFactoryTest Tests the creation of referencing objects from the object factories given at construction time.OperationValidator ValidatesCoordinateOperationand related objects from theorg.opengis.referencing.operationpackage.ParameterizedTransformTest Tests parameterized math transforms from theorg.opengis.referencing.operationpackage.ParameterValidator ValidatesParameterValueand related objects from theorg.opengis.parameterpackage.PseudoEpsgFactory Creates referencing objects for a limited set of hard-coded EPSG codes usingObjectFactoryandMathTransformFactory.ReferencingTest Deprecated. Renamed asObjectFactoryTest.ReferencingTestCase Base class ofCoordinateReferenceSystemimplementation tests.ReferencingValidator Base class for validators ofIdentifiedObjectand related objects from theorg.opengis.referencingpackage.TransformTestCase Base class forMathTransformimplementation tests. -
Error Summary Error Description DerivativeFailure Thrown byTransformTestCase.verifyDerivative(double[])when a transform derivative did not produced the expected values.TransformFailure Thrown byTransformTestCasewhen aMathTransformdid not produced the expected value.