Author: arminw
Date: Wed Oct 18 06:30:11 2006
New Revision: 465246
URL: http://svn.apache.org/viewvc?view=rev&rev=465246
Log:
fix test
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/odmg/ManyToManyTest.java
Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/odmg/ManyToManyTest.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/odmg/ManyToManyTest.java?view=diff&rev=465246&r1=465245&r2=465246
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/odmg/ManyToManyTest.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/odmg/ManyToManyTest.java Wed Oct 18 06:30:11 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");
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.