[webbeans-commits] Webbeans SVN: r168 - in ri/trunk/webbeans-ri: src/test/java/org/jboss/webbeans/test and 1 other directory.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sun Oct 26 12:24:02 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-10-26 12:24:01 -0400 (Sun, 26 Oct 2008)
New Revision: 168

Modified:
   ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ContextTest.java
   ri/trunk/webbeans-ri/testng.xml
Log:
Enable simple context tests

Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ContextTest.java	2008-10-26 14:43:18 UTC (rev 167)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ContextTest.java	2008-10-26 16:24:01 UTC (rev 168)
@@ -6,9 +6,6 @@
 import javax.webbeans.manager.Context;
 
 import org.jboss.webbeans.BasicContext;
-import org.jboss.webbeans.BeanImpl;
-import org.jboss.webbeans.introspector.SimpleAnnotatedType;
-import org.jboss.webbeans.model.bean.SimpleBeanModel;
 import org.jboss.webbeans.test.beans.Tuna;
 import org.jboss.webbeans.test.util.Util;
 import org.testng.annotations.BeforeMethod;
@@ -17,6 +14,7 @@
 /**
  * 
  * @author Nicklas Karlsson (nickarls at gmail.com)
+ * @author Pete Muir
  * 
  * This class tests a basic context against section 8 of the specification
  *
@@ -58,7 +56,7 @@
       assert firstTuna == secondTuna;
    }
 
-   @Test(groups="contexts") @SpecAssertion(section="8.1")
+   @Test(groups={"contexts", "producerMethod"}) @SpecAssertion(section="8.1")
    public void testProducerMethodReturningNullOK() {
       // TODO
       assert false;

Modified: ri/trunk/webbeans-ri/testng.xml
===================================================================
--- ri/trunk/webbeans-ri/testng.xml	2008-10-26 14:43:18 UTC (rev 167)
+++ ri/trunk/webbeans-ri/testng.xml	2008-10-26 16:24:01 UTC (rev 168)
@@ -12,7 +12,6 @@
             <exclude name="producerMethod" />
             <exclude name="eventbus" />
             <exclude name="injection" />
-            <exclude name="contexts" />
             <exclude name="ejb3" />
             <exclude name="annotationDefinition" />
             <exclude name="webbeansxml" />




More information about the weld-commits mailing list