sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1670577 - in /sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation: projection/ParameterizedTransformTestMock.java transform/TransformTestCase.java
Date Wed, 01 Apr 2015 08:33:00 GMT
Author: desruisseaux
Date: Wed Apr  1 08:33:00 2015
New Revision: 1670577

URL: http://svn.apache.org/r1670577
Log:
Report the unimplemented tests as "skipped" instead than success.

Modified:
    sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ParameterizedTransformTestMock.java
    sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/TransformTestCase.java

Modified: sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ParameterizedTransformTestMock.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ParameterizedTransformTestMock.java?rev=1670577&r1=1670576&r2=1670577&view=diff
==============================================================================
--- sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ParameterizedTransformTestMock.java
[UTF-8] (original)
+++ sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ParameterizedTransformTestMock.java
[UTF-8] Wed Apr  1 08:33:00 2015
@@ -18,6 +18,9 @@ package org.apache.sis.referencing.opera
 
 import org.opengis.referencing.operation.MathTransformFactory;
 
+import static org.junit.Assume.*;
+import static org.apache.sis.test.Assert.*;
+
 
 /**
  * Placeholder for a GeoAPI 3.1 method which was not available in GeoAPI 3.0.
@@ -36,20 +39,24 @@ final class ParameterizedTransformTestMo
     public void testMercator1SP() {
         // See GeoAPI 3.1 for the real test.
         // The test is run on Apache SIS branches.
+       assumeTrue(PENDING_NEXT_GEOAPI_RELEASE); // For reporting the test as skippped.
     }
 
     public void testMercator2SP() {
         // See GeoAPI 3.1 for the real test.
         // The test is run on Apache SIS branches.
+       assumeTrue(PENDING_NEXT_GEOAPI_RELEASE); // For reporting the test as skippped.
     }
 
     public void testPseudoMercator() {
         // See GeoAPI 3.1 for the real test.
         // The test is run on Apache SIS branches.
+       assumeTrue(PENDING_NEXT_GEOAPI_RELEASE); // For reporting the test as skippped.
     }
 
     public void testMiller() {
         // See GeoAPI 3.1 for the real test.
         // The test is run on Apache SIS branches.
+       assumeTrue(PENDING_NEXT_GEOAPI_RELEASE); // For reporting the test as skippped.
     }
 }

Modified: sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/TransformTestCase.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/TransformTestCase.java?rev=1670577&r1=1670576&r2=1670577&view=diff
==============================================================================
--- sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/TransformTestCase.java
[UTF-8] (original)
+++ sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/TransformTestCase.java
[UTF-8] Wed Apr  1 08:33:00 2015
@@ -18,6 +18,9 @@ package org.apache.sis.referencing.opera
 
 import java.util.Random;
 
+import static org.junit.Assume.*;
+import static org.apache.sis.test.Assert.*;
+
 
 /**
  * Placeholder for a GeoAPI 3.1 method which was not available in GeoAPI 3.0.
@@ -43,6 +46,7 @@ public class TransformTestCase extends o
     protected final void verifyDerivative(final double... coordinate) {
         // See GeoAPI 3.1 for the real test.
         // The test is run on Apache SIS branches.
+       assumeTrue(PENDING_NEXT_GEOAPI_RELEASE); // For reporting the test as skippped.
     }
 
     /**
@@ -59,5 +63,6 @@ public class TransformTestCase extends o
     {
         // See GeoAPI 3.1 for the real test.
         // The test is run on Apache SIS branches.
+       assumeTrue(PENDING_NEXT_GEOAPI_RELEASE); // For reporting the test as skippped.
     }
 }



Mime
View raw message