Author: jharting
Date: 2010-04-21 06:23:37 -0400 (Wed, 21 Apr 2010)
New Revision: 6132
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/qualifier/QualifierDefinitionTest.java
Log:
CDITCK-136
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/qualifier/QualifierDefinitionTest.java
===================================================================
---
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/qualifier/QualifierDefinitionTest.java 2010-04-21
10:22:59 UTC (rev 6131)
+++
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/definition/qualifier/QualifierDefinitionTest.java 2010-04-21
10:23:37 UTC (rev 6132)
@@ -58,8 +58,9 @@
public void testDefaultQualifierForInjectionPoint()
{
Bean<Order> order = getBeans(Order.class).iterator().next();
+ assert order.getInjectionPoints().size() == 1;
InjectionPoint injectionPoint = order.getInjectionPoints().iterator().next();
- assert injectionPoint.getBean().getQualifiers().contains(new DefaultLiteral());
+ assert injectionPoint.getQualifiers().contains(new DefaultLiteral());
}
@Test