db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (JDO-187) Detach lifecycle listeners are incorrectly implemented
Date Sat, 22 Oct 2005 07:54:22 GMT
     [ http://issues.apache.org/jira/browse/JDO-187?page=all ]

Andy Jefferson reassigned JDO-187:
----------------------------------

    Assign To: Craig Russell  (was: Andy Jefferson)

> Detach lifecycle listeners are incorrectly implemented
> ------------------------------------------------------
>
>          Key: JDO-187
>          URL: http://issues.apache.org/jira/browse/JDO-187
>      Project: JDO
>         Type: Bug
>   Components: tck20
>  Environment: JPOX
>     Reporter: Craig Russell
>     Assignee: Craig Russell

>
> The following errors are reported for test case InstanceLifecycleListenerDetach.
>     [java] testDetach(org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerDetach)junit.framework.AssertionFailedError:
Assertion A12.15-11 (TestInstanceLifecycleListener) failed: 
>     [java] Assertion A12.15-12 (TestInstanceLifecycleListener) failed: in postDetach,
target expected <org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerDetach$PC@2897ac>,
actual <null>
>     [java] Assertion A12.15-12 (TestInstanceLifecycleListener) failed: in postDetach,
target object should be persistent.
>     [java] Assertion A12.15-12 (TestInstanceLifecycleListener) failed: in postDetach,
source wasPostDetachCalled() was not true.
>     [java] 
>     [java] Sequence verification failed for PRE_DETACH_LISTENER; expected: <1>
actual: <2>
>     [java] 
>     [java] Sequence verification failed for PRE_DETACH_CALLBACK; expected: <2>
actual: <1>
>     [java] 
>     [java]      at org.apache.jdo.tck.api.instancecallbacks.AbstractInstanceLifecycleListener$InstanceLifecycleListenerImpl.verifyCallbacks(AbstractInstanceLifecycleListener.java:464)
>     [java]      at org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerDetach.testDetach(InstanceLifecycleListenerDetach.java:108)
>     [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:204)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message