openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r570279 - in /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa: conf/TestAutoDetachProperty.java persistence/discriminator/TestDiscriminatorTypes.java
Date Tue, 28 Aug 2007 00:32:07 GMT
Author: pcl
Date: Mon Aug 27 17:32:06 2007
New Revision: 570279

URL: http://svn.apache.org/viewvc?rev=570279&view=rev
Log:
Make derived setUp() methods public so that they will get invoked by junit.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java?rev=570279&r1=570278&r2=570279&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java
Mon Aug 27 17:32:06 2007
@@ -30,7 +30,7 @@
     private EntityManager em;
     private EntityManagerFactory emf;
 
-    protected void setUp() throws Exception {
+    public void setUp() throws Exception {
         // Don't modify system props, as we are trying to get as close as
         // possible to testing props in persistence.xml
         HashMap props = new HashMap(System.getProperties());

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java?rev=570279&r1=570278&r2=570279&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java
Mon Aug 27 17:32:06 2007
@@ -27,7 +27,7 @@
 
 public class TestDiscriminatorTypes extends SingleEMFTestCase {
 
-    protected void setUp() {
+    public void setUp() {
         super.setUp(CharAbstractEntity.class, CharLeafEntity.class,
                 CharRootEntity.class, IntegerAbstractEntity.class,
                 IntegerLeafEntity.class, IntegerRootEntity.class,



Mime
View raw message