[webbeans-commits] Webbeans SVN: r197 - 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
Tue Oct 28 11:35:59 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-10-28 11:35:59 -0400 (Tue, 28 Oct 2008)
New Revision: 197

Added:
   ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
Modified:
   ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/CommonContextTest.java
   ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java
   ri/trunk/webbeans-ri/testng.xml
Log:
Stubs for application context tests

Added: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java	                        (rev 0)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java	2008-10-28 15:35:59 UTC (rev 197)
@@ -0,0 +1,78 @@
+package org.jboss.webbeans.test;
+
+import org.testng.annotations.Test;
+
+public class ApplicationContextTest extends AbstractTest
+{
+   
+   @Test(groups={"servlet", "contexts"}) @SpecAssertion(section="8.5.3")
+   public void testScopeActiveDuringServiceMethod()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"webservice", "contexts"}) @SpecAssertion(section="8.5.3")
+   public void testScopeActiveDuringWebServiceInvocation()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+   public void testScopeActiveDuringRemoteInvocationOfEjbs()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+   public void testScopeActiveDuringEjbTimeoust()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+   public void testScopeActiveDuringMessageDelivery()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"servlet", "contexts"}) @SpecAssertion(section="8.5.3")
+   public void testScopeSharedAcrossRequests()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"webservice", "contexts"}) @SpecAssertion(section="8.5.3")
+   public void testScopeSharedAcrossWebServiceInvocations()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+   public void testScopeSharedAcrossRemoteInvocationsOfEjbs()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+   public void testScopeSharedAcrossEjbTimeouts()
+   {
+      assert false;
+   }
+   
+   @Test(groups={"contexts", "ejb3"}) @SpecAssertion(section="8.5.3")
+   public void testScopeSharedAcrossMessageDelivery()
+   {
+      assert false;
+   }
+   
+   /*
+
+   @Test @SpecAssertion(section="8.5.3")
+   public void test
+   {
+      assert false;
+   }
+
+    */
+   
+}


Property changes on: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ApplicationContextTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/CommonContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/CommonContextTest.java	2008-10-28 12:54:18 UTC (rev 196)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/CommonContextTest.java	2008-10-28 15:35:59 UTC (rev 197)
@@ -5,7 +5,6 @@
 import java.lang.reflect.Method;
 
 import javax.webbeans.ContextNotActiveException;
-import javax.webbeans.RequestScoped;
 import javax.webbeans.manager.Bean;
 import javax.webbeans.manager.Context;
 
@@ -16,7 +15,6 @@
 import org.jboss.webbeans.introspector.SimpleAnnotatedType;
 import org.jboss.webbeans.model.bean.ProducerMethodBeanModel;
 import org.jboss.webbeans.model.bean.SimpleBeanModel;
-import org.jboss.webbeans.test.beans.BlackWidow;
 import org.jboss.webbeans.test.beans.SpiderProducer;
 import org.jboss.webbeans.test.beans.Tarantula;
 import org.jboss.webbeans.test.beans.Tuna;
@@ -32,7 +30,7 @@
  * This class tests a basic context against section 8 of the specification
  *
  */
- at SpecVersion("20081020")
+ at SpecVersion("PDR")
 public class CommonContextTest extends AbstractTest
 {
    Context context;

Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java	2008-10-28 12:54:18 UTC (rev 196)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/DependentContextTest.java	2008-10-28 15:35:59 UTC (rev 197)
@@ -10,6 +10,7 @@
 import org.jboss.webbeans.test.beans.Fox;
 import org.testng.annotations.Test;
 
+ at SpecVersion("PDR")
 public class DependentContextTest extends AbstractTest
 {
    

Modified: ri/trunk/webbeans-ri/testng.xml
===================================================================
--- ri/trunk/webbeans-ri/testng.xml	2008-10-28 12:54:18 UTC (rev 196)
+++ ri/trunk/webbeans-ri/testng.xml	2008-10-28 15:35:59 UTC (rev 197)
@@ -14,6 +14,7 @@
             <exclude name="deferredEvent" />
             <exclude name="injection" />
             <exclude name="ejb3" />
+            <exclude name="webservice" />
             <exclude name="annotationDefinition" />
             <exclude name="webbeansxml" />
             <exclude name="el" />




More information about the weld-commits mailing list