Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-136

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.CR1, 1.1.0.Alpha1
    • 1.0.1.Final
    • Tests
    • None

      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?

              rhn-engineering-jharting Jozef Hartinger
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: