Class GIGS3003


  • public class GIGS3003
    extends UserObjectFactoryTestCase<PrimeMeridian>
    Verifies that the software allows correct definition of a user-defined prime meridian.
    Test method: Create user-defined prime meridian for each of several different prime meridians.
    Test data: GIGS_3003_userPrimeMeridian.csv.
    Tested API: DatumFactory.createPrimeMeridian(Map, double, Unit).
    Expected result: The software should accept the test data. The properties of the created objects will be compared with the properties given to the factory method.
    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.gigs.GIGS3003;
    
    @RunWith(JUnit4.class)
    public class MyTest extends GIGS3003 {
        public MyTest() {
            super(new MyDatumFactory());
        }
    }
    Since:
    3.1