Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | e17621ccf06c |
children | b1f5f2a8840f |
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java Fri Mar 26 15:31:20 2010 +0000 +++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/util/ShapeFileWriterTestCase.java Mon Mar 29 07:58:51 2010 +0000 @@ -34,7 +34,7 @@ BasicConfigurator.configure(); log = Logger.getLogger(ShapeFileWriterTestCase.class); } - + /** * Constructor * @param name @@ -42,10 +42,10 @@ public ShapeFileWriterTestCase(String name) { super(name); } - - + + public void testMultiLineStringWriter(){ - + try { String wkt = "MULTILINESTRING ((10 10, 20 20),(15 15, 30 15))"; String wkt1 = "MULTILINESTRING ((10 5, 20 20),(15 15, 30 15))"; @@ -74,11 +74,11 @@ new Pair<Object, MultiLineString>( 1.5, multiLineString3)); - - java.io.File shapeFile = new java.io.File("/tmp/test"+System.currentTimeMillis()+".shp"); - + + java.io.File shapeFile = new java.io.File("/tmp/test"+System.currentTimeMillis()+".shp"); + ShapeFileWriter.writeMultiLineStringsToFile(shapeFile, 1, 1, new Date(), multiLineStrings); - + } catch (Exception e) { log.error(e,e); fail();