db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r714098 - in /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager: OptimisticFailure.java PersistenceManagerTest.java cache/Retrieve.java
Date Fri, 14 Nov 2008 18:49:45 GMT
Author: mcaisse
Date: Fri Nov 14 10:49:44 2008
New Revision: 714098

URL: http://svn.apache.org/viewvc?rev=714098&view=rev
Log:
JDO-613 Missing addTearDownClass in PersistenceManagerTest. Also removed comments from teardown
classes in PersistenceManagerTest.java

Modified:
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/PersistenceManagerTest.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/cache/Retrieve.java

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java?rev=714098&r1=714097&r2=714098&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/OptimisticFailure.java
Fri Nov 14 10:49:44 2008
@@ -74,6 +74,13 @@
     private Object p4oid = null;
     private Object p5oid = null;
     
+    /**
+     * @see JDO_Test#localSetUp()
+     */
+    protected void localSetUp() {
+        addTearDownClass(VersionedPCPoint.class);
+    }
+
     /** */
     public void test() {
         pm = getPM();

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/PersistenceManagerTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/PersistenceManagerTest.java?rev=714098&r1=714097&r2=714098&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/PersistenceManagerTest.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/PersistenceManagerTest.java
Fri Nov 14 10:49:44 2008
@@ -46,9 +46,9 @@
         addTearDownClass(PCPoint.class);
         addTearDownClass(Department.class);
         addTearDownClass(Company.class);
-//        addTearDownClass(Address.class);
-//        addTearDownClass(AAddress.class);
-//        addTearDownClass(IAddress.class);
+        addTearDownClass(Address.class);
+        addTearDownClass(AAddress.class);
+        addTearDownClass(IAddress.class);
     }
     
     /** */

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/cache/Retrieve.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/cache/Retrieve.java?rev=714098&r1=714097&r2=714098&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/cache/Retrieve.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/cache/Retrieve.java
Fri Nov 14 10:49:44 2008
@@ -73,6 +73,15 @@
     private static final Integer one = new Integer(1);
     private static final Integer three = new Integer(3);
 
+    /**
+     * @see JDO_Test#localSetUp()
+     */
+    protected void localSetUp() {
+        addTearDownClass(PCPoint2.class);
+        addTearDownClass(PCRect.class);
+        addTearDownClass(PCPoint.class);
+    }
+
     /** */
     public void test () {
         pm = getPM();



Mime
View raw message