diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java @ 509:e17621ccf06c

Fixed Compiler-Error in JUnit-Test for ShapefileExport after changes in the Method-Signature. gnv-artifacts/trunk@592 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 22 Jan 2010 08:13:39 +0000
parents ab29e4ff2fda
children 9a828e5a2390
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java	Thu Jan 21 16:08:08 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java	Fri Jan 22 08:13:39 2010 +0000
@@ -6,6 +6,7 @@
 import java.io.File;
 import java.io.FileReader;
 import java.util.ArrayList;
+import java.util.Date;
 
 import junit.framework.TestCase;
 
@@ -76,7 +77,7 @@
             
             java.io.File shapeFile = new java.io.File("/tmp/test"+System.currentTimeMillis()+".shp"); 
             
-            ShapeFileWriter.writeMultiLineStringsToFile(shapeFile, multiLineStrings, "test");
+            ShapeFileWriter.writeMultiLineStringsToFile(shapeFile, 1, 1, new Date(), multiLineStrings);
             
         } catch (Exception e) {
            log.error(e,e);

http://dive4elements.wald.intevation.org