mirror of https://github.com/apache/openjpa.git
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:
parent
99730c3a5a
commit
99029c0bda
|
@ -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());
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue