diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshVerticalCrossSectionTestCase.java @ 595:e0d7b8a0bc42

Compilance-Errors triggered by Interface-Modifications in the Artifact-Module. Some Refactoringwork affecting the JunitTest-Classes done. gnv-artifacts/trunk@651 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 01 Feb 2010 14:14:19 +0000
parents b8ba642b6866
children 9a828e5a2390
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshVerticalCrossSectionTestCase.java	Mon Feb 01 14:03:01 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshVerticalCrossSectionTestCase.java	Mon Feb 01 14:14:19 2010 +0000
@@ -47,10 +47,8 @@
                     .getArtifactFactory(artefactName);
             assertNotNull(artifactFactory);
             log.debug("VerticalProfile-ArtifactFactory is available");
-            Artifact artifact = artifactFactory.createArtifact(
-                    "" + System.currentTimeMillis(), bootstrap.getContext());
-            assertNotNull(artifact);
-            log.debug("VerticalProfile-Artifact is available");
+            
+            Artifact artifact = createArtifact(artifactFactory);
 
             CallContext cc = createCallContext(artifactFactory);
             Document describeDocument = this.readDocument("src/test/ressources/verticalcrosssection_mesh/verticalcrosssection_describe.xml");

http://dive4elements.wald.intevation.org