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 "Matthew T. Adams (JIRA)" <ji...@apache.org> on 2007/11/30 21:09:43 UTC

[jira] Created: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
---------------------------------------------------------------------------------------------------------------

                 Key: JDO-557
                 URL: https://issues.apache.org/jira/browse/JDO-557
             Project: JDO
          Issue Type: Task
          Components: api2, api2-legacy
    Affects Versions: JDO 2 maintenance release 1
            Reporter: Matthew T. Adams


The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Commented: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Andy Jefferson commented on JDO-557:
------------------------------------

This also needs to update the SignatureTest for the API2 changes

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Resolved: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse resolved JDO-557.
---------------------------------

    Resolution: Fixed

Complete w/ revision 956317. Tests all pass. Changes requested by reviewers added

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Craig Russell updated JDO-557:
------------------------------

    Component/s:     (was: tck2-legacy)
                     (was: tck2)
                 api2-legacy
                 api2

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

      Component/s:     (was: api2-legacy)
                       (was: api2)
                   tck2-legacy
                   tck2
    Fix Version/s: JDO 2 maintenance release 1
         Assignee: Michelle Caisse

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: tck2, tck2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Craig Russell updated JDO-557:
------------------------------

    Affects Version/s:     (was: JDO 2 maintenance release 2)
                       JDO 2 maintenance release 1
        Fix Version/s:     (was: JDO 2 maintenance release 1)
                       JDO 2 maintenance release 2

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 2
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment:     (was: jdo-557.patch)

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Commented: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834516#action_12834516 ] 

Michael Bouschen commented on JDO-557:
--------------------------------------

I think we need to add a mock PMF implementation (similar to the MockEnhancer class) and use the mock PMF implementation for the api2 test case..

The class implements the PMF interface and should go into the directory api2/test/java/javax/jdo. It provides a static method getPersistenceManagerFactory (Map overrides, Map props). The class also needs to implement the setter and getter methods for the PMF properties. All other methods - especially the getPersistenceManager methods - should throw an exception. The api2 test case should then call the JDOHelper methods to create a PMF using the Mock PMF as the configured implementation class.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 3
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

        Fix Version/s:     (was: JDO 2 maintenance release 2)
                       JDO 2 maintenance release 3
    Affects Version/s:     (was: JDO 2 maintenance release 3)
                       JDO 2 maintenance release 1

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 3
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment:     (was: jdo-557.patch)

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment: jdo-557.patch

New draft patch for review.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment: jdo-557.patch

Attached draft work for this issue containing three new files, along with error message that is currently output. Error text is appended to end of patch.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment:     (was: jdo-557.patch)

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Commented: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse commented on JDO-557:
-------------------------------------

I'm not clear how we can use a dynamic proxy here.When JDOHelper() invokes the implementation's PMF's static getPMF method, it does so by reflection on the pmf class. Providing an instance that delegates to an invocation handler won't work. Also, I'm not sure that we could provide an implementation of a static method with a dynamic proxy.

Do we need to provide our own implemetation of PMF, with stubs for most methods?

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 3
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Affects Version/s:     (was: JDO 2 maintenance release 1)
                       JDO 2 maintenance release 3

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 3
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 2
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment:     (was: jdo-557.patch)

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment: jdo-557.patch

Okay, this patch has the right stuff.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Craig Russell updated JDO-557:
------------------------------

    Affects Version/s:     (was: JDO 2 maintenance release 1)
                       JDO 2 maintenance release 2

The code is now tested via the tck tests added for maintenance release 1. Adding tests to the api2 and api2-legacy projects should be evaluated to make sure that the code paths are all exercised.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment: jdo-557.patch

First two tests work; third (passing props to JDOHelper.getPMF()) fails with cannot find PersistenceManagerFactoryClass.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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


[jira] Updated: (JDO-557) Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)

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

Michelle Caisse updated JDO-557:
--------------------------------

    Attachment: jdo-557.patch

This patch is ready for review.

> Create tests in api2 & api2-legacy for JDO implementation's static method getPersistenceManagerFactory(Map,Map)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-557
>                 URL: https://issues.apache.org/jira/browse/JDO-557
>             Project: JDO
>          Issue Type: Task
>          Components: api, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Michelle Caisse
>             Fix For: JDO 3
>
>         Attachments: jdo-557.patch
>
>
> The code paths that lead to calling the JDO implementation's PersistenceManagerFactory class's static method getPersistenceManagerFactory(Map,Map) need to be tested.  In order to avoid a dependency on a real implementation, a stub PMF implementation class should be used.

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