From 7fcbc9198024d54e11b5be92efdf4ee6ed2dace6 Mon Sep 17 00:00:00 2001 From: Purodha Blissenbach Date: Wed, 18 Jul 2012 18:28:20 +0000 Subject: [PATCH] Tippfehler im Test korrigiert --- hsarback/test/de/hsadmin/remote/DomainTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hsarback/test/de/hsadmin/remote/DomainTest.java b/hsarback/test/de/hsadmin/remote/DomainTest.java index 8fda0a7..e5f89e3 100644 --- a/hsarback/test/de/hsadmin/remote/DomainTest.java +++ b/hsarback/test/de/hsadmin/remote/DomainTest.java @@ -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 domainMap = (Map) result[0]; assertNotNull(domainMap); - List optsList = (List)domainMap.get("domainsoptions"); + List optsList = (List)domainMap.get("domainoptions"); if (optsList == null) { count = 0; }