[weld-issues] [JBoss JIRA] Created: (CDITCK-136) QualifierDefinitionTest.testDefaultQualifierForInjectionPoint() doesn't test qualifiers for Injection points.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Mar 15 07:57:37 EDT 2010


QualifierDefinitionTest.testDefaultQualifierForInjectionPoint() doesn't test qualifiers for Injection points.
-------------------------------------------------------------------------------------------------------------

                 Key: CDITCK-136
                 URL: https://jira.jboss.org/jira/browse/CDITCK-136
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tests
    Affects Versions: 1.0.1.Final
            Reporter: Alexey Kazakov


There is assert injectionPoint.getBean().getQualifiers().contains(new DefaultLiteral()); in QualifierDefinitionTest.testDefaultQualifierForInjectionPoint() test.
But shouldn't there be injectionPoint.getQualifiers() instead of injectionPoint.getBean().getQualifiers()?
This method is supposted to test the default quailifier for an injection point, but not for a bean isn't it?

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