[weld-issues] [JBoss JIRA] Commented: (CDITCK-137) org.jboss.jsr299.tck.tests.decorators.invocation.testChainedDecoratorInvocation.DecoratorInvocationTest

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Thu Apr 8 11:07:58 EDT 2010


    [ https://jira.jboss.org/jira/browse/CDITCK-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12524605#action_12524605 ] 

Gurkan Erdogdu commented on CDITCK-137:
---------------------------------------

Failed test method is :

public void testChainedDecoratorInvocation() with assertions of InjectionPoints

For example : 

assert FooDecorator1.getInjectionPoint().getBean().getBeanClass().equals(CowShed.class);

In our implementation FooDecorator1.getInjectionPoint() returns null because we do not inject FooDecorator1 into any delegate injection point. Therefore all injection points in decorators and bean instance are null. In weld, you inject decorators into delegate injection points. In OWB, we inject single proxy for delegate injection point that is responsible for calling decorator stack in order.



> org.jboss.jsr299.tck.tests.decorators.invocation.testChainedDecoratorInvocation.DecoratorInvocationTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CDITCK-137
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-137
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Gurkan Erdogdu
>
> Method : testChainedDecoratorInvocation
> In this test, TCK tests the injection points of the Decortor delegate. But it seems that this test is specific to Weld. In our case, we manage decorator stack via single delegate not via injection each decorator reference to DecoratorInvocationTest

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

        


More information about the weld-issues mailing list