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

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Jul 13 07:11:23 EDT 2011


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

Pete Muir updated CDITCK-224:
-----------------------------

    Fix Version/s: 1.1.0.CR1


Correct. I've scheduled for 1.1 as we can't introduce new tests in 1.0.x now

> 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
>             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