[jboss-cvs] JBossAS SVN: r82611 - in projects/webbeans-ri-int/trunk/microcontainer/src/test: java/org/jboss/test/webbeans/deployers/support and 10 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 5 11:36:37 EST 2009


Author: alesj
Date: 2009-01-05 11:36:36 -0500 (Mon, 05 Jan 2009)
New Revision: 82611

Added:
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockEjbJarDeployer.java
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossAppDeployer.java
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossDeployer.java
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossWebDeployer.java
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockWebDeployer.java
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.java
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.xml
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/MANIFEST.MF
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/jboss.xml
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/web-beans.xml
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/jboss-web.xml
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/web-beans.xml
   projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/simple/META-INF/web-beans.xml
Modified:
   projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/VFSTestSuite.java
Log:
Test post deployers.

Modified: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/VFSTestSuite.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/VFSTestSuite.java	2009-01-05 16:28:42 UTC (rev 82610)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/VFSTestSuite.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -24,6 +24,7 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 import junit.textui.TestRunner;
+import org.jboss.test.webbeans.deployers.test.PostDeployersTestCase;
 import org.jboss.test.webbeans.deployers.test.WBDiscoveryEnvTestCase;
 
 /**
@@ -43,6 +44,7 @@
       TestSuite suite = new TestSuite("Deployers WebBeans Tests");
 
       suite.addTest(WBDiscoveryEnvTestCase.suite());
+      suite.addTest(PostDeployersTestCase.suite());
 
       return suite;
    }

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockEjbJarDeployer.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockEjbJarDeployer.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockEjbJarDeployer.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.webbeans.deployers.support.deployer;
+
+import org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer;
+import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
+import org.jboss.metadata.ejb.spec.EjbJarMetaData;
+import org.jboss.metadata.ejb.spec.EjbJar30MetaData;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * Mock ejb-jar.xml parser.
+ * 
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class MockEjbJarDeployer extends AbstractVFSParsingDeployer<EjbJarMetaData>
+{
+   public MockEjbJarDeployer()
+   {
+      super(EjbJarMetaData.class);
+      setName("ejb-jar.xml");
+   }
+
+   protected EjbJarMetaData parse(VFSDeploymentUnit unit, VirtualFile file, EjbJarMetaData root) throws Exception
+   {
+      return new EjbJar30MetaData();
+   }
+}

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossAppDeployer.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossAppDeployer.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossAppDeployer.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.webbeans.deployers.support.deployer;
+
+import org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer;
+import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
+import org.jboss.metadata.ear.jboss.JBossAppMetaData;
+import org.jboss.metadata.ear.jboss.JBoss50AppMetaData;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * Mock application.properties parser.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class MockJBossAppDeployer extends AbstractVFSParsingDeployer<JBossAppMetaData>
+{
+   public MockJBossAppDeployer()
+   {
+      super(JBossAppMetaData.class);
+      setName("application.properties");
+   }
+
+   protected JBossAppMetaData parse(VFSDeploymentUnit unit, VirtualFile file, JBossAppMetaData root) throws Exception
+   {
+      return new JBoss50AppMetaData();
+   }
+}
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossDeployer.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossDeployer.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossDeployer.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.webbeans.deployers.support.deployer;
+
+import org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer;
+import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
+import org.jboss.metadata.ejb.jboss.JBossMetaData;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * Mock jboss.xml parser.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class MockJBossDeployer extends AbstractVFSParsingDeployer<JBossMetaData>
+{
+   public MockJBossDeployer()
+   {
+      super(JBossMetaData.class);
+      setName("jboss.xml");
+   }
+
+   protected JBossMetaData parse(VFSDeploymentUnit unit, VirtualFile file, JBossMetaData root) throws Exception
+   {
+      return new JBossMetaData();
+   }
+}
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossWebDeployer.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossWebDeployer.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockJBossWebDeployer.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.webbeans.deployers.support.deployer;
+
+import org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer;
+import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
+import org.jboss.metadata.web.jboss.JBossWebMetaData;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * Mock jboss-web.xml parser.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class MockJBossWebDeployer extends AbstractVFSParsingDeployer<JBossWebMetaData>
+{
+   public MockJBossWebDeployer()
+   {
+      super(JBossWebMetaData.class);
+      setName("jboss-web.xml");
+   }
+
+   protected JBossWebMetaData parse(VFSDeploymentUnit unit, VirtualFile file, JBossWebMetaData root) throws Exception
+   {
+      return new JBossWebMetaData();
+   }
+}
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockWebDeployer.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockWebDeployer.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/support/deployer/MockWebDeployer.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.webbeans.deployers.support.deployer;
+
+import org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer;
+import org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit;
+import org.jboss.metadata.web.jboss.JBossWebMetaData;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * Mock web.xml parser.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class MockWebDeployer extends AbstractVFSParsingDeployer<JBossWebMetaData>
+{
+   public MockWebDeployer()
+   {
+      super(JBossWebMetaData.class);
+      setName("web.xml");
+   }
+
+   protected JBossWebMetaData parse(VFSDeploymentUnit unit, VirtualFile file, JBossWebMetaData root) throws Exception
+   {
+      return new JBossWebMetaData();
+   }
+}
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.java
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/java/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.java	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,171 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.webbeans.deployers.test;
+
+import java.util.List;
+
+import junit.framework.Test;
+import org.jboss.classloading.spi.metadata.ClassLoadingMetaData;
+import org.jboss.classloading.spi.metadata.ExportAll;
+import org.jboss.classloading.spi.version.Version;
+import org.jboss.deployers.structure.spi.DeploymentUnit;
+import org.jboss.metadata.ejb.spec.EjbJarMetaData;
+import org.jboss.metadata.ejb.spec.InterceptorMetaData;
+import org.jboss.metadata.ejb.spec.InterceptorsMetaData;
+import org.jboss.metadata.web.jboss.JBossWebMetaData;
+import org.jboss.metadata.web.spec.ListenerMetaData;
+import org.jboss.virtual.AssembledDirectory;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * Test post deployers.
+ *
+ * @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
+ */
+public class PostDeployersTestCase extends AbstractWebBeansTest
+{
+   public PostDeployersTestCase(String name)
+   {
+      super(name);
+   }
+
+   public static Test suite()
+   {
+      return suite(PostDeployersTestCase.class);
+   }
+
+   public void testSimpleJar() throws Exception
+   {
+      testJar("simple", false, true);
+   }
+
+   public void testPostJar() throws Exception
+   {
+      testJar("post", true, false);
+   }
+
+   public void testSimpleWar() throws Exception
+   {
+      testWar("simple", false, true);
+   }
+
+   public void testPostWar() throws Exception
+   {
+      testWar("post", true, false);
+   }
+
+   public void testEar() throws Exception
+   {
+      VirtualFile ear = createBasicEar();
+      DeploymentUnit earDU = assertDeploy(ear);
+      try
+      {
+         assertClassLoading(earDU);
+
+         DeploymentUnit jarDU = assertChild(earDU, "ejbs.jar");
+         assertWBInterceptor(jarDU);
+
+         DeploymentUnit webDU = assertChild(earDU, "simple.war");
+         assertWBListener(webDU);
+      }
+      finally
+      {
+         undeploy(earDU);
+      }
+   }
+
+   protected void testJar(String type, boolean testCL, boolean testInterceptor) throws Exception
+   {
+      AssembledDirectory topLevel = createAssembledDirectory("ejbs.jar", "ejbs.jar");
+      addPath(topLevel, "/webbeans/" + type + "/ejb", "META-INF");
+
+      DeploymentUnit topDU = assertDeploy(topLevel);
+      try
+      {
+         if (testCL)
+            assertClassLoading(topDU);
+         if (testInterceptor)
+            assertWBInterceptor(topDU);
+      }
+      finally
+      {
+         undeploy(topDU);
+      }
+   }
+
+   protected void testWar(String type, boolean testCL, boolean testListner) throws Exception
+   {
+      AssembledDirectory topLevel = createAssembledDirectory("web.war", "web.war");
+      addPath(topLevel, "/webbeans/" + type + "/web", "WEB-INF");
+
+      DeploymentUnit topDU = assertDeploy(topLevel);
+      try
+      {
+         if (testCL)
+            assertClassLoading(topDU);
+         if (testListner)
+            assertWBListener(topDU);
+      }
+      finally
+      {
+         undeploy(topDU);
+      }
+   }
+
+   protected void assertClassLoading(DeploymentUnit unit)
+   {
+      ClassLoadingMetaData clmd = unit.getAttachment(ClassLoadingMetaData.class);
+      assertNotNull(clmd);
+
+      ClassLoadingMetaData classLoadingMetaData = new ClassLoadingMetaData();
+      classLoadingMetaData.setName(unit.getName());
+      classLoadingMetaData.setDomain(clmd.getDomain()); // hack, get domain from clmd
+      classLoadingMetaData.setExportAll(ExportAll.NON_EMPTY);
+      classLoadingMetaData.setImportAll(true);
+      classLoadingMetaData.setVersion(Version.DEFAULT_VERSION);
+      classLoadingMetaData.setJ2seClassLoadingCompliance(false);
+
+      assertEquals(clmd, classLoadingMetaData);
+   }
+
+   protected void assertWBInterceptor(DeploymentUnit unit)
+   {
+      EjbJarMetaData ejbmd = unit.getAttachment(EjbJarMetaData.class);
+      assertNotNull(ejbmd);
+      InterceptorsMetaData interceptors = ejbmd.getInterceptors();
+      assertNotNull(interceptors);
+      InterceptorMetaData imd = interceptors.get("org.jboss.webbeans.ejb.SessionBeanInterceptor");
+      assertNotNull(imd);
+   }
+
+   protected void assertWBListener(DeploymentUnit unit)
+   {
+      JBossWebMetaData jbwmd = unit.getAttachment(JBossWebMetaData.class);
+      assertNotNull(jbwmd);
+      List<ListenerMetaData> listeners = jbwmd.getListeners();
+      assertNotNull(listeners);
+      assertEquals(1, listeners.size());
+      ListenerMetaData lmd = listeners.get(0);
+      assertNotNull(lmd);
+      assertEquals("org.jboss.webbeans.servlet.WebBeansListener", lmd.getListenerClass());
+   }
+}

Copied: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.xml (from rev 82565, projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/org/jboss/test/webbeans/deployers/test/WBDiscoveryEnvTestCase.xml)
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.xml	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.xml	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,18 @@
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+  <bean name="EarStructure" class="org.jboss.test.deployers.vfs.structure.ear.support.MockEarStructureDeployer"/>
+  <bean name="WarStructure" class="org.jboss.test.deployers.vfs.structure.war.support.MockWarStructureDeployer"/>
+
+  <bean name="MockEjbJar" class="org.jboss.test.webbeans.deployers.support.deployer.MockEjbJarDeployer"/>
+  <bean name="MockJBossApp" class="org.jboss.test.webbeans.deployers.support.deployer.MockJBossAppDeployer"/>
+  <bean name="MockJBoss" class="org.jboss.test.webbeans.deployers.support.deployer.MockJBossDeployer"/>
+  <bean name="MockJBossWeb" class="org.jboss.test.webbeans.deployers.support.deployer.MockJBossWebDeployer"/>
+  <bean name="MockWeb" class="org.jboss.test.webbeans.deployers.support.deployer.MockWebDeployer"/>
+
+  <bean name="PostEjbJar" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostEjbJarMetadataDeployer"/>
+  <bean name="PostJBossApp" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostJBossAppMetadataDeployer"/>
+  <bean name="PostJBoss" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostJBossMetadataDeployer"/>
+  <bean name="PostJBossWeb" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostJBossWebMetadataDeployer"/>
+  <bean name="PostWeb" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostWebMetadataDeployer"/>
+
+</deployment>


Property changes on: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/org/jboss/test/webbeans/deployers/test/PostDeployersTestCase.xml
___________________________________________________________________
Name: svn:mergeinfo
   + 

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/MANIFEST.MF
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/MANIFEST.MF	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/MANIFEST.MF	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+Created-By: hand

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/jboss.xml
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/jboss.xml	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/jboss.xml	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,2 @@
+<jboss>
+</jboss>
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/web-beans.xml
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/web-beans.xml	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/ejb/META-INF/web-beans.xml	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,2 @@
+<web-beans>
+</web-beans>
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/jboss-web.xml
===================================================================

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/web-beans.xml
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/web-beans.xml	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/post/web/WEB-INF/web-beans.xml	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,2 @@
+<web-beans>
+</web-beans>
\ No newline at end of file

Added: projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/simple/META-INF/web-beans.xml
===================================================================
--- projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/simple/META-INF/web-beans.xml	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/microcontainer/src/test/resources/webbeans/simple/META-INF/web-beans.xml	2009-01-05 16:36:36 UTC (rev 82611)
@@ -0,0 +1,2 @@
+<web-beans>
+</web-beans>




More information about the jboss-cvs-commits mailing list