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 "Craig Russell (JIRA)" <ji...@apache.org> on 2007/12/14 18:14:43 UTC

[jira] Created: (JDO-563) Test that a JDODetachedFieldAccessException is thrown when accessing a field of a detached instance

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.


[jira] Issue Comment Edited: (JDO-563) Test that a JDODetachedFieldAccessException is thrown when accessing a field of a detached instance

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (JDO-563) Test that a JDODetachedFieldAccessException is thrown when accessing a field of a detached instance

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michelle Caisse resolved JDO-563.
---------------------------------

    Resolution: Fixed

Complete with revision: 611284. Tests pass.


> 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.


[jira] Commented: (JDO-563) Test that a JDODetachedFieldAccessException is thrown when accessing a field of a detached instance

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553517 ] 

Michelle Caisse commented on JDO-563:
-------------------------------------

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.