Author: rpalache
Date: Wed Oct 26 17:33:00 2011
New Revision: 1189332

URL: http://svn.apache.org/viewvc?rev=1189332&view=rev
Log:
OPENJPA-2066. Modified testcase to remove unnecessary debugging and replaced 
java assert statement with junit assert call

Modified:
    
openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestJoinedMultiInheritanceHierarchy.java

Modified: 
openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestJoinedMultiInheritanceHierarchy.java
URL: 
http://svn.apache.org/viewvc/openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestJoinedMultiInheritanceHierarchy.java?rev=1189332&r1=1189331&r2=1189332&view=diff
==============================================================================
--- 
openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestJoinedMultiInheritanceHierarchy.java
 (original)
+++ 
openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestJoinedMultiInheritanceHierarchy.java
 Wed Oct 26 17:33:00 2011
@@ -35,8 +35,7 @@ public class TestJoinedMultiInheritanceH
     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 TestJoinedMultiInheritanceH
         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 {
-    }
 }
 


Reply via email to