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

Craig L Russell commented on JDO-769:
-------------------------------------

Perhaps we should use a different property from ConnectionDriverName to tell 
that the right PMF was loaded.

 

> 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, JDO-769-patch2.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)

Reply via email to