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 "Michael Bouschen (JIRA)" <ji...@apache.org> on 2018/01/18 22:14:00 UTC

[jira] [Commented] (JDO-769) Revise PMFMapMapTest test cases using two class loaders

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

Michael Bouschen commented on JDO-769:
--------------------------------------

Checked in the patch (see revision 1821565).

> Revise PMFMapMapTest test cases using two class loaders
> -------------------------------------------------------
>
>                 Key: JDO-769
>                 URL: https://issues.apache.org/jira/browse/JDO-769
>             Project: JDO
>          Issue Type: Improvement
>          Components: api
>    Affects Versions: JDO 3.1
>            Reporter: Michael Bouschen
>            Assignee: Michael Bouschen
>            Priority: Major
>             Fix For: JDO 3.2
>
>         Attachments: JDO-769-patch.txt
>
>
> The two test methods testNamedPMFWithOverridesAndTwoLoaders and testNamedPMFWithTwoLoaders of PMFMapMapTest call JDOHelper methods getPersistenceManagerFactory taking two class loaders: one to use for loading resources and 
> the other to use for loading the PMF. The changes to fix JDO-768 made clear that the test cases pass the same class loader for both arguments. It looks like the tests do not test what they intended to test.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)