Package org.opengis.test
Test cases
TestCase
is the base class of all GeoAPI tests. Implementers can extend directly theTestCase
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 staticvalidate(…)
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
andValidatorContainer
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
andToleranceModifier
allow implementers to alter the tests.
- Since:
- 2.2
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Extension to JUnit assertion methods.The kind of calculation that produced the
DirectPosition
s being compared.Base class for exceptions thrown when a numerical computation did not produced the expected value.Contains information about the test environment, like available factories and disabled tests.Type-safe keys that can be used in aConfiguration
map.Base class of all GeoAPI tests.Modifies the tolerance threshold before to compare a calculated value against its expected value.A factory of variousToleranceModifier
implementations.Pre-defined constants for the units of measurement used by the conformance tests.Base class of all GeoAPI validators.A set of convenience methods for validating GeoAPI implementations.A set of convenience static methods for validating GeoAPI implementations.
invalid reference