Package org.opengis.test.referencing

Show UML class diagram
Validators and test suites for the org.opengis.referencing package.

See:
          Description

Class Summary
AffineTransformTest Tests affine transforms from the org.opengis.referencing.operation package.
AuthorityFactoryTest Tests the creation of referencing objects from the authority factories given at construction time.
CRSTest Deprecated. Renamed as AuthorityFactoryTest.
CRSValidator Validates CoordinateReferenceSystem and related objects from the org.opengis.referencing.crs package.
CSValidator Validates CoordinateSystem and related objects from the org.opengis.referencing.cs package.
DatumValidator Validates Datum and related objects from the org.opengis.datum package.
ObjectFactoryTest Tests the creation of referencing objects from the object factories given at construction time.
OperationValidator Validates CoordinateOperation and related objects from the org.opengis.referencing.operation package.
ParameterizedTransformTest Tests parameterized math tranforms from the org.opengis.referencing.operation package.
ParameterValidator Validates ParameterValue and related objects from the org.opengis.parameter package.
PseudoEpsgFactory Creates referencing objects for a limited set of hard-coded EPSG codes using ObjectFactory and MathTransformFactory.
ReferencingTest Deprecated. Renamed as ObjectFactoryTest.
ReferencingValidator Base class for validators of IdentifiedObject and related objects from the org.opengis.referencing package.
TransformTestCase Base class for MathTransform implementation tests.
 

Error Summary
DerivativeFailure Thrown by TransformTestCase.verifyDerivative(double[]) when a transform derivative did not produced the expected values.
TransformFailure Thrown by TransformTestCase when a MathTransform did not produced the expected value.
 

Package org.opengis.test.referencing Description

Validators and test suites for the 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 whatever 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


Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.