[webbeans-commits] Webbeans SVN: r1988 - in ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit: implementation and 3 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Fri Mar 13 20:07:04 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-03-13 20:07:04 -0400 (Fri, 13 Mar 2009)
New Revision: 1988

Added:
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/EnterpriseBeanTest.java
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/Hat.java
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/HatRemote.java
Modified:
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/context/ContextTest.java
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/proxy/enterprise/EnterpriseBeanProxyTest.java
   ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/xml/BeansXmlParserTest.java
Log:
label tests

Modified: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/context/ContextTest.java
===================================================================
--- ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/context/ContextTest.java	2009-03-13 23:26:57 UTC (rev 1987)
+++ ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/context/ContextTest.java	2009-03-14 00:07:04 UTC (rev 1988)
@@ -10,11 +10,11 @@
 public class ContextTest extends AbstractWebBeansTest
 {
    // WBRI-155
-   @Test(groups="stub")
+   @Test(description="WBRI155", groups="stub")
    public void testSessionContextActiveForMultipleSimultaneousThreads()
    {
+      // TODO impl
       assert false;
-      // TODO Implement this test
    }
    
 }

Added: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/EnterpriseBeanTest.java
===================================================================
--- ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/EnterpriseBeanTest.java	                        (rev 0)
+++ ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/EnterpriseBeanTest.java	2009-03-14 00:07:04 UTC (rev 1988)
@@ -0,0 +1,22 @@
+package org.jboss.webbeans.test.unit.implementation.enterprise;
+
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.IntegrationTest;
+import org.jboss.testharness.impl.packaging.Packaging;
+import org.jboss.testharness.impl.packaging.PackagingType;
+import org.jboss.webbeans.test.unit.AbstractWebBeansTest;
+import org.testng.annotations.Test;
+
+ at Artifact
+ at IntegrationTest
+ at Packaging(PackagingType.EAR)
+public class EnterpriseBeanTest extends AbstractWebBeansTest
+{
+   
+   @Test(description="WBRI-179")
+   public void testSFSBWithOnlyRemoteInterfacesDeploys()
+   {
+      
+   }
+   
+}


Property changes on: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/EnterpriseBeanTest.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/Hat.java
===================================================================
--- ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/Hat.java	                        (rev 0)
+++ ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/Hat.java	2009-03-14 00:07:04 UTC (rev 1988)
@@ -0,0 +1,9 @@
+package org.jboss.webbeans.test.unit.implementation.enterprise;
+
+import javax.ejb.Stateful;
+
+ at Stateful
+public class Hat implements HatRemote
+{
+   
+}


Property changes on: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/Hat.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/HatRemote.java
===================================================================
--- ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/HatRemote.java	                        (rev 0)
+++ ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/HatRemote.java	2009-03-14 00:07:04 UTC (rev 1988)
@@ -0,0 +1,9 @@
+package org.jboss.webbeans.test.unit.implementation.enterprise;
+
+import javax.ejb.Remote;
+
+ at Remote
+public interface HatRemote
+{
+   
+}


Property changes on: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/enterprise/HatRemote.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/proxy/enterprise/EnterpriseBeanProxyTest.java
===================================================================
--- ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/proxy/enterprise/EnterpriseBeanProxyTest.java	2009-03-13 23:26:57 UTC (rev 1987)
+++ ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/implementation/proxy/enterprise/EnterpriseBeanProxyTest.java	2009-03-14 00:07:04 UTC (rev 1988)
@@ -16,7 +16,7 @@
    /**
     * <a href="https://jira.jboss.org/jira/browse/WBRI-109">WBRI-109</a>
     */
-   @Test
+   @Test(description="WBRI-109")
    public void testNoInterfaceView() throws Exception
    {
       new RunInDependentContext()

Modified: ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/xml/BeansXmlParserTest.java
===================================================================
--- ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/xml/BeansXmlParserTest.java	2009-03-13 23:26:57 UTC (rev 1987)
+++ ri/trunk/impl/src/test/java/org/jboss/webbeans/test/unit/xml/BeansXmlParserTest.java	2009-03-14 00:07:04 UTC (rev 1988)
@@ -62,7 +62,7 @@
    /**
     * Test case for WBRI-21.
     */
-   @Test(expectedExceptions=DeploymentException.class)
+   @Test(expectedExceptions=DeploymentException.class, description="WBRI-21")
    public void testDuplicateDeployElement()
    {
       Iterable<URL> urls = getResources("duplicate-deployments-beans.xml");




More information about the weld-commits mailing list