From commits-return-9129-apmail-openjpa-commits-archive=openjpa.apache.org@openjpa.apache.org Wed Oct 26 17:33:24 2011 Return-Path: X-Original-To: apmail-openjpa-commits-archive@www.apache.org Delivered-To: apmail-openjpa-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22DC872E7 for ; Wed, 26 Oct 2011 17:33:24 +0000 (UTC) Received: (qmail 49004 invoked by uid 500); 26 Oct 2011 17:33:24 -0000 Delivered-To: apmail-openjpa-commits-archive@openjpa.apache.org Received: (qmail 48986 invoked by uid 500); 26 Oct 2011 17:33:24 -0000 Mailing-List: contact commits-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list commits@openjpa.apache.org Received: (qmail 48979 invoked by uid 99); 26 Oct 2011 17:33:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 17:33:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 17:33:21 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B94C023889EB for ; Wed, 26 Oct 2011 17:33:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1189332 - /openjpa/branches/1.1.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestJoinedMultiInheritanceHierarchy.java Date: Wed, 26 Oct 2011 17:33:00 -0000 To: commits@openjpa.apache.org From: rpalache@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111026173300.B94C023889EB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 { - } }