Package org.opengis.test

package org.opengis.test
The GeoAPI conformance testing framework. This package does not provide any test by itself, but provides the base classes for all tests defined in sub-packages. The classes in this package can be grouped in 6 categories:
  • Test cases
    TestCase is the base class of all GeoAPI tests. Implementers can extend directly the TestCase subclasses of their choice for gaining some control, for example in order to specify whether math transform derivatives are supported by their implementation.

  • Validation
    Validators class provides static validate(…) methods that can be used for validating existing instances of various kinds. Those methods can be conveniently imported in a test class with the following Java statement:

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

    Validator and ValidatorContainer are support classes for the above, but usually do not need to be considered unless the validation process needs to be customized.

  • Assertions
    Assertions provides some assertion methods.

  • Configuration
    Configuration, CalculationType and ToleranceModifier allow implementers to alter the tests.