[weld-commits] Weld SVN: r6261 - cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Thu May 20 14:27:44 EDT 2010
Author: pete.muir at jboss.org
Date: 2010-05-20 14:27:43 -0400 (Thu, 20 May 2010)
New Revision: 6261
Modified:
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/NewEnterpriseBeanICTest.java
Log:
CDITCK-160
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/NewEnterpriseBeanICTest.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/NewEnterpriseBeanICTest.java 2010-05-20 18:23:31 UTC (rev 6260)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/enterprise/newBean/NewEnterpriseBeanICTest.java 2010-05-20 18:27:43 UTC (rev 6261)
@@ -42,12 +42,9 @@
@SpecAssertion(section = "3.12", id = "l")
public void testNewBeanHasSameConstructor()
{
- ExplicitConstructor bean = getInstanceByType(ExplicitConstructor.class);
- bean.setConstructorCalls(0);
ExplicitConstructor newBean = getInstanceByType(ExplicitConstructor.class, ExplicitConstructorSessionBean.NEW);
- assert bean != newBean;
- assert bean.getConstructorCalls() == 1;
- assert bean.getInjectedSimpleBean() != null;
+ assert newBean.getConstructorCalls() == 1;
+ assert newBean.getInjectedSimpleBean() != null;
}
@Test(groups = { "new" })
More information about the weld-commits
mailing list