sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 02/02: Rename a misnamed test class (after renaming of the actual class).
Date Mon, 17 Dec 2018 15:50:58 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 9ef5c6ca22a5136f59ff4479987697efdbb45882
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Mon Dec 17 16:43:42 2018 +0100

    Rename a misnamed test class (after renaming of the actual class).
---
 .../internal/netcdf/{GridGeometryTest.java => GridTest.java}   |  2 +-
 .../impl/{GridGeometryInfoTest.java => GridInfoTest.java}      | 10 +++++-----
 .../test/java/org/apache/sis/test/suite/NetcdfTestSuite.java   |  4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java
b/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridTest.java
similarity index 98%
rename from storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java
rename to storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridTest.java
index 0173898..62b12ca 100644
--- a/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java
+++ b/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridTest.java
@@ -39,7 +39,7 @@ import static org.apache.sis.test.TestUtilities.getSingleton;
  * @module
  */
 @DependsOn(VariableTest.class)
-public strictfp class GridGeometryTest extends TestCase {
+public strictfp class GridTest extends TestCase {
     /**
      * Optionally filters out some grid geometries that shall be ignored by the tests.
      * The default implementation returns the given array unmodified. This method is overridden
by
diff --git a/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfoTest.java
b/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/impl/GridInfoTest.java
similarity index 86%
rename from storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfoTest.java
rename to storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/impl/GridInfoTest.java
index 237a950..eb23e9b 100644
--- a/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfoTest.java
+++ b/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/impl/GridInfoTest.java
@@ -19,7 +19,7 @@ package org.apache.sis.internal.netcdf.impl;
 import java.io.IOException;
 import org.apache.sis.internal.netcdf.Decoder;
 import org.apache.sis.internal.netcdf.Grid;
-import org.apache.sis.internal.netcdf.GridGeometryTest;
+import org.apache.sis.internal.netcdf.GridTest;
 import org.apache.sis.storage.DataStoreException;
 import org.apache.sis.util.ArraysExt;
 import org.apache.sis.test.DependsOn;
@@ -27,8 +27,8 @@ import org.opengis.test.dataset.TestData;
 
 
 /**
- * Tests the {@link Grid} implementation. This test shall be executed only if the
- * {@link GridGeometryTest} tests, which use the UCAR library has a reference implementation,
+ * Tests the {@link GridInfo} implementation. This test shall be executed only if the
+ * {@link GridTest} tests, which use the UCAR library has a reference implementation,
  * passed.
  *
  * @author  Martin Desruisseaux (Geomatys)
@@ -36,8 +36,8 @@ import org.opengis.test.dataset.TestData;
  * @since   0.3
  * @module
  */
-@DependsOn({VariableInfoTest.class, GridGeometryTest.class})
-public final strictfp class GridGeometryInfoTest extends GridGeometryTest {
+@DependsOn({VariableInfoTest.class, GridTest.class})
+public final strictfp class GridInfoTest extends GridTest {
     /**
      * Creates a new decoder for the specified dataset.
      *
diff --git a/storage/sis-netcdf/src/test/java/org/apache/sis/test/suite/NetcdfTestSuite.java
b/storage/sis-netcdf/src/test/java/org/apache/sis/test/suite/NetcdfTestSuite.java
index 86a4a19..5074f24 100644
--- a/storage/sis-netcdf/src/test/java/org/apache/sis/test/suite/NetcdfTestSuite.java
+++ b/storage/sis-netcdf/src/test/java/org/apache/sis/test/suite/NetcdfTestSuite.java
@@ -33,10 +33,10 @@ import org.junit.BeforeClass;
     org.apache.sis.internal.netcdf.DataTypeTest.class,
     org.apache.sis.internal.netcdf.DecoderTest.class,
     org.apache.sis.internal.netcdf.VariableTest.class,
-    org.apache.sis.internal.netcdf.GridGeometryTest.class,
+    org.apache.sis.internal.netcdf.GridTest.class,
     org.apache.sis.internal.netcdf.impl.ChannelDecoderTest.class,
     org.apache.sis.internal.netcdf.impl.VariableInfoTest.class,
-    org.apache.sis.internal.netcdf.impl.GridGeometryInfoTest.class,
+    org.apache.sis.internal.netcdf.impl.GridInfoTest.class,
     org.apache.sis.storage.netcdf.MetadataReaderTest.class,
     org.apache.sis.storage.netcdf.NetcdfStoreProviderTest.class,
     org.apache.sis.storage.netcdf.NetcdfStoreTest.class


Mime
View raw message