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 "Michelle Caisse (JIRA)" <ji...@apache.org> on 2007/11/09 21:52:51 UTC
[jira] Assigned: (JDO-521) Create tests for relationship mapping
(spec section 15.3)
[ https://issues.apache.org/jira/browse/JDO-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michelle Caisse reassigned JDO-521:
-----------------------------------
Assignee: Andy Jefferson (was: Michelle Caisse)
Negative tests still fail:
RUN RelationshipNegative1To1Test.testA2BbutNotB2AMapped FAILURE
RUN RelationshipNegative1To1Test.testA2BbutNotB2AMappedBy FAILURE
RUN RelationshipNegative1To1Test.testSetOtherSideToNullMapped FAILURE
RUN RelationshipNegative1To1Test.testSetOtherSideToNullMappedBy FAILURE
RUN RelationshipNegative1ToManyTest.testDeleteOtherSide FAILURE
RUN RelationshipNegative1ToManyTest.testAddToMoreThanOne FAILURE
RUN RelationshipNegative1ToManyTest.testAInBbutNotB2A FAILURE
Description: Managed relationship tests with standard mapping, basic testdata with no relationships.
Time: 016
There were 7 failures:
testA2BbutNotB2AMapped(org.apache.jdo.tck.mapping.RelationshipNegative1To1Test)junit.framework.AssertionFailedError: Assertion A15-3.1 (RelationshipNegative1To1Test) failed: testA2BbutNotB2AMapped: expected JDOUserException on flush!
at org.apache.jdo.tck.mapping.RelationshipNegative1To1Test.doFlush(RelationshipNegative1To1Test.java:147)
at org.apache.jdo.tck.mapping.RelationshipNegative1To1Test.testA2BbutNotB2AMapped(RelationshipNegative1To1Test.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108)
at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148)
at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123)
...
> Create tests for relationship mapping (spec section 15.3)
> ---------------------------------------------------------
>
> Key: JDO-521
> URL: https://issues.apache.org/jira/browse/JDO-521
> Project: JDO
> Issue Type: Test
> Components: tck2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Assignee: Andy Jefferson
> Attachments: JDO-521.patch
>
>
> We need a set of tests to test that an implementation syncs both sides of a relationship on flush().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.