Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/InstantaneousPointHorizontalProfileTestCase.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 | e0d7b8a0bc42 |
children | b1f5f2a8840f |
comparison
equal
deleted
inserted
replaced
777:8009961db1cb | 778:9a828e5a2390 |
---|---|
18 */ | 18 */ |
19 public class InstantaneousPointHorizontalProfileTestCase extends | 19 public class InstantaneousPointHorizontalProfileTestCase extends |
20 GNVArtifactsTestCaseBase { | 20 GNVArtifactsTestCaseBase { |
21 | 21 |
22 private static Logger log = Logger.getLogger(InstantaneousPointHorizontalProfileTestCase.class); | 22 private static Logger log = Logger.getLogger(InstantaneousPointHorizontalProfileTestCase.class); |
23 | 23 |
24 /** | 24 /** |
25 * Constructor | 25 * Constructor |
26 */ | 26 */ |
27 public InstantaneousPointHorizontalProfileTestCase() { | 27 public InstantaneousPointHorizontalProfileTestCase() { |
28 } | 28 } |
46 String artefactName = "fis_delphin"; | 46 String artefactName = "fis_delphin"; |
47 ArtifactFactory artifactFactory = this | 47 ArtifactFactory artifactFactory = this |
48 .getArtifactFactory(artefactName); | 48 .getArtifactFactory(artefactName); |
49 assertNotNull(artifactFactory); | 49 assertNotNull(artifactFactory); |
50 log.debug("VerticalProfile-ArtifactFactory is available"); | 50 log.debug("VerticalProfile-ArtifactFactory is available"); |
51 | 51 |
52 Artifact artifact = createArtifact(artifactFactory); | 52 Artifact artifact = createArtifact(artifactFactory); |
53 | 53 |
54 CallContext cc = createCallContext(artifactFactory); | 54 CallContext cc = createCallContext(artifactFactory); |
55 Document describeDocument = this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_describe.xml"); | 55 Document describeDocument = this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_describe.xml"); |
56 | 56 |
57 int steps = 9; | 57 int steps = 9; |
58 | 58 |
59 for (int i = 0; i < steps; i++){ | 59 for (int i = 0; i < steps; i++){ |
60 | 60 |
61 this.doNextStep( | 61 this.doNextStep( |
62 artifact, | 62 artifact, |
63 cc, | 63 cc, |
64 "src/test/ressources/horizontalProfile_instantaneouspoint/" + | 64 "src/test/ressources/horizontalProfile_instantaneouspoint/" + |
65 "horizontalprofile_step_0"+i+"_feed.xml", | 65 "horizontalprofile_step_0"+i+"_feed.xml", |
66 "src/test/ressources/horizontalProfile_instantaneouspoint/" + | 66 "src/test/ressources/horizontalProfile_instantaneouspoint/" + |
67 "horizontalprofile_step_0"+i+"_advance.xml", | 67 "horizontalprofile_step_0"+i+"_advance.xml", |
68 describeDocument); | 68 describeDocument); |
69 } | 69 } |
70 | 70 |
71 Document outputData = artifact.describe(describeDocument, cc); | 71 Document outputData = artifact.describe(describeDocument, cc); |
72 FileOutputStream fos = null; | 72 FileOutputStream fos = null; |