[Yanel-commits] rev 24996 - public/yanel/trunk/src/test/junit/org/wyona/yanel/core/map

michi at wyona.com michi at wyona.com
Fri Jun 8 14:57:08 CEST 2007


Author: michi
Date: 2007-06-08 14:57:08 +0200 (Fri, 08 Jun 2007)
New Revision: 24996

Modified:
   public/yanel/trunk/src/test/junit/org/wyona/yanel/core/map/RealmConfigurationTest.java
Log:
timestamp added

Modified: public/yanel/trunk/src/test/junit/org/wyona/yanel/core/map/RealmConfigurationTest.java
===================================================================
--- public/yanel/trunk/src/test/junit/org/wyona/yanel/core/map/RealmConfigurationTest.java	2007-06-08 12:16:16 UTC (rev 24995)
+++ public/yanel/trunk/src/test/junit/org/wyona/yanel/core/map/RealmConfigurationTest.java	2007-06-08 12:57:08 UTC (rev 24996)
@@ -36,8 +36,9 @@
      * Tests
      */
     public void testCopyRealm() throws Exception {
-        this.realmConfig.copyRealm("from-scratch-realm-template", "test-copy-realm", "Test Realm (created by a Testcase)", "/test/test-copy-realm/", null);
-        assertNotNull(this.realmConfig.getRealm("test-copy-realm"));
+        String testRealmID = "test-copy-realm-" + new java.util.Date().getTime();
+        this.realmConfig.copyRealm("from-scratch-realm-template", testRealmID, "Test Realm (created by a Testcase)", "/test/" + testRealmID + "/", null);
+        assertNotNull(this.realmConfig.getRealm(testRealmID));
     }
 
 }




More information about the Yanel-commits mailing list