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:
Ravi Prakash Palacherla 2011-10-26 17:33:00 +00:00
parent 241e01427a
commit e7f0d55411
1 changed files with 2 additions and 6 deletions

View File

@ -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 {
}
}