[weld-commits] Weld SVN: r5891 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Fri Feb 19 08:54:18 EST 2010
Author: jharting
Date: 2010-02-19 08:54:18 -0500 (Fri, 19 Feb 2010)
New Revision: 5891
Modified:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/EnterpriseBeanDefinitionTest.java
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/Retriever.java
Log:
Modified test for WELD-447
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/EnterpriseBeanDefinitionTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/EnterpriseBeanDefinitionTest.java 2010-02-19 10:22:10 UTC (rev 5890)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/EnterpriseBeanDefinitionTest.java 2010-02-19 13:54:18 UTC (rev 5891)
@@ -95,7 +95,7 @@
@SpecAssertion(section = "3.2.2", id = "ba")
public void testEnterpriseBeanClassLocalView()
{
- Bean<Retriever> dogBean = getBeans(Retriever.class).iterator().next();
+ Bean<Retriever> dogBean = getUniqueBean(Retriever.class);
assert dogBean.getTypes().contains(Retriever.class);
}
Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/Retriever.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/Retriever.java 2010-02-19 10:22:10 UTC (rev 5890)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/definition/Retriever.java 2010-02-19 13:54:18 UTC (rev 5891)
@@ -16,15 +16,15 @@
*/
package org.jboss.jsr299.tck.tests.implementation.enterprise.definition;
+import javax.ejb.Stateful;
+
/**
* @author pmuir
*
*/
-// TODO Enable when we support EJB 3.1
-//@Stateful
-//@LocalBean
+ at Stateful
public class Retriever
{
More information about the weld-commits
mailing list