sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1832242 - /sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
Date Fri, 25 May 2018 14:08:40 GMT
Author: desruisseaux
Date: Fri May 25 14:08:40 2018
New Revision: 1832242

URL: http://svn.apache.org/viewvc?rev=1832242&view=rev
Log:
Fix a test failure after upgrade to EPSG version 9.3.

Modified:
    sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java

Modified: sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java?rev=1832242&r1=1832241&r2=1832242&view=diff
==============================================================================
--- sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
[UTF-8] (original)
+++ sis/trunk/core/sis-referencing/src/test/java/org/apache/sis/referencing/CommonCRSTest.java
[UTF-8] Fri May 25 14:08:40 2018
@@ -229,7 +229,7 @@ public final strictfp class CommonCRSTes
             final String        name  = e.name();
             final VerticalDatum datum = e.datum();
             final VerticalCRS   crs   = e.crs();
-            if (e.isEPSG) {
+            if (e.isEPSG && !name.startsWith("NAV")) {
                 /*
                  * BAROMETRIC, ELLIPSOIDAL and OTHER_SURFACE uses an axis named "Height",
which is not
                  * a valid axis name according ISO 19111. We skip the validation test for
those enums.



Mime
View raw message