@RunAsClient public class EnhancedListenerShutdownTest extends Object
WELD-1808| Modifier and Type | Field and Description |
|---|---|
protected static String |
ASSERT |
protected static org.jboss.shrinkwrap.api.asset.Asset |
ASSERT_WEB_XML |
protected static String |
TEST |
protected static org.jboss.shrinkwrap.api.asset.Asset |
TEST_WEB_XML |
| Constructor and Description |
|---|
EnhancedListenerShutdownTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createAssertArchive() |
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
deployArchives()
This is not a real test method.
|
void |
testEnhancedListenerNotDestroyingWeldIfListenerRegistered(URL testContext,
URL assertContext) |
protected static final String TEST
protected static final String ASSERT
protected static final org.jboss.shrinkwrap.api.asset.Asset TEST_WEB_XML
protected static final org.jboss.shrinkwrap.api.asset.Asset ASSERT_WEB_XML
@Deployment(name="test",
managed=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@Deployment(name="assert",
managed=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive createAssertArchive()
@InSequence(value=1) public void deployArchives()
#testEnhancedListenerDoesNotDestroyWeldIfListenerRegistered(URL)@InSequence(value=2)
public void testEnhancedListenerNotDestroyingWeldIfListenerRegistered(@ArquillianResource @OperateOnDeployment(value="test")
URL testContext,
@ArquillianResource @OperateOnDeployment(value="assert")
URL assertContext)
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.