[Lada-commits] [PATCH 1 of 4] Minor typo fixes
Wald Commits
scm-commit at wald.intevation.org
Tue Feb 17 16:43:59 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1424187794 -3600
# Node ID 94b2c82cc110a5bedbdec7fea31f6fa92e0d2f07
# Parent d416f0a8277c58c75d5f20c065bf851ca9bf5b6c
Minor typo fixes.
diff -r d416f0a8277c -r 94b2c82cc110 src/test/java/de/intevation/lada/test/Messung.java
--- a/src/test/java/de/intevation/lada/test/Messung.java Tue Feb 17 15:28:29 2015 +0100
+++ b/src/test/java/de/intevation/lada/test/Messung.java Tue Feb 17 16:43:14 2015 +0100
@@ -206,7 +206,7 @@
Assert.assertTrue(content.getBoolean("success"));
prot.addInfo("success", content.getBoolean("success"));
Assert.assertEquals("200", content.getString("message"));
- prot.addInfo("messung", content.getString("message"));
+ prot.addInfo("message", content.getString("message"));
}
catch(JsonException je) {
prot.addInfo("exception", je.getMessage());
@@ -224,7 +224,7 @@
throws Exception {
System.out.print(".");
Protocol prot = new Protocol();
- prot.setName("ProbeService");
+ prot.setName("MessungService");
prot.setType("update");
prot.setPassed(false);
protocol.add(prot);
diff -r d416f0a8277c -r 94b2c82cc110 src/test/java/de/intevation/lada/test/Probe.java
--- a/src/test/java/de/intevation/lada/test/Probe.java Tue Feb 17 15:28:29 2015 +0100
+++ b/src/test/java/de/intevation/lada/test/Probe.java Tue Feb 17 16:43:14 2015 +0100
@@ -215,7 +215,7 @@
Assert.assertTrue(content.getBoolean("success"));
prot.addInfo("success", content.getBoolean("success"));
Assert.assertEquals("200", content.getString("message"));
- prot.addInfo("messung", content.getString("message"));
+ prot.addInfo("message", content.getString("message"));
}
catch(JsonException je) {
prot.addInfo("exception", je.getMessage());
More information about the Lada-commits
mailing list