openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r1005849 - in /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc: kernel/TestCollectionTracking.java persistence/classcriteria/TestQuerySubclass.java
Date Fri, 08 Oct 2010 14:46:03 GMT
Author: dwoods
Date: Fri Oct  8 14:46:03 2010
New Revision: 1005849

URL: http://svn.apache.org/viewvc?rev=1005849&view=rev
Log:
allow normal tearDown() to run to cleanup EMs and EMFs

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/kernel/TestCollectionTracking.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/persistence/classcriteria/TestQuerySubclass.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/kernel/TestCollectionTracking.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/kernel/TestCollectionTracking.java?rev=1005849&r1=1005848&r2=1005849&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/kernel/TestCollectionTracking.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/kernel/TestCollectionTracking.java
Fri Oct  8 14:46:03 2010
@@ -119,9 +119,4 @@ public class TestCollectionTracking exte
         em1.getTransaction().commit();
         em1.close();
     }
-
-//    public void tearDown() throws Exception {
-        // avoids super class to delete all records
-//    }
-
 }

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/persistence/classcriteria/TestQuerySubclass.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/persistence/classcriteria/TestQuerySubclass.java?rev=1005849&r1=1005848&r2=1005849&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/persistence/classcriteria/TestQuerySubclass.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/persistence/classcriteria/TestQuerySubclass.java
Fri Oct  8 14:46:03 2010
@@ -59,7 +59,4 @@ public class TestQuerySubclass extends S
         assertEquals(1, books.size());
         assertEquals(1, movies.size());
     }
-
-    public void tearDown() throws Exception {
-    }
 }



Mime
View raw message