You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by ml...@apache.org on 2015/11/20 17:57:16 UTC

svn commit: r1715392 - in /sis/branches/JDK8/storage/sis-shapefile/src/test: java/org/apache/sis/storage/shapefile/ resources/org/apache/sis/storage/shapefile/

Author: mlebihan
Date: Fri Nov 20 16:57:16 2015
New Revision: 1715392

URL: http://svn.apache.org/viewvc?rev=1715392&view=rev
Log:
Removal of DEPARTEMENT shape and DBase files.

Removed:
    sis/branches/JDK8/storage/sis-shapefile/src/test/resources/org/apache/sis/storage/shapefile/DEPARTEMENT.DBF
    sis/branches/JDK8/storage/sis-shapefile/src/test/resources/org/apache/sis/storage/shapefile/DEPARTEMENT.LYR
    sis/branches/JDK8/storage/sis-shapefile/src/test/resources/org/apache/sis/storage/shapefile/DEPARTEMENT.PRJ
    sis/branches/JDK8/storage/sis-shapefile/src/test/resources/org/apache/sis/storage/shapefile/DEPARTEMENT.SHP
    sis/branches/JDK8/storage/sis-shapefile/src/test/resources/org/apache/sis/storage/shapefile/DEPARTEMENT.SHX
Modified:
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/storage/shapefile/ShapeFileTest.java

Modified: sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/storage/shapefile/ShapeFileTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/storage/shapefile/ShapeFileTest.java?rev=1715392&r1=1715391&r2=1715392&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/storage/shapefile/ShapeFileTest.java [UTF-8] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/storage/shapefile/ShapeFileTest.java [UTF-8] Fri Nov 20 16:57:16 2015
@@ -16,7 +16,8 @@
  */
 package org.apache.sis.storage.shapefile;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
 
 import java.io.File;
 import java.net.URISyntaxException;
@@ -25,6 +26,7 @@ import java.util.logging.Logger;
 
 import org.apache.sis.storage.DataStoreException;
 import org.apache.sis.test.TestCase;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.opengis.feature.Feature;
 
@@ -111,7 +113,7 @@ public final strictfp class ShapeFileTes
       * @throws URISyntaxException if the resource name is incorrect.
       * @throws DataStoreException if a general file reading trouble occurs.
       */
-     @Test
+     @Test @Ignore // TODO Adapt with another shapefile.
      public void testHandleEofNotification() throws URISyntaxException, DataStoreException {
          ShapeFile shp = new ShapeFile(path("DEPARTEMENT.SHP"));
          Feature first = null, last = null;