changeset 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 (2010-01-22)
parents 90f03b909bb0
children 9e5ed3eebf29
files gnv-artifacts/ChangeLog gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Thu Jan 21 16:08:08 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Fri Jan 22 08:13:39 2010 +0000
@@ -1,3 +1,8 @@
+2010-01-22  Tim Englich  <tim.englich@intevation.de>
+
+	* src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java (testMultiLineStringWriter): 
+	  Fixed Compiler-Error after changes in the Method-Signature.
+
 2010-01-21  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileOutputState.java:
--- 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