public abstract class AbstractBootstrapFailureTCKTest extends AbstractTCKTest
In some cases, the failure can either happen at deployment or at bootstrap. Thus, with this class, when the deployment is failing, we catch the deployment error if it matches a certain type of exception, and we consider it at the exception that will be thrown by the tests.
In this case, the content of the tests is not executed so you need to be very careful to use this class only when this behavior is required.
| Constructor and Description |
|---|
AbstractBootstrapFailureTCKTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<? extends Exception> |
acceptedDeploymentExceptionType() |
void |
arquillianBeforeClass() |
void |
arquillianBeforeTest(Method testMethod) |
void |
run(org.testng.IHookCallBack callback,
org.testng.ITestResult testResult) |
getExecutableValidator, getValidator, webArchiveBuilderprotected abstract Class<? extends Exception> acceptedDeploymentExceptionType()
public void arquillianBeforeClass()
throws Exception
arquillianBeforeClass in class org.jboss.arquillian.testng.ArquillianExceptionpublic void arquillianBeforeTest(Method testMethod) throws Exception
arquillianBeforeTest in class org.jboss.arquillian.testng.ArquillianExceptionpublic void run(org.testng.IHookCallBack callback,
org.testng.ITestResult testResult)
run in interface org.testng.IHookablerun in class org.jboss.arquillian.testng.ArquillianCopyright © 2008–2019 Eclipse Foundation. All rights reserved.