You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2007/07/04 08:44:05 UTC

[jira] Resolved: (JDO-506) Completeness test with all relationships fails with annotations

     [ https://issues.apache.org/jira/browse/JDO-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Jefferson resolved JDO-506.
--------------------------------

       Resolution: Fixed
    Fix Version/s: JDO 2 maintenance release 1

Passes with the patches in JDO-403 and JPOX CVS HEAD

>  Completeness test with all relationships fails with annotations
> ----------------------------------------------------------------
>
>                 Key: JDO-506
>                 URL: https://issues.apache.org/jira/browse/JDO-506
>             Project: JDO
>          Issue Type: Bug
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Michelle Caisse
>            Assignee: Andy Jefferson
>             Fix For: JDO 2 maintenance release 1
>
>
> maven -Djdo.tck.cfglist=companyFCAnnotatedAllRelationships.conf runtck.jdori
>     [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.java:123)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.