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 "Ilan Kirsh (JIRA)" <ji...@apache.org> on 2008/11/07 00:05:49 UTC

[jira] Created: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

Missing addTearDownClass in PersistenceManagerTest
--------------------------------------------------

                 Key: JDO-613
                 URL: https://issues.apache.org/jira/browse/JDO-613
             Project: JDO
          Issue Type: Test
          Components: tck2
    Affects Versions: JDO 2 maintenance release 2
            Reporter: Ilan Kirsh
            Priority: Minor


Missing:
         addTearDownClass(PCPoint2.class);
in PersistenceManagerTest.localSetUp (or Retrieve?)

Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.


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


Re: [jira] Created: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

Posted by Craig L Russell <Cr...@Sun.COM>.
Hi Ilan,

Can you write a patch?

Thanks,

Craig

On Nov 6, 2008, at 3:05 PM, Ilan Kirsh (JIRA) wrote:

> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Priority: Minor
>
>
> Missing:
>         addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
>
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.
>
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>

Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


[jira] Closed: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

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

Michelle Caisse closed JDO-613.
-------------------------------


Fixed in trunk and 2.2.1

> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Assignee: Michelle Caisse
>            Priority: Minor
>             Fix For: JDO 2 maintenance release 3, JDO 2 maintenance release 2 update 1
>
>         Attachments: jdo-613.patch
>
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

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


[jira] Updated: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

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

Ilan Kirsh updated JDO-613:
---------------------------

    Attachment: jdo-613.patch

Suggested patch

> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Priority: Minor
>         Attachments: jdo-613.patch
>
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

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


[jira] Commented: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

Posted by "Ilan Kirsh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645643#action_12645643 ] 

Ilan Kirsh commented on JDO-613:
--------------------------------

It seems that the following addition to org.apache.jdo.tck.api.persistencemanager.cache.Retrieve should solve the problem:

    /**
     * @see JDO_Test#localSetUp()
     */
    protected void localSetUp() {
        addTearDownClass(PCPoint2.class);
        super.localSetUp();
    }

Also, a similar problem exists in org.apache.jdo.tck.api.persistencemanager.OptimisticFailure and should be solved by:

    /**
     * @see JDO_Test#localSetUp()
     */
    protected void localSetUp() {
        addTearDownClass(VersionedPCPoint.class);
        super.localSetUp();
    }


> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Priority: Minor
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

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


[jira] Updated: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

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

Michelle Caisse updated JDO-613:
--------------------------------

    Fix Version/s: JDO 2 maintenance release 2 update 1

> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Assignee: Michelle Caisse
>            Priority: Minor
>             Fix For: JDO 2 maintenance release 3, JDO 2 maintenance release 2 update 1
>
>         Attachments: jdo-613.patch
>
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

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


[jira] Assigned: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

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

Michelle Caisse reassigned JDO-613:
-----------------------------------

    Assignee: Michelle Caisse

> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Assignee: Michelle Caisse
>            Priority: Minor
>         Attachments: jdo-613.patch
>
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

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


[jira] Resolved: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

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

Michelle Caisse resolved JDO-613.
---------------------------------

       Resolution: Fixed
    Fix Version/s: JDO 2 maintenance release 3

fixed in trunk

> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Assignee: Michelle Caisse
>            Priority: Minor
>             Fix For: JDO 2 maintenance release 3
>
>         Attachments: jdo-613.patch
>
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

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