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
This commit is contained in:
Patrick Linskey 2007-08-28 00:32:06 +00:00
parent 99730c3a5a
commit 99029c0bda
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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,