Author: jharting
Date: 2010-02-09 07:24:26 -0500 (Tue, 09 Feb 2010)
New Revision: 5831
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/decorators/custom/CustomDecoratorTest.java
Log:
CDITCK-107
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/decorators/custom/CustomDecoratorTest.java
===================================================================
---
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/decorators/custom/CustomDecoratorTest.java 2010-02-09
12:22:42 UTC (rev 5830)
+++
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/decorators/custom/CustomDecoratorTest.java 2010-02-09
12:24:26 UTC (rev 5831)
@@ -36,6 +36,7 @@
@Extension("javax.enterprise.inject.spi.Extension")
public class CustomDecoratorTest extends AbstractJSR299Test
{
+ @SuppressWarnings("unchecked")
@Test
@SpecAssertion(section = "8.3", id = "b")
public void testCustomImplementationOfDecoratorInterface()
@@ -46,6 +47,6 @@
assert AfterBeanDiscoveryObserver.getDecorator().isGetDelegateQualifiersCalled();
assert AfterBeanDiscoveryObserver.getDecorator().isGetDelegateTypeCalled();
assert !getCurrentManager().resolveDecorators(new
HashSet<Type>(Arrays.asList(Vehicle.class))).isEmpty();
- assert !getCurrentManager().resolveDecorators(new
HashSet<Type>(Arrays.asList(Bus.class))).isEmpty();
+ assert !getCurrentManager().resolveDecorators(new
HashSet<Type>(Arrays.asList(Vehicle.class, Bus.class))).isEmpty();
}
}
Show replies by date