|
Description
|
JPOX PersistenceManagerFactory throws JDOFatalUserException for getPersistenceManager after close. It should throw JDOUserException.
|
JPOX PersistenceManagerFactory throws JDOFatalUserException for getPersistenceManager after close. It should throw JDOUserException.
There were 2 failures:
[java] 1) test(org.apache.jdo.tck.api.persistencemanagerfactory.AfterCloseGetPMThrowsException)junit.framework.AssertionFailedError: Assertion A11.4-9B (AfterCloseGetPMThrowsException) failed:
[java] Wrong exception thrown from getPersistenceManager after close.
[java] Expected JDOUserException, got JDOFatalUserException.
[java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:543)
[java] at org.apache.jdo.tck.api.persistencemanagerfactory.AfterCloseGetPMThrowsException.test(AfterCloseGetPMThrowsException.java:74)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
[java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
[java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
[java] 2) test(org.apache.jdo.tck.api.persistencemanagerfactory.Close)junit.framework.AssertionFailedError: Assertions A11.4-2 (Close) failed:
[java] Wrong exception thrown from getPersistenceManager after close.
[java] Expected JDOUserException, got JDOFatalUserException.
[java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:543)
[java] at org.apache.jdo.tck.api.persistencemanagerfactory.Close.test(Close.java:68)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
[java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
[java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
|