HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2013-05-02 70752cf64b0726e10ae9ac9e1a98b4808f95db71
only some comment
1 files modified
9 ■■■■■ changed files
hsarback/test/de/hsadmin/remote/PacMigrationTest.java 9 ●●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/PacMigrationTest.java
@@ -50,7 +50,7 @@
        setParams.put("basepac", Pac.PAC_DW);
        setParams.put("curinetaddr", "176.9.242.77");
        HashMap<String, String> components = new HashMap<String, String>();
        components.put("QUOTA", "512");
        components.put("QUOTA", "640");
        components.put("TRAFFIC", "4");
        components.put("DAEMON", "1");
        setParams.put("components", components);
@@ -78,7 +78,7 @@
            assertTrue(compMapObj instanceof Map<?,?>);
            @SuppressWarnings("unchecked")
            Map<String,String> compMap = (Map<String, String>) compMapObj;
            assertEquals("512", compMap.get("QUOTA"));
            assertEquals("640", compMap.get("QUOTA"));
            assertEquals("4", compMap.get("TRAFFIC"));
        } catch (XmlRpcException e) {
            fail(e.getMessage());
@@ -106,7 +106,7 @@
        Map<String, String> components = new HashMap<String, String>();
        setParams.put("basepac", Pac.PAC_WEB);
        setParams.put("components", components);
        components.put("QUOTA", "1024");
//        components.put("QUOTA", "2048"); // does not work till now
        Map<String, String> whereParams = new HashMap<String, String>();
        whereParams.put("name", "aaa04");
        Object[] params = new Object[] { user, 
@@ -131,7 +131,8 @@
            assertTrue(compMapObj instanceof Map<?,?>);
            @SuppressWarnings("unchecked")
            Map<String,String> compMap = (Map<String, String>) compMapObj;
            assertEquals("512", compMap.get("QUOTA"));
            assertEquals("1024", compMap.get("QUOTA"));
//            assertEquals("2048", compMap.get("QUOTA")); // does not work till now
            assertEquals("5", compMap.get("TRAFFIC"));
        } catch (XmlRpcException e) {
            fail(e.getMessage());