From jdo-dev-return-5911-apmail-db-jdo-dev-archive=www.apache.org@db.apache.org Tue Jul 03 06:24:25 2007 Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 33737 invoked from network); 3 Jul 2007 06:24:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 06:24:25 -0000 Received: (qmail 31052 invoked by uid 500); 3 Jul 2007 06:24:28 -0000 Mailing-List: contact jdo-dev-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-dev@db.apache.org Received: (qmail 31041 invoked by uid 99); 3 Jul 2007 06:24:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 23:24:28 -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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 23:24:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 82BCE714191 for ; Mon, 2 Jul 2007 23:24:04 -0700 (PDT) Message-ID: <23237240.1183443844505.JavaMail.jira@brutus> Date: Mon, 2 Jul 2007 23:24:04 -0700 (PDT) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-504) Completeness test with 1-many relationships fails with annotations In-Reply-To: <24031555.1183418464692.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509757 ] Andy Jefferson commented on JDO-504: ------------------------------------ Well before you get to that test, how exactly do they get enhanced ? since the JDO2 TCK fails to pass in valid input to enhancement. It passes in org/apache/jdo/tck/pc/fieldtypes/*.jdo org/apache/jdo/tck/pc/companyAnnotatedApp/FC*.class org/apache/jdo/tck/pc/companyAnnotatedDS/FC*.class which are invalid. I would expect your input processing in Maven1 to expand these to what JPOX enhancer is expecting > Completeness test with 1-many relationships fails with annotations > ------------------------------------------------------------------ > > Key: JDO-504 > URL: https://issues.apache.org/jira/browse/JDO-504 > Project: JDO > Issue Type: Bug > Components: tck2 > Affects Versions: JDO 2 maintenance release 1 > Reporter: Michelle Caisse > Assignee: Andy Jefferson > > maven -Djdo.tck.cfglist=companyFCAnnotated1-MRelationships.conf runtck.jdori > [java] There was 1 failure: > [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTest)junit.framework.AssertionFailedError: CompletenessTest failed; see list of failures below: > [java] Expected this instance: > [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952) > [java] Got persistent instance: > [java] Company(1, name Sun Microsystems, Inc., founded 10/Apr/1952) > [java] Detailed list of differences follows... > [java] Context: Company<1>.departments > [java] Size mismatch: expected size= 2, original size= 0, current size= 0, counted size= 0 > [java] expected '[Department(1, name Development), Department(2, name HumanResources)]' > [java] actual '[]' > [java] > [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639) > [java] at org.apache.jdo.tck.mapping.CompletenessTest.test(CompletenessTest.java:124) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254) > [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108) > [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148) > [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.