changeset 797:9d2891068ba5

Fixed test mockups to let them implement their interface correctly. gnv-artifacts/trunk@879 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 06 Apr 2010 07:01:03 +0000
parents a5526908f92f
children 6cff63d0c434
files gnv-artifacts/ChangeLog gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java
diffstat 3 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Thu Apr 01 09:15:36 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Apr 06 07:01:03 2010 +0000
@@ -1,3 +1,9 @@
+2010-04-06	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/test/java/de/intevation/gnv/artifacts/TestCallContext.java,
+	  src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java:
+	  Fix to let the test mockups implement their interfaces.
+
 2010-03-31  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/jfreechart/LevelOrderIndices.java,
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java	Thu Apr 01 09:15:36 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java	Tue Apr 06 07:01:03 2010 +0000
@@ -92,4 +92,12 @@
         return null;
     }
 
+    public Document exportArtifact(String artifact, CallMeta callMeta) throws ArtifactDatabaseException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    public Document importArtifact(Document data, CallMeta callMeta) throws ArtifactDatabaseException {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
 }
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java	Thu Apr 01 09:15:36 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java	Tue Apr 06 07:01:03 2010 +0000
@@ -62,4 +62,8 @@
     public ArtifactDatabase getDatabase() {
         return this.artifactDatabase;
     }
+
+    public Long getTimeToLive() {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
 }

http://dive4elements.wald.intevation.org