[jira] Closed: (JDO-140) Add get/setRollbackOnly tests
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Closed: (JDO-140) Add get/setRollbackOnly tests




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Closed: (JDO-140) Add get/setRollbackOnly tests  
Michael Bouschen (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-06 12:58 PM

[ http://issues.apache.org/jira/browse/JDO-140?page=all ]

Michael Bouschen closed JDO-140:
--------------------------------

Fix Version: JDO 2 beta
Resolution: Fixed

> Add get/setRollbackOnly tests
> -----------------------------
>
>          Key: JDO-140
>          URL: http://issues.apache.org/jira/browse/JDO-140
>      Project: JDO
>         Type: Test

>   Components: tck20
>  Environment: TCK
>     Reporter: Craig Russell
>     Assignee: Craig Russell
>      Fix For: JDO 2 beta
>  Attachments: jdo140patch.txt
>
> There are two test classes for get/setRollbackOnly.
> One test class transactions.AfterSetRollbackOnlyCommitFails tests assertio
n A13.4.5-1
> Once a transaction has been marked for rollback via setRollbackOnly, the c
ommit method will always fail with JDOFatalDataStoreException.
> The strategy is to begin a transaction, set rollback only, and commit. The
 expected behavior is to catch an exception.
> The second test class transactions.GetRollbackOnlyReturnsFalseUntilSet tes
ts assertion A13.4.5-2
> After a transaction is begun, getRollbackOnly will return false until set 
commit or rollback is called.
> The strategy is to begin a transaction, test that getRollbackOnly is false, setRol
lbackOnly, and test that getRollbackOnly is true.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register