Package org.opengis.test

Show UML class diagram
Base classes for validators and test suites for all GeoAPI objects.

See:
          Description

Interface Summary
FactoryFilter Specifies whether a factory can be used for creating the objects to be tested.
ImplementationDetails Provides optional information about the implementation being tested.
TestListener A listener which is notified when a test begin, complete or fail.
ToleranceModifier Modifies the tolerance threshold before to compare a calculated value against its expected value.
 

Class Summary
Assert Assertion methods to be used by GeoAPI tests.
Configuration Contains information about the test environment, like available factories and disabled tests.
Configuration.Key<T> Type-safe keys that can be used in a Configuration map.
FactoryFilter.ByAuthority Filters AuthorityFactory by their authority name.
TestCase Base class of all GeoAPI tests.
TestEvent Events provided to test listeners when a test begin, complete or fail.
TestSuite The suite of every tests defined in the GeoAPI conformance module.
ToleranceModifiers A factory of various ToleranceModifier implementations.
Validator Base class of all GeoAPI validators.
ValidatorContainer A set of convenience methods for validating GeoAPI implementations.
Validators A set of convenience static methods for validating GeoAPI implementations.
 

Enum Summary
CalculationType The kind of calculation that produced the DirectPositions being compared.
 

Error Summary
ComputationFailure Base class for exceptions thrown when a numerical computation did not produced the expected value.
 

Package org.opengis.test Description

Base classes for validators and test suites for all GeoAPI objects. The Validators class provides static validate methods that can be used for validating existing instances of various kind. Those methods can be conveniently imported in a test class with the following Java statement:

import static org.opengis.test.Validators.*;

No other validator class need to be considered, unless the validation process needs to be customized.

The TestSuite class can be extended in order to run all the test cases defined in this module, using the implementor factories declared in the META-INF/services/ directory. Alternatively, implementor can extend directly the TestCase subclass of their choice for gaining more control, for example in order to specify whether math transform derivatives are supported.

Since:
2.2


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