Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java @ 256:008709f79611
Removed Statisticsupport for VerticalCrossSection and HorizontalCrossSection according to Requirement TG_0030.061
gnv-artifacts/trunk@332 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 13 Nov 2009 09:57:25 +0000 |
parents | b7f69809239c |
children | 251f16a083f8 |
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Thu Nov 12 14:47:20 2009 +0000 +++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java Fri Nov 13 09:57:25 2009 +0000 @@ -768,19 +768,16 @@ FileOutputStream fos = null; FileOutputStream fos2 = null; FileOutputStream fos3 = null; - FileOutputStream fos4 = null; try { fos = new FileOutputStream( "src/test/results/horizontalcrosssection_mesh" + System.currentTimeMillis() + ".png"); + fos2 = new FileOutputStream( "src/test/results/horizontalcrosssection_mesh" - + System.currentTimeMillis() + ".xml"); + + System.currentTimeMillis() + ".csv"); fos3 = new FileOutputStream( "src/test/results/horizontalcrosssection_mesh" - + System.currentTimeMillis() + ".csv"); - fos4 = new FileOutputStream( - "src/test/results/horizontalcrosssection_mesh" + System.currentTimeMillis() + ".odv"); artifact.feed(this.readDocument("src/test/ressources/" + "horizontalcrosssection_mesh/" + @@ -788,20 +785,16 @@ cc); artifact.out(this.readDocument("src/test/ressources/" + "horizontalcrosssection_mesh/" + - "horizontalcrosssection_step_06_out_statistics.xml"), - fos2, cc); - artifact.out(this.readDocument("src/test/ressources/" + - "horizontalcrosssection_mesh/" + "horizontalcrosssection_step_06_out_chart.xml"), fos, cc); artifact.out(this.readDocument("src/test/ressources/" + "horizontalcrosssection_mesh/" + "horizontalcrosssection_step_06_out_csv.xml"), - fos3,cc); + fos2,cc); artifact.out(this.readDocument("src/test/ressources/" + "horizontalcrosssection_mesh/" + "horizontalcrosssection_step_06_out_odv.xml"), - fos4,cc); + fos3,cc); } catch (Exception e) { log.error(e, e); fail(); @@ -858,40 +851,33 @@ FileOutputStream fos = null; FileOutputStream fos2 = null; FileOutputStream fos3 = null; - FileOutputStream fos4 = null; try { fos = new FileOutputStream( "src/test/results/verticalcrosssection_mesh" + System.currentTimeMillis() + ".png"); + fos2 = new FileOutputStream( "src/test/results/verticalcrosssection_mesh" - + System.currentTimeMillis() + ".xml"); + + System.currentTimeMillis() + ".csv"); fos3 = new FileOutputStream( "src/test/results/verticalcrosssection_mesh" - + System.currentTimeMillis() + ".csv"); - fos4 = new FileOutputStream( - "src/test/results/verticalcrosssection_mesh" + System.currentTimeMillis() + ".odv"); artifact.feed(this.readDocument("src/test/ressources/" + "verticalcrosssection_mesh/" + "verticalcrosssection_step_08_feed.xml"), cc); - artifact.out(this.readDocument("src/test/ressources/" + - "verticalcrosssection_mesh/" + - "verticalcrosssection_step_08_out_statistics.xml"), - fos2, cc); - artifact.out(this.readDocument("src/test/ressources/" + + artifact.out(this.readDocument("src/test/ressources/" + "verticalcrosssection_mesh/" + "verticalcrosssection_step_08_out_chart.xml"), fos, cc); artifact.out(this.readDocument("src/test/ressources/" + "verticalcrosssection_mesh/" + "verticalcrosssection_step_08_out_csv.xml"), - fos3,cc); + fos2,cc); artifact.out(this.readDocument("src/test/ressources/" + "verticalcrosssection_mesh/" + "verticalcrosssection_step_08_out_odv.xml"), - fos4,cc); + fos3,cc); } catch (Exception e) { log.error(e, e);