Class ObjectFactoryTest

  • Direct Known Subclasses:
    ReferencingTest

    public class ObjectFactoryTest
    extends ReferencingTestCase
    Tests the creation of referencing objects from the object 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.ObjectFactoryTest;
    
    @RunWith(JUnit4.class)
    public class MyTest extends ObjectFactoryTest {
        public MyTest() {
            super(new MyDatumFactory(), new MyCSFactory(), new MyCRSFactory(), new MyOpFactory());
        }
    }
    Since:
    2.3
    See Also:
    AuthorityFactoryTest, TestSuite