Package org.opengis.test
Test cases
TestCaseis the base class of all GeoAPI tests. Implementors can extend directly theTestCasesubclasses of their choice for gaining some control, for example in order to specify whether math transform derivatives are supported by their implementation.Test suite
TestSuitegroups all GeoAPITestCasesin a single point. This is not the easiest class to use since implementations typically support only a subset of GeoAPI functionalities. ButTestSuitecan provide some help for implementors defining their own test suite.Validation
Validatorsclass 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.*;
ValidatorandValidatorContainerare support classes for the above, but usually do not need to be considered unless the validation process needs to be customized.Assertions
Assertextendsorg.junit.Assertclass with additional assertion methods.Configuration
Configuration,CalculationType,ToleranceModifier,FactoryFilterandImplementationDetailsallow implementors to alter the tests.Events
TestListener,TestEventandComputationFailureallow implementors to be notified about test executions, successes or failures.
- Since:
 - 2.2
 
- 
Interface Summary Interface Description 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 Deprecated. To be replaced by JUnit 5 listener mechanism.ToleranceModifier Modifies the tolerance threshold before to compare a calculated value against its expected value. - 
Class Summary Class Description Assert Extension to JUnit assertion methods.Configuration Contains information about the test environment, like available factories and disabled tests.Configuration.Key<T> Type-safe keys that can be used in aConfigurationmap.FactoryFilter.ByAuthority FiltersAuthorityFactoryby their authority name.TestCase Base class of all GeoAPI tests.TestEvent Deprecated. To be replaced by JUnit 5 listener mechanism.TestSuite The suite of every tests defined in the GeoAPI conformance module.ToleranceModifiers A factory of variousToleranceModifierimplementations.Units Pre-defined constants for the units of measurement used by the conformance tests.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 Enum Description CalculationType The kind of calculation that produced theDirectPositions being compared. - 
Error Summary Error Description ComputationFailure Base class for exceptions thrown when a numerical computation did not produced the expected value.