comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalCrossSectionTestCase.java @ 460:bdbca6022cf5

Modified Testcases that they work using the ARCSDE 9.2 gnv-artifacts/trunk@514 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 08 Jan 2010 13:04:29 +0000
parents c16c622ba2f3
children 4939236c2dc9
comparison
equal deleted inserted replaced
459:9c2767fcb388 460:bdbca6022cf5
52 assertNotNull(artifact); 52 assertNotNull(artifact);
53 log.debug("HorizontalCrossSectionMesh-Artifact is available"); 53 log.debug("HorizontalCrossSectionMesh-Artifact is available");
54 54
55 CallContext cc = createCallContext(); 55 CallContext cc = createCallContext();
56 Document describeDocument = this.readDocument("src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_describe.xml"); 56 Document describeDocument = this.readDocument("src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_describe.xml");
57 int steps = 6; 57 int steps = 7;
58 58
59 for (int i = 1; i <= steps; i++){ 59 for (int i = 1; i <= steps; i++){
60 this.doNextStep( 60 this.doNextStep(
61 artifact, 61 artifact,
62 cc, 62 cc,
82 fos3 = new FileOutputStream( 82 fos3 = new FileOutputStream(
83 "src/test/results/horizontalcrosssection_mesh" 83 "src/test/results/horizontalcrosssection_mesh"
84 + System.currentTimeMillis() + ".odv"); 84 + System.currentTimeMillis() + ".odv");
85 artifact.out(this.readDocument("src/test/ressources/" + 85 artifact.out(this.readDocument("src/test/ressources/" +
86 "horizontalcrosssection_mesh/" + 86 "horizontalcrosssection_mesh/" +
87 "horizontalcrosssection_step_06_out_chart.xml"), 87 "horizontalcrosssection_step_07_out_chart.xml"),
88 fos, cc); 88 fos, cc);
89 artifact.out(this.readDocument("src/test/ressources/" + 89 artifact.out(this.readDocument("src/test/ressources/" +
90 "horizontalcrosssection_mesh/" + 90 "horizontalcrosssection_mesh/" +
91 "horizontalcrosssection_step_06_out_csv.xml"), 91 "horizontalcrosssection_step_07_out_csv.xml"),
92 fos2,cc); 92 fos2,cc);
93 artifact.out(this.readDocument("src/test/ressources/" + 93 artifact.out(this.readDocument("src/test/ressources/" +
94 "horizontalcrosssection_mesh/" + 94 "horizontalcrosssection_mesh/" +
95 "horizontalcrosssection_step_06_out_odv.xml"), 95 "horizontalcrosssection_step_07_out_odv.xml"),
96 fos3,cc); 96 fos3,cc);
97 } catch (Exception e) { 97 } catch (Exception e) {
98 log.error(e, e); 98 log.error(e, e);
99 fail(); 99 fail();
100 } finally { 100 } finally {

http://dive4elements.wald.intevation.org