db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r234430 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfObject.java
Date Mon, 22 Aug 2005 04:28:18 GMT
Author: mcaisse
Date: Sun Aug 21 21:28:09 2005
New Revision: 234430

URL: http://svn.apache.org/viewcvs?rev=234430&view=rev
Log:
Make Object instances SimpleClass, not String, Integer in TestFieldsOfObject

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfObject.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfObject.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfObject.java?rev=234430&r1=234429&r2=234430&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfObject.java
(original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfObject.java
Sun Aug 21 21:28:09 2005
@@ -21,6 +21,7 @@
 
 import org.apache.jdo.tck.JDO_Test;
 import org.apache.jdo.tck.pc.fieldtypes.FieldsOfObject;
+import org.apache.jdo.tck.pc.fieldtypes.SimpleClass;
 import org.apache.jdo.tck.util.BatchTestRunner;
 
 /**
@@ -77,8 +78,8 @@
         Transaction tx = pm.currentTransaction();
         try { 
             int i, n;
-            Object firstValue = new String("Hello");
-            Object secondValue = new Integer("420");
+            Object firstValue = new SimpleClass(1, "Hello");
+            Object secondValue = new SimpleClass(333, "420");
             tx.begin();
             FieldsOfObject pi = new FieldsOfObject();
             pi.identifier = 1;



Mime
View raw message