[jboss-cvs] JBossAS SVN: r108089 - trunk/weld-int/deployer/src/test/java/org/jboss/test/deployers/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Sep 9 14:54:26 EDT 2010


Author: marius.bogoevici
Date: 2010-09-09 14:54:25 -0400 (Thu, 09 Sep 2010)
New Revision: 108089

Modified:
   trunk/weld-int/deployer/src/test/java/org/jboss/test/deployers/test/PostDeployersTestCase.java
Log:
Removed testWarWithNoWBFile: a war with no WB file is not weld-enabled deployment.

Modified: trunk/weld-int/deployer/src/test/java/org/jboss/test/deployers/test/PostDeployersTestCase.java
===================================================================
--- trunk/weld-int/deployer/src/test/java/org/jboss/test/deployers/test/PostDeployersTestCase.java	2010-09-09 18:44:56 UTC (rev 108088)
+++ trunk/weld-int/deployer/src/test/java/org/jboss/test/deployers/test/PostDeployersTestCase.java	2010-09-09 18:54:25 UTC (rev 108089)
@@ -95,29 +95,6 @@
       }
    }
 
-   public void testWarWithNoWBFile() throws Exception
-   {
-      VirtualFile ear = VFS.getChild("top-level.ear");
-      createAssembledDirectory(ear)
-         .addPath("/weld/warwowb")
-         .addPath("simple.war", "/weld/warwowb/web")
-         .addPath("ejbs.jar", "/weld/warwowb/ejb");
-
-      DeploymentUnit topDU = assertDeploy(ear);
-      try
-      {
-         DeploymentUnit ejbDU = assertChild(topDU, "ejbs.jar");
-         assertWBInterceptor(ejbDU);
-
-         DeploymentUnit webDU = assertChild(topDU, "simple.war");
-         assertWBListener(webDU);
-      }
-      finally
-      {
-         undeploy(topDU);
-      }
-   }
-
    protected void testJar(String type, boolean testCL) throws Exception
    {
       VirtualFile topLevel = VFS.getChild("ejbs.jar");



More information about the jboss-cvs-commits mailing list