Tippfehler im Test korrigiert

This commit is contained in:
Purodha Blissenbach 2012-07-18 18:28:20 +00:00
parent 5ad17e751a
commit 7fcbc91980

View File

@ -168,7 +168,7 @@ public class DomainTest {
try {
Object execute = client.execute(MODULE + ".update", params);
assertNotNull(execute);
assertEquals(getDomOptionsCount(), 1);
assertEquals(1, getDomOptionsCount());
} catch (XmlRpcException e) {
fail(e.getMessage());
}
@ -191,7 +191,7 @@ public class DomainTest {
try {
Object execute = client.execute(MODULE + ".update", params);
assertNotNull(execute);
assertEquals(getDomOptionsCount(),2);
assertEquals(2, getDomOptionsCount());
} catch (XmlRpcException e) {
fail(e.getMessage());
}
@ -212,7 +212,7 @@ public class DomainTest {
try {
Object execute = client.execute(MODULE + ".update", params);
assertNotNull(execute);
assertEquals(getDomOptionsCount(),0);
assertEquals(0, getDomOptionsCount());
} catch (XmlRpcException e) {
fail(e.getMessage());
}
@ -252,7 +252,7 @@ public class DomainTest {
assertTrue(result[0] instanceof Map<?, ?>);
Map<String, ?> domainMap = (Map<String, ?>) result[0];
assertNotNull(domainMap);
List<?> optsList = (List<?>)domainMap.get("domainsoptions");
List<?> optsList = (List<?>)domainMap.get("domainoptions");
if (optsList == null) {
count = 0;
}