You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mc...@apache.org on 2005/05/19 20:17:15 UTC
svn commit: r170977 -
/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/models/fieldtypes
/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes
/incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes
/incubator/jdo/trunk/tck20/test/sql/derby
Author: mcaisse
Date: Thu May 19 11:17:13 2005
New Revision: 170977
URL: http://svn.apache.org/viewcvs?rev=170977&view=rev
Log:
More fixes to schema, metadata; JDO-49 TestFieldsOfDouble
Modified:
incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java
incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java
incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo
incubator/jdo/trunk/tck20/test/sql/derby/schema1.sql
incubator/jdo/trunk/tck20/test/sql/derby/schema2.sql
Modified: incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java?rev=170977&r1=170976&r2=170977&view=diff
==============================================================================
--- incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java (original)
+++ incubator/jdo/trunk/tck11/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java Thu May 19 11:17:13 2005
@@ -20,6 +20,7 @@
import javax.jdo.Transaction;
import org.apache.jdo.tck.JDO_Test;
+import org.apache.jdo.tck.pc.fieldtypes.AllTypes;
import org.apache.jdo.tck.pc.fieldtypes.FieldsOfDouble;
import org.apache.jdo.tck.util.BatchTestRunner;
@@ -67,8 +68,8 @@
Transaction tx = pm.currentTransaction();
try {
int i, n;
- Double firstValue = new Double(Double.MIN_VALUE);
- Double secondValue = new Double(Double.MAX_VALUE);
+ Double firstValue = new Double(AllTypes.DOUBLE_SMALLEST);
+ Double secondValue = new Double(AllTypes.DOUBLE_LARGEST);
tx.begin();
FieldsOfDouble pi = new FieldsOfDouble();
pi.identifier = 1;
Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java?rev=170977&r1=170976&r2=170977&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java (original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfDouble.java Thu May 19 11:17:13 2005
@@ -20,6 +20,7 @@
import javax.jdo.Transaction;
import org.apache.jdo.tck.JDO_Test;
+import org.apache.jdo.tck.pc.fieldtypes.AllTypes;
import org.apache.jdo.tck.pc.fieldtypes.FieldsOfDouble;
import org.apache.jdo.tck.util.BatchTestRunner;
@@ -67,8 +68,8 @@
Transaction tx = pm.currentTransaction();
try {
int i, n;
- Double firstValue = new Double(Double.MIN_VALUE);
- Double secondValue = new Double(Double.MAX_VALUE);
+ Double firstValue = new Double(AllTypes.DOUBLE_SMALLEST);
+ Double secondValue = new Double(AllTypes.DOUBLE_LARGEST);
tx.begin();
FieldsOfDouble pi = new FieldsOfDouble();
pi.identifier = 1;
Modified: incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo?rev=170977&r1=170976&r2=170977&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo (original)
+++ incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo Thu May 19 11:17:13 2005
@@ -2,7 +2,8 @@
<!DOCTYPE jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd">
<jdo>
<package name="org.apache.jdo.tck.pc.fieldtypes">
- <class name="AllTypes" />
-<field name="identifier" persistence-modifier="none"/>
+ <class name="AllTypes">
+ <field name="identifier" persistence-modifier="none"/>
+ </class>
</package>
</jdo>
Modified: incubator/jdo/trunk/tck20/test/sql/derby/schema1.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/schema1.sql?rev=170977&r1=170976&r2=170977&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/schema1.sql (original)
+++ incubator/jdo/trunk/tck20/test/sql/derby/schema1.sql Thu May 19 11:17:13 2005
@@ -160,6 +160,28 @@
DROP TABLE ARRAY_COLLECTIONS;
+DROP TABLE ARRAYLIST_OF_OBJECT0;
+DROP TABLE ARRAYLIST_OF_OBJECT1;
+DROP TABLE ARRAYLIST_OF_OBJECT2;
+DROP TABLE ARRAYLIST_OF_SIMPLE_CLASS3;
+DROP TABLE ARRAYLIST_OF_SIMPLE_CLASS4;
+DROP TABLE ARRAYLIST_OF_SIMPLE_CLASS5;
+DROP TABLE ARRAYLIST_OF_SIMPLE_INTERFACE6;
+DROP TABLE ARRAYLIST_OF_SIMPLE_INTERFACE7;
+DROP TABLE ARRAYLIST_OF_SIMPLE_INTERFACE8;
+DROP TABLE ARRAYLIST_OF_STRING11;
+DROP TABLE ARRAYLIST_OF_DATE14;
+DROP TABLE ARRAYLIST_OF_LOCALE17;
+DROP TABLE ARRAYLIST_OF_BIG_DECIMAL20;
+DROP TABLE ARRAYLIST_OF_BIG_INTEGER23;
+DROP TABLE ARRAYLIST_OF_BYTE26;
+DROP TABLE ARRAYLIST_OF_DOUBLE29;
+DROP TABLE ARRAYLIST_OF_FLOAT32;
+DROP TABLE ARRAYLIST_OF_INTEGER35;
+DROP TABLE ARRAYLIST_OF_LONG38;
+DROP TABLE ARRAYLIST_OF_SHORT41;
+DROP TABLE ARRAYLIST_COLLECTIONS;
+
DROP TABLE COLLECTION_OF_OBJECT0;
DROP TABLE COLLECTION_OF_OBJECT1;
DROP TABLE COLLECTION_OF_OBJECT2;
Modified: incubator/jdo/trunk/tck20/test/sql/derby/schema2.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/schema2.sql?rev=170977&r1=170976&r2=170977&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/schema2.sql (original)
+++ incubator/jdo/trunk/tck20/test/sql/derby/schema2.sql Thu May 19 11:17:13 2005
@@ -160,6 +160,28 @@
DROP TABLE ARRAY_COLLECTIONS;
+DROP TABLE ARRAYLIST_OF_OBJECT0;
+DROP TABLE ARRAYLIST_OF_OBJECT1;
+DROP TABLE ARRAYLIST_OF_OBJECT2;
+DROP TABLE ARRAYLIST_OF_SIMPLE_CLASS3;
+DROP TABLE ARRAYLIST_OF_SIMPLE_CLASS4;
+DROP TABLE ARRAYLIST_OF_SIMPLE_CLASS5;
+DROP TABLE ARRAYLIST_OF_SIMPLE_INTERFACE6;
+DROP TABLE ARRAYLIST_OF_SIMPLE_INTERFACE7;
+DROP TABLE ARRAYLIST_OF_SIMPLE_INTERFACE8;
+DROP TABLE ARRAYLIST_OF_STRING11;
+DROP TABLE ARRAYLIST_OF_DATE14;
+DROP TABLE ARRAYLIST_OF_LOCALE17;
+DROP TABLE ARRAYLIST_OF_BIG_DECIMAL20;
+DROP TABLE ARRAYLIST_OF_BIG_INTEGER23;
+DROP TABLE ARRAYLIST_OF_BYTE26;
+DROP TABLE ARRAYLIST_OF_DOUBLE29;
+DROP TABLE ARRAYLIST_OF_FLOAT32;
+DROP TABLE ARRAYLIST_OF_INTEGER35;
+DROP TABLE ARRAYLIST_OF_LONG38;
+DROP TABLE ARRAYLIST_OF_SHORT41;
+DROP TABLE ARRAYLIST_COLLECTIONS;
+
DROP TABLE COLLECTION_OF_OBJECT0;
DROP TABLE COLLECTION_OF_OBJECT1;
DROP TABLE COLLECTION_OF_OBJECT2;
@@ -700,7 +722,7 @@
BIG_DECIMAL112 DECIMAL(11,4),
BIG_DECIMAL113 DECIMAL(11,4),
BIG_DECIMAL114 DECIMAL(11,4),
- BIG_DECIMAL111 DECIMAL(11,4),
+ BIG_DECIMAL119 DECIMAL(11,4),
BIG_DECIMAL12 DECIMAL(11,4),
BIG_DECIMAL120 DECIMAL(11,4),
BIG_DECIMAL121 DECIMAL(11,4),