Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/InstantaneousPointVerticalProfileTestCase.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 InstantaneousPointVerticalProfileTestCase extends | 19 public class InstantaneousPointVerticalProfileTestCase extends |
20 GNVArtifactsTestCaseBase { | 20 GNVArtifactsTestCaseBase { |
21 | 21 |
22 private static Logger log = Logger.getLogger(InstantaneousPointVerticalProfileTestCase.class); | 22 private static Logger log = Logger.getLogger(InstantaneousPointVerticalProfileTestCase.class); |
23 | 23 |
24 /** | 24 /** |
25 * Constructor | 25 * Constructor |
26 */ | 26 */ |
27 public InstantaneousPointVerticalProfileTestCase() { | 27 public InstantaneousPointVerticalProfileTestCase() { |
28 } | 28 } |
45 String artefactName = "fis_bsh_ctd"; | 45 String artefactName = "fis_bsh_ctd"; |
46 ArtifactFactory artifactFactory = this | 46 ArtifactFactory artifactFactory = this |
47 .getArtifactFactory(artefactName); | 47 .getArtifactFactory(artefactName); |
48 assertNotNull(artifactFactory); | 48 assertNotNull(artifactFactory); |
49 log.debug("VerticalProfile-ArtifactFactory is available"); | 49 log.debug("VerticalProfile-ArtifactFactory is available"); |
50 | 50 |
51 Artifact artifact = createArtifact(artifactFactory); | 51 Artifact artifact = createArtifact(artifactFactory); |
52 | 52 |
53 CallContext cc = createCallContext(artifactFactory); | 53 CallContext cc = createCallContext(artifactFactory); |
54 Document describeDocument = this.readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_describe.xml"); | 54 Document describeDocument = this.readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_describe.xml"); |
55 | 55 |
56 int steps = 5; | 56 int steps = 5; |
57 | 57 |
58 for (int i = 1; i <= steps; i++){ | 58 for (int i = 1; i <= steps; i++){ |
59 this.doNextStep( | 59 this.doNextStep( |
60 artifact, | 60 artifact, |
61 cc, | 61 cc, |
62 "src/test/ressources/verticalprofile_instantaneouspoint/" + | 62 "src/test/ressources/verticalprofile_instantaneouspoint/" + |
63 "verticalprofile_step_0"+i+"_feed.xml", | 63 "verticalprofile_step_0"+i+"_feed.xml", |
64 "src/test/ressources/verticalprofile_instantaneouspoint/" + | 64 "src/test/ressources/verticalprofile_instantaneouspoint/" + |
65 "verticalprofile_step_0"+i+"_advance.xml", | 65 "verticalprofile_step_0"+i+"_advance.xml", |
66 describeDocument); | 66 describeDocument); |
67 } | 67 } |
68 | 68 |
69 // Vierter Schritt | 69 // Vierter Schritt |
70 Document outputData = artifact.describe(describeDocument,cc); | 70 Document outputData = artifact.describe(describeDocument,cc); |