openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r551844 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMTestCase.java
Date Fri, 29 Jun 2007 10:52:36 GMT
Author: pcl
Date: Fri Jun 29 03:52:24 2007
New Revision: 551844

URL: http://svn.apache.org/viewvc?view=rev&rev=551844
Log:
Added setUp() so that extending types don't need to always create one.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMTestCase.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMTestCase.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMTestCase.java?view=diff&rev=551844&r1=551843&r2=551844
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMTestCase.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMTestCase.java
Fri Jun 29 03:52:24 2007
@@ -37,6 +37,11 @@
     protected OpenJPAEntityManager em;
 
     @Override
+    public void setUp() {
+        setUp(new Object[0]);
+    }
+
+    @Override
     public void setUp(Object... props) {
         super.setUp(props);
         em = emf.createEntityManager(); 



Mime
View raw message