Class AuthorityFactoryTest

Object
TestCase
ReferencingTestCase
AuthorityFactoryTest

Tests the creation of referencing objects from the authority factories given at construction time.

Many ProjectedCRS instances tested in this class use the same projections as the MathTransform instances tested in ParameterizedTransformTest. However, the latter test class expects (λ,φ) input coordinates in degrees and (x,y) output coordinates in metres, while this AuthorityFactoryTest class expects input and output coordinates in CRS-dependent units and axis order.

Usage example:

in order to specify their factories and run the tests in a JUnit framework, implementers can define a subclass in their own test suite as in the example below:
import org.opengis.test.referencing.AuthorityFactoryTest;

public class MyTest extends AuthorityFactoryTest {
    public MyTest() {
        super(new MyCRSAuthorityFactory(), new MyCSAuthorityFactory(), new MyDatumAuthorityFactory());
    }
}
Since:
2.3
See Also: