sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1695165 - in /sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis: referencing/factory/GIGS3002.java referencing/factory/GIGS3003.java referencing/factory/GIGS3004.java test/suite/ReferencingTestSuite.java
Date Mon, 10 Aug 2015 21:04:12 GMT
Author: desruisseaux
Date: Mon Aug 10 21:04:12 2015
New Revision: 1695165

URL: http://svn.apache.org/r1695165
Log:
Added Geospatial Integrity of Geoscience Software (GIGS) tests 3003 and 3004.

Added:
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3003.java
      - copied, changed from r1694717, sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3004.java
      - copied, changed from r1694717, sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
Modified:
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
    sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/test/suite/ReferencingTestSuite.java

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java?rev=1695165&r1=1695164&r2=1695165&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
[UTF-8] Mon Aug 10 21:04:12 2015
@@ -25,7 +25,7 @@ import org.junit.runners.JUnit4;
 
 /**
  * Runs the <cite>Geospatial Integrity of Geoscience Software</cite> tests on
- * {@link org.apache.sis.referencing.datum.DefaultEllipsoid} object creation.
+ * {@link org.apache.sis.referencing.datum.DefaultEllipsoid} objects creation.
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @since   0.6

Copied: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3003.java
(from r1694717, sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java)
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3003.java?p2=sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3003.java&p1=sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java&r1=1694717&r2=1695165&rev=1695165&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3003.java
[UTF-8] Mon Aug 10 21:04:12 2015
@@ -25,7 +25,7 @@ import org.junit.runners.JUnit4;
 
 /**
  * Runs the <cite>Geospatial Integrity of Geoscience Software</cite> tests on
- * {@link org.apache.sis.referencing.datum.DefaultEllipsoid} object creation.
+ * {@link org.apache.sis.referencing.datum.DefaultPrimeMeridian} objects creation.
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @since   0.6
@@ -34,13 +34,13 @@ import org.junit.runners.JUnit4;
  */
 @RunWith(JUnit4.class)
 @DependsOn({
-    org.apache.sis.referencing.datum.DefaultEllipsoidTest.class
+    org.apache.sis.referencing.datum.DefaultPrimeMeridianTest.class
 })
-public final strictfp class GIGS3002 extends org.opengis.test.referencing.gigs.GIGS3002 {
+public final strictfp class GIGS3003 extends org.opengis.test.referencing.gigs.GIGS3003 {
     /**
      * Creates a new test suite using the singleton factory instance.
      */
-    public GIGS3002() {
+    public GIGS3003() {
         super(DefaultFactories.forBuildin(DatumFactory.class));
     }
 }

Copied: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3004.java
(from r1694717, sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java)
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3004.java?p2=sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3004.java&p1=sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java&r1=1694717&r2=1695165&rev=1695165&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3002.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/GIGS3004.java
[UTF-8] Mon Aug 10 21:04:12 2015
@@ -16,6 +16,8 @@
  */
 package org.apache.sis.referencing.factory;
 
+import org.opengis.referencing.cs.CSFactory;
+import org.opengis.referencing.crs.CRSFactory;
 import org.opengis.referencing.datum.DatumFactory;
 import org.apache.sis.internal.system.DefaultFactories;
 import org.apache.sis.test.DependsOn;
@@ -25,7 +27,8 @@ import org.junit.runners.JUnit4;
 
 /**
  * Runs the <cite>Geospatial Integrity of Geoscience Software</cite> tests on
- * {@link org.apache.sis.referencing.datum.DefaultEllipsoid} object creation.
+ * {@link org.apache.sis.referencing.datum.DefaultGeodeticDatum} objects creation.
+ * {@code GIGS3004} tests also geographic and geocentric CRS creations with the tested geodetic
datum.
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @since   0.6
@@ -34,13 +37,16 @@ import org.junit.runners.JUnit4;
  */
 @RunWith(JUnit4.class)
 @DependsOn({
-    org.apache.sis.referencing.datum.DefaultEllipsoidTest.class
+    GIGS3002.class, GIGS3003.class,
+    org.apache.sis.referencing.datum.DefaultGeodeticDatumTest.class
 })
-public final strictfp class GIGS3002 extends org.opengis.test.referencing.gigs.GIGS3002 {
+public final strictfp class GIGS3004 extends org.opengis.test.referencing.gigs.GIGS3004 {
     /**
      * Creates a new test suite using the singleton factory instance.
      */
-    public GIGS3002() {
-        super(DefaultFactories.forBuildin(DatumFactory.class));
+    public GIGS3004() {
+        super(DefaultFactories.forBuildin(DatumFactory.class),
+              DefaultFactories.forBuildin(CSFactory.class),
+              DefaultFactories.forBuildin(CRSFactory.class));
     }
 }

Modified: sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/test/suite/ReferencingTestSuite.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/test/suite/ReferencingTestSuite.java?rev=1695165&r1=1695164&r2=1695165&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/test/suite/ReferencingTestSuite.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/test/java/org/apache/sis/test/suite/ReferencingTestSuite.java
[UTF-8] Mon Aug 10 21:04:12 2015
@@ -139,6 +139,8 @@ import org.junit.BeforeClass;
     org.apache.sis.referencing.crs.DefaultCompoundCRSTest.class,
     org.apache.sis.referencing.crs.HardCodedCRSTest.class,
     org.apache.sis.referencing.factory.GIGS3002.class,
+    org.apache.sis.referencing.factory.GIGS3003.class,
+    org.apache.sis.referencing.factory.GIGS3004.class,
     org.apache.sis.referencing.factory.GeodeticObjectFactoryTest.class,
     org.apache.sis.referencing.StandardDefinitionsTest.class,
     org.apache.sis.referencing.CommonCRSTest.class,



Mime
View raw message