Class ReferencingTest


  • @Deprecated
    public class ReferencingTest
    extends ObjectFactoryTest
    Deprecated.
    Renamed as ObjectFactoryTest.
    Tests objects that combine all referencing sub-packages, especially crs, cs and datum. The instances are created using the various factories given at construction time.
    Usage example: in order to specify their factories and run the tests in a JUnit framework, implementors can define a subclass in their own test suite as in the example below:
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    import org.opengis.test.referencing.ReferencingTest;
    
    @RunWith(JUnit4.class)
    public class MyTest extends ReferencingTest {
        public MyTest() {
            super(new MyCRSFactory(), new MyCSFactory(), new MyDatumFactory());
        }
    }
    Since:
    2.3
    • Constructor Detail