Apache JDO Project - [jira] Created: (JDO-186) Attach listeners are incorrectly implemented

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2005 > [jira] Created: (JDO-186) Attach listeners are incorrectly implemented





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (JDO-186) Attach listeners are incorrectly implemented
Craig Russell (JIRA)

2005-10-24, 8:54 am

Attach listeners are incorrectly implemented
--------------------------------------------

Key: JDO-186
URL: http://issues.apache.org/jira/browse/JDO-186
Project: JDO
Type: Bug
Components: tck20
Environment: JPOX
Reporter: Craig Russell


The InstanceLifecycleListenerAttach test case fails with these errors.

[java] testAttach(org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerAttach)junit.framework.AssertionFailedError: Assertion A12.15-13 (TestInstanceLifecycleListener) failed:
[java] Assertion A12.15-14 (TestInstanceLifecycleListener) failed: in postAttach, source object should be persistent.
[java] Assertion A12.15-14 (TestInstanceLifecycleListener) failed: in postAttach, target expected <org.apache.jdo.tck.api.instancecallbacks. InstanceLifecycleListenerAttach$PC@9ff7c
0>, actual <null>
[java]
[java] Sequence verification failed for PRE_ATTACH_CALLBACK; expected: <2> actual: <0>
[java]
[java] Sequence verification failed for POST_ATTACH_LISTENER; expected: <3> actual: <2>
[java]
[java] at org.apache.jdo.tck.api.instancecallbacks. AbstractInstanceLifecycleListener$Instan
ceLifecycleListenerImpl. verifyCallbacks(AbstractInstanceLifecycl
eListener.java:464)
[java] at org.apache.jdo.tck.api.instancecallbacks.InstanceLifecycleListenerAttach. testAttach(InstanceLifecycleListenerAtta
ch.java:111)
[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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com