[weld-issues] [JBoss JIRA] Resolved: (CDITCK-224) Missing injection points for CircularDependencyTest

Martin Kouba (JIRA) jira-events at lists.jboss.org
Tue Sep 20 10:16:26 EDT 2011


     [ https://issues.jboss.org/browse/CDITCK-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kouba resolved CDITCK-224.
---------------------------------

      Assignee: Martin Kouba
    Resolution: Done


Fixed in 1.1 branch (aka github master).

> Missing injection points for CircularDependencyTest
> ---------------------------------------------------
>
>                 Key: CDITCK-224
>                 URL: https://issues.jboss.org/browse/CDITCK-224
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>    Affects Versions: 1.0.4.Final
>            Reporter: Alexey Kazakov
>            Assignee: Martin Kouba
>             Fix For: 1.1.0.CR1
>
>
> It looks like that some beans tested by CircularDependencyTest miss injection points.
> See org.jboss.jsr299.tck.tests.lookup.circular.NormalSelfConsumingNormalProducer, org.jboss.jsr299.tck.tests.lookup.circular.DependentSelfConsumingNormalProducer,     org.jboss.jsr299.tck.tests.lookup.circular.NormalSelfConsumingDependentProducer
> For instance there is a field *@SelfConsumingNormal1 Violation violation* in DependentSelfConsumingNormalProducer:
> {code}
> class DependentSelfConsumingNormalProducer
> {
>    @SelfConsumingNormal1 Violation violation;
>    
>    @Produces @ApplicationScoped @SelfConsumingNormal1
>    public Violation produceViolation() {
>       return new Violation();
>    }
>    
>    public void ping() {
>       
>    }
> }
> {code}
> which should be declared as an injection point: *@Inject* @SelfConsumingNormal1 Violation violation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list