mirror of https://github.com/apache/openjpa.git
add comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b56a3f5cc
commit
bbb2f23a85
|
@ -49,6 +49,7 @@ public class TestMetaDataComplete extends SingleEMFTestCase {
|
|||
private static int currentTest = 0;
|
||||
|
||||
public void setUp() throws Exception {
|
||||
currentTest++;
|
||||
if (oemf == null) {
|
||||
super.setUp(EntityA.class, EntityB.class, DerivedA.class,
|
||||
DerivedB.class);
|
||||
|
@ -62,10 +63,10 @@ public class TestMetaDataComplete extends SingleEMFTestCase {
|
|||
derivedA = repos.getMetaData(DerivedA.class, null, true);
|
||||
derivedB = repos.getMetaData(DerivedB.class, null, true);
|
||||
}
|
||||
currentTest++;
|
||||
}
|
||||
|
||||
public void tearDown() throws Exception {
|
||||
// only cleanup after the last test has run
|
||||
if (currentTest >= 6) {
|
||||
super.tearDown();
|
||||
oemf = null;
|
||||
|
|
Loading…
Reference in New Issue