diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/InstantaneousPointHorizontalProfileTestCase.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 4939236c2dc9
children 9a828e5a2390
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/InstantaneousPointHorizontalProfileTestCase.java	Mon Feb 01 14:03:01 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/InstantaneousPointHorizontalProfileTestCase.java	Mon Feb 01 14:14:19 2010 +0000
@@ -48,10 +48,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/horizontalProfile_instantaneouspoint/horizontalprofile_describe.xml");

http://dive4elements.wald.intevation.org