|
testCustomCollectionPreInstantiated(org.jboss.test.kernel.config.test.CollectionAnnotationTestCase)
| Time elapsed: 0.353 sec <<< FAILURE!
| testCustomSetPreInstantiated(org.jboss.test.kernel.config.test.SetAnnotationTestCase)
Time elapsed:
| 0.27 sec <<< FAILURE!
|
testCustomListPreInstantiated(org.jboss.test.kernel.config.test.ListAnnotationTestCase)
Time elapse
| d: 0.223 sec <<< FAILURE!
| testCustomMapPreInstantiated(org.jboss.test.kernel.config.test.MapAnnotationTestCase)
Time elapsed:
| 0.241 sec <<< FAILURE!
|
The problem with those is Kabir's problem. :-)
The test fails since there is null collection on the collection where there is only setter
(no getter).
The actual non-null/non-empty collection argument gets pushed into
ReflectionUtils.invoke(method, target, args), where the target is AOPContainerProxy. And
the actual underlying delegate, FromPreinst(some_collection)SimpleBean, gets called. But
the result of this setter invocation doesn't show in the proxy itself.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133891#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...