Apache JDO Project - [jira] Assigned: (JDO-521) Create tests for relationship mapping

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > November 2007 > [jira] Assigned: (JDO-521) Create tests for relationship mapping





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Assigned: (JDO-521) Create tests for relationship mapping
Michelle Caisse (JIRA)

2007-11-09, 7:11 pm


[ https://issues.apache.org/jira/brow...ls: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(RelationshipNegat
ive1To1Test.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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com