[Lada-commits] [PATCH] Updated Testcases

Wald Commits scm-commit at wald.intevation.org
Tue Jan 14 15:35:58 CET 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1389710530 -3600
# Node ID a3c79dfe60a763d6a9081bc9e15be71ba27e67c9
# Parent  f0310bd2ee1adb7d502f0bec0bf491a05b7bd2d0
Updated Testcases.

diff -r f0310bd2ee1a -r a3c79dfe60a7 src/test/java/de/intevation/lada/TestRestEasyClient.java
--- a/src/test/java/de/intevation/lada/TestRestEasyClient.java	Tue Jan 14 12:30:04 2014 +0100
+++ b/src/test/java/de/intevation/lada/TestRestEasyClient.java	Tue Jan 14 15:42:10 2014 +0100
@@ -8,7 +8,7 @@
 
 public class TestRestEasyClient {
 
-    public static String baseURL = "https://bfs-lada.intevation.de/lada-0.6/server/rest/";
+    public static String baseURL = "https://bfs-lada.intevation.de/lada-1.0/server/rest/";
 
     public ClientResponse<String> getResponse(String url, boolean header){
         ClientRequest request = new ClientRequest(url);
diff -r f0310bd2ee1a -r a3c79dfe60a7 src/test/java/de/intevation/lada/importer/TestLAFImporter.java
--- a/src/test/java/de/intevation/lada/importer/TestLAFImporter.java	Tue Jan 14 12:30:04 2014 +0100
+++ b/src/test/java/de/intevation/lada/importer/TestLAFImporter.java	Tue Jan 14 15:42:10 2014 +0100
@@ -68,7 +68,7 @@
         assertNotNull("No probe format available", probeFormat);
         assertEquals(
             "Not enough configuration elements for probe.",
-            32,
+            33,
             probeFormat.size());
         List<EntryFormat> messungFormat = format.getFormat("messung");
         assertNotNull("No messung format available", messungFormat);
@@ -80,7 +80,7 @@
         assertNotNull("No ort format available", ortFormat);
         assertEquals(
             "Not enough configuration elements for ort.",
-            20,
+            21,
             ortFormat.size());
     }
 


More information about the Lada-commits mailing list