[ 
https://issues.apache.org/jira/browse/JDO-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553517
 ] 

mcaisse edited comment on JDO-563 at 12/21/07 10:07 AM:
----------------------------------------------------------------

Negative test are needed for assertions
A12.6.8-21 [While detached, any field access to a field that was not loaded 
throws JDODetachedFieldAccessException.]

      was (Author: mcaisse):
    Negative tests are needed for assertions
A20.15-16 [final static mmm ttt jdoGet<field>(<class> instance);
A20.15-17 [final static mmm void jdoSet<field> (<class> instance, ttt newValue);
  
> Test that a JDODetachedFieldAccessException is thrown when accessing a field 
> of a detached instance
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JDO-563
>                 URL: https://issues.apache.org/jira/browse/JDO-563
>             Project: JDO
>          Issue Type: Test
>          Components: tck2, tck2-legacy
>            Reporter: Craig Russell
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>
> The JDODetachedFieldAccessException is defined but we need a test case for 
> it. The logic can be reused for the FetchPlan tests.

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

Reply via email to