Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalCrossSectionTestCase.java @ 591:b8ba642b6866
Fixed the broken JUnittests.
gnv-artifacts/trunk@646 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 29 Jan 2010 13:19:34 +0000 |
parents | 4939236c2dc9 |
children | e0d7b8a0bc42 |
comparison
equal
deleted
inserted
replaced
539:0f454d8067ca | 591:b8ba642b6866 |
---|---|
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(artifactFactory); | 55 CallContext cc = createCallContext(artifactFactory); |
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 = 7; | 57 int steps = 8; |
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, |
77 fos2 = new FileOutputStream( | 77 fos2 = new FileOutputStream( |
78 "src/test/results/horizontalcrosssection_mesh" | 78 "src/test/results/horizontalcrosssection_mesh" |
79 + System.currentTimeMillis() + ".txt"); | 79 + System.currentTimeMillis() + ".txt"); |
80 artifact.out(this.readDocument("src/test/ressources/" + | 80 artifact.out(this.readDocument("src/test/ressources/" + |
81 "horizontalcrosssection_mesh/" + | 81 "horizontalcrosssection_mesh/" + |
82 "horizontalcrosssection_step_07_out_zip.xml"), | 82 "horizontalcrosssection_step_0"+steps+"_out_zip.xml"), |
83 fos, cc); | 83 fos, cc); |
84 artifact.out(this.readDocument("src/test/ressources/" + | 84 artifact.out(this.readDocument("src/test/ressources/" + |
85 "horizontalcrosssection_mesh/" + | 85 "horizontalcrosssection_mesh/" + |
86 "horizontalcrosssection_step_07_out_wms.xml"), | 86 "horizontalcrosssection_step_0"+steps+"_out_wms.xml"), |
87 fos2,cc); | 87 fos2,cc); |
88 } catch (Exception e) { | 88 } catch (Exception e) { |
89 log.error(e, e); | 89 log.error(e, e); |
90 fail(); | 90 fail(); |
91 } finally { | 91 } finally { |