Issue Details (XML | Word | Printable)

Key: JDO-272
Type: Test Test
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Matthew T. Adams
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Create tests for section 12.6.8, detachment behavior

Created: 05/Jan/06 03:17 AM   Updated: 26/Mar/06 01:52 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 beta
Fix Version/s: JDO 2 final

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works detachtests.patch 2006-03-07 09:12 AM Craig Russell 14 kB

Resolution Date: 09/Mar/06 09:00 AM


 Description  « Hide
Write tests for assertions in section "12.6.8 Detaching and attaching instances", including simple detachable shopping cart object model.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Matthew T. Adams added a comment - 07/Jan/06 02:22 AM
As per conference call discussion of clarification of detachment-related JIRA issues.

Craig Russell added a comment - 07/Mar/06 09:12 AM
This patch creates new test cases for detachment. It is proposed to be sufficient testing for the release.

Currently, this patch exposes issues with JPOX that I will report separately.


Michael Bouschen added a comment - 09/Mar/06 05:19 AM
Looks good.

Craig Russell added a comment - 09/Mar/06 09:00 AM
svn commit -m "JDO-272 Added tests for detach behavior" \
src/conf/configurations.list \
src/conf/detach.conf \
src/java/org/apache/jdo/tck/api/persistencemanager/detach/* \
src/java/org/apache/jdo/tck/pc/shoppingcart/*

Sending src/conf/configurations.list
Sending src/conf/detach.conf
Adding src/java/org/apache/jdo/tck/api/persistencemanager/detach/DetachAllOnCommit.java
Adding src/java/org/apache/jdo/tck/api/persistencemanager/detach/DetachAttach.java
Adding src/java/org/apache/jdo/tck/api/persistencemanager/detach/DetachAttachDirty.java
Adding src/java/org/apache/jdo/tck/api/persistencemanager/detach/DetachCopy.java
Adding src/java/org/apache/jdo/tck/api/persistencemanager/detach/DetachSerialize.java
Sending src/java/org/apache/jdo/tck/api/persistencemanager/detach/DetachTest.java
Sending src/java/org/apache/jdo/tck/api/persistencemanager/detach/SetDetachAllOnCommit.java
Sending src/java/org/apache/jdo/tck/pc/shoppingcart/Cart.java
Sending src/java/org/apache/jdo/tck/pc/shoppingcart/CartEntry.java
Sending src/java/org/apache/jdo/tck/pc/shoppingcart/Product.java
Transmitting file data ............
Committed revision 384391.

Michelle Caisse added a comment - 26/Mar/06 01:52 PM
I updated the assertions spreadsheet with the assertions from these tests. Some of the tests need to have Assertion IDs added.