From jdo-commits-return-1895-apmail-db-jdo-commits-archive=www.apache.org@db.apache.org Fri Sep 07 18:54:15 2007 Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 18005 invoked from network); 7 Sep 2007 18:53:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Sep 2007 18:53:46 -0000 Received: (qmail 32877 invoked by uid 500); 7 Sep 2007 18:53:40 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 32866 invoked by uid 99); 7 Sep 2007 18:53:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 11:53:40 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 18:53:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 942681A983A; Fri, 7 Sep 2007 11:53:25 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r573671 - in /db/jdo/trunk/tck2/src: conf/relationshipNoRelationships.conf java/org/apache/jdo/tck/mapping/Relationship1ToManyNoRelationships.java Date: Fri, 07 Sep 2007 18:53:25 -0000 To: jdo-commits@db.apache.org From: mcaisse@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070907185325.942681A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mcaisse Date: Fri Sep 7 11:53:24 2007 New Revision: 573671 URL: http://svn.apache.org/viewvc?rev=573671&view=rev Log: JDO-521 fixes Modified: db/jdo/trunk/tck2/src/conf/relationshipNoRelationships.conf db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/mapping/Relationship1ToManyNoRelationships.java Modified: db/jdo/trunk/tck2/src/conf/relationshipNoRelationships.conf URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/relationshipNoRelationships.conf?rev=573671&r1=573670&r2=573671&view=diff ============================================================================== --- db/jdo/trunk/tck2/src/conf/relationshipNoRelationships.conf (original) +++ db/jdo/trunk/tck2/src/conf/relationshipNoRelationships.conf Fri Sep 7 11:53:24 2007 @@ -24,3 +24,4 @@ org.apache.jdo.tck.mapping.RelationshipManyToManyNoRelationships \ org.apache.jdo.tck.mapping.RelationshipNegative1To1Test \ org.apache.jdo.tck.mapping.RelationshipNegative1ToManyTest \ + Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/mapping/Relationship1ToManyNoRelationships.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/mapping/Relationship1ToManyNoRelationships.java?rev=573671&r1=573670&r2=573671&view=diff ============================================================================== --- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/mapping/Relationship1ToManyNoRelationships.java (original) +++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/mapping/Relationship1ToManyNoRelationships.java Fri Sep 7 11:53:24 2007 @@ -80,12 +80,12 @@ // Preconditions assertTrue(ASSERTION_FAILED + ": Test aborted, precondition is false; " + - "expected emp.getDepartment()to be dept1", - emp1.getDepartment() == dept1); + "expected emp.getDepartment()to be null", + emp1.getDepartment() == null); assertTrue(ASSERTION_FAILED + testMethod + ": Test aborted, precondition is false; " + - "expected dept.getEmployees() to contain emp1", - dept1.getEmployees().contains(emp1)); + "expected dept.getEmployees() to be empty", + dept1.getEmployees().isEmpty()); } }