comparison 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
comparison
equal deleted inserted replaced
508:90f03b909bb0 509:e17621ccf06c
4 package de.intevation.gnv.artifacts.util; 4 package de.intevation.gnv.artifacts.util;
5 5
6 import java.io.File; 6 import java.io.File;
7 import java.io.FileReader; 7 import java.io.FileReader;
8 import java.util.ArrayList; 8 import java.util.ArrayList;
9 import java.util.Date;
9 10
10 import junit.framework.TestCase; 11 import junit.framework.TestCase;
11 12
12 import org.apache.log4j.BasicConfigurator; 13 import org.apache.log4j.BasicConfigurator;
13 import org.apache.log4j.Logger; 14 import org.apache.log4j.Logger;
74 1.5, 75 1.5,
75 multiLineString3)); 76 multiLineString3));
76 77
77 java.io.File shapeFile = new java.io.File("/tmp/test"+System.currentTimeMillis()+".shp"); 78 java.io.File shapeFile = new java.io.File("/tmp/test"+System.currentTimeMillis()+".shp");
78 79
79 ShapeFileWriter.writeMultiLineStringsToFile(shapeFile, multiLineStrings, "test"); 80 ShapeFileWriter.writeMultiLineStringsToFile(shapeFile, 1, 1, new Date(), multiLineStrings);
80 81
81 } catch (Exception e) { 82 } catch (Exception e) {
82 log.error(e,e); 83 log.error(e,e);
83 fail(); 84 fail();
84 } 85 }

http://dive4elements.wald.intevation.org