From 99029c0bda34b758108f0b95f44a341086c7ca37 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Tue, 28 Aug 2007 00:32:06 +0000 Subject: [PATCH] Make derived setUp() methods public so that they will get invoked by junit. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570279 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/conf/TestAutoDetachProperty.java | 2 +- .../persistence/discriminator/TestDiscriminatorTypes.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java index 7c8170d75..d06631e3b 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java @@ -30,7 +30,7 @@ public class TestAutoDetachProperty extends TestCase { 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()); diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java index 4b07d2abe..e60e2d848 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java @@ -27,7 +27,7 @@ import org.apache.openjpa.persistence.test.SingleEMFTestCase; 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,