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.operation
package.AuthorityFactoryTest Tests the creation of referencing objects from the authority factories given at construction time.CRSTest Deprecated. Renamed asAuthorityFactoryTest
.CRSValidator ValidatesCoordinateReferenceSystem
and related objects from theorg.opengis.referencing.crs
package.CSValidator ValidatesCoordinateSystem
and related objects from theorg.opengis.referencing.cs
package.DatumValidator ValidatesDatum
and related objects from theorg.opengis.datum
package.ObjectFactoryTest Tests the creation of referencing objects from the object factories given at construction time.OperationValidator ValidatesCoordinateOperation
and related objects from theorg.opengis.referencing.operation
package.ParameterizedTransformTest Tests parameterized math transforms from theorg.opengis.referencing.operation
package.ParameterValidator ValidatesParameterValue
and related objects from theorg.opengis.parameter
package.PseudoEpsgFactory Creates referencing objects for a limited set of hard-coded EPSG codes usingObjectFactory
andMathTransformFactory
.ReferencingTest Deprecated. Renamed asObjectFactoryTest
.ReferencingTestCase Base class ofCoordinateReferenceSystem
implementation tests.ReferencingValidator Base class for validators ofIdentifiedObject
and related objects from theorg.opengis.referencing
package.TransformTestCase Base class forMathTransform
implementation tests. -
Error Summary Error Description DerivativeFailure Thrown byTransformTestCase.verifyDerivative(double[])
when a transform derivative did not produced the expected values.TransformFailure Thrown byTransformTestCase
when aMathTransform
did not produced the expected value.