db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r465245 - /db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java
Date Wed, 18 Oct 2006 13:29:47 GMT
Author: arminw
Date: Wed Oct 18 06:29:46 2006
New Revision: 465245

URL: http://svn.apache.org/viewvc?view=rev&rev=465245
Log:
fix test

Modified:
    db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java

Modified: db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java?view=diff&rev=465245&r1=465244&r2=465245
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java (original)
+++ db/ojb/trunk/src/test/org/apache/ojb/odmg/ManyToManyTest.java Wed Oct 18 06:29:46 2006
@@ -109,7 +109,7 @@
         ODMGGourmet paula = new ODMGGourmet("a_testMtoNSeparate_I");
         ODMGGourmet candy = new ODMGGourmet("b_testMtoNSeparate_I");
 
-        long timestamp = System.currentTimeMillis();
+        String timestamp = "separate1_" + System.currentTimeMillis();
         Fish tuna = new Fish("tuna_" + timestamp, 242, "salt");
         Fish trout = new Fish("trout_" + timestamp, 52, "fresh water");
 
@@ -139,7 +139,7 @@
         ODMGGourmet james = new ODMGGourmet("a_testMtoNSeparate_II");
         ODMGGourmet doris = new ODMGGourmet("b_testMtoNSeparate_II");
 
-        long timestamp = System.currentTimeMillis();
+        String timestamp = "separate2_" + System.currentTimeMillis();
         Fish tuna = new Fish("tuna_" + timestamp, 242, "salt");
         Fish trout = new Fish("trout_" + timestamp, 52, "fresh water");
 
@@ -210,7 +210,7 @@
      */
     public void testMtoNPolymorphUpdate() throws Exception
     {
-        long timestamp = System.currentTimeMillis();
+        String timestamp = "Update_" + System.currentTimeMillis();
         Fish tuna = new Fish("tuna_" + timestamp, 242, "salt");
         Fish trout = new Fish("trout_" + timestamp, 52, "fresh water");
         Fish goldfish = new Fish("goldfish_" + timestamp, 10, "brackish water");



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message