[
https://issues.apache.org/jira/browse/JDO-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Schilling updated JDO-582:
----------------------------------
Attachment: 20080710-jdo-582.diff
This is just an interim file, so please don't apply it to the code base yet.
Some notes and questions on file JDOHelperTest.java:
the test method that gets run, testGetPMFBadResource(), doesn't seem to
complete. Any ideas as to why that would happen? I think I need to brush up
on JUnit testing. Note my calls to System.out.println() at the beginning and
end of the method (with my initials being printed out to make it easy to find
the line in the output). The first call to System.out.println() is executed,
and it's followed by lots of great exception data, but the second never is
executed.
I'm assuming that the call to fail() is what causes the test to fail, but I
don't see where fail should be called here with the code I have in the method.
Am I missing something?
> Test case needed for JDOFatalUserException nested exception argument needs
> cast to Throwable[]
> ----------------------------------------------------------------------------------------------
>
> Key: JDO-582
> URL: https://issues.apache.org/jira/browse/JDO-582
> Project: JDO
> Issue Type: Bug
> Components: api2, api2-legacy
> Reporter: Erik Bengtson
> Assignee: Richard Schilling
> Fix For: JDO 2 maintenance release 2
>
> Attachments: 20080710-jdo-582.diff, estedExceptionJDOHelper.patch
>
>
> After collecting exceptions from invoking getPersistenceManagerFactory on all
> implementations, if no implementation has succeeded in returning a
> PersistenceManagerFactory, an exception is thrown, and the argument should be
> a Throwable[]. Otherwise, it's treated as a failed object instead of nested
> exceptions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.