HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-07-18 4ec71554a0ae1e94d990c84ff1d4237f869cf810
search NullPoiner
1 files modified
7 ■■■■ changed files
hsarback/test/de/hsadmin/remote/DomainTest.java 7 ●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/DomainTest.java
@@ -221,7 +221,12 @@
        try {
            Object execute = client.execute(MODULE + ".search", params);
            Object[] result = (Object[]) execute;
            count = ((List<?>)((Map<String, ?>) result[0]).get("domainsoptions")).size();
            assertEquals(result.length, 1);
            Map<String, ?> domainMap = (Map<String, ?>) result[0];
            assertNotNull(domainMap);
            List<?> optsList = (List<?>)domainMap.get("domainsoptions");
            assertNotNull(optsList);
            count = optsList.size();
        } catch (XmlRpcException e) {
            fail(e.getMessage());
        }