org.jboss.cdi.tck.tests.deployment.packaging.ear
Class MultiWebModuleWithExtensionTest

java.lang.Object
  extended by org.jboss.arquillian.testng.Arquillian
      extended by org.jboss.cdi.tck.AbstractTest
          extended by org.jboss.cdi.tck.tests.deployment.packaging.ear.MultiWebModuleWithExtensionTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@SpecVersion(spec="cdi",
             version="20091101")
public class MultiWebModuleWithExtensionTest
extends AbstractTest

This test verifies that multiple CDI-enabled web applications can be bundled inside of an enterprise archive (.ear).

Note that this test has to run in as-client mode since arquillian cannot work with such archive (doesn't know which WAR to enrich).

This test was originally part of Seam Compatibility project.

TODO verify assertions

Author:
Jozef Hartinger, Martin Kouba
See Also:
http://java.net/jira/browse/GLASSFISH-16303

Field Summary
 
Fields inherited from class org.jboss.cdi.tck.AbstractTest
beanManager
 
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER
 
Constructor Summary
MultiWebModuleWithExtensionTest()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()
           
 void testMultipleWebModulesWithExtension()
           
 
Methods inherited from class org.jboss.cdi.tck.AbstractTest
annotationSetMatches, annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiWebModuleWithExtensionTest

public MultiWebModuleWithExtensionTest()
Method Detail

createTestArchive

@Deployment(testable=false)
public static org.jboss.shrinkwrap.api.spec.EnterpriseArchive createTestArchive()

testMultipleWebModulesWithExtension

@SpecAssertions(value={@SpecAssertion(section="12.1",id="bbc"),@SpecAssertion(section="12.1",id="bbe")})
public void testMultipleWebModulesWithExtension()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.