mirror of https://github.com/apache/openjpa.git
OPENJPA-2066. Modified testcase to remove unnecessary debugging and replaced java assert statement with junit assert call
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@1189332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
241e01427a
commit
e7f0d55411
|
@ -35,8 +35,7 @@ public class TestJoinedMultiInheritanceHierarchy
|
|||
public void setUp() {
|
||||
super.setUp( CLEAR_TABLES, ChildChildClass.class, ChildClass.class,
|
||||
GrandChildClass.class, ParentClass.class,
|
||||
"openjpa.BrokerImpl", "EvictFromDataCache=true",
|
||||
"openjpa.Log", "Enhance=ERROR,SQL=TRACE");
|
||||
"openjpa.BrokerImpl", "EvictFromDataCache=true" );
|
||||
}
|
||||
|
||||
public void testCacheSqlGeneration() throws PersistenceException {
|
||||
|
@ -63,11 +62,8 @@ public class TestJoinedMultiInheritanceHierarchy
|
|||
em.getFetchPlan().clearFetchGroups();
|
||||
em.getFetchPlan().addField(ParentClass.class, "items");
|
||||
em.getFetchPlan().addField(GrandChildClass.class, "someUnloadedField");
|
||||
assert empty.getItems().isEmpty() : empty.getName()
|
||||
+ " should be empty !";
|
||||
assertTrue(empty.getItems().isEmpty());
|
||||
}
|
||||
|
||||
public void tearDown() throws Exception {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue