public interface TestRunnerAdaptor
Modifier and Type | Method and Description |
---|---|
void |
after(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
LifecycleMethodExecutor executor)
Deactivate the TestInstance.
This will trigger the After event. |
void |
afterClass(java.lang.Class<?> testClass,
LifecycleMethodExecutor executor)
Deactivate the TestClass.
This will trigger the AfterClass event. |
void |
afterSuite()
Deactivate the TestSuite.
This will trigger the AfterSuite event. |
void |
before(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
LifecycleMethodExecutor executor)
Activate a new TestInstance.
This will trigger the Before event. |
void |
beforeClass(java.lang.Class<?> testClass,
LifecycleMethodExecutor executor)
Activate a new TestClass.
This will trigger the BeforeClass event. |
void |
beforeSuite()
Activate a new TestSuite.
This will trigger the BeforeSuite event. |
<T extends TestLifecycleEvent> |
fireCustomLifecycle(T event)
Fire any custom Test Lifecycle event.
This can be used by a TestFramework to trigger e.g. |
void |
shutdown()
Shutdown Arquillian cleanly.
|
TestResult |
test(TestMethodExecutor testMethodExecutor)
Activate a TestMethod execution.
This will trigger the Test event. |
void beforeSuite() throws java.lang.Exception
java.lang.Exception
void afterSuite() throws java.lang.Exception
java.lang.Exception
void beforeClass(java.lang.Class<?> testClass, LifecycleMethodExecutor executor) throws java.lang.Exception
testClass
- executor
- java.lang.Exception
void afterClass(java.lang.Class<?> testClass, LifecycleMethodExecutor executor) throws java.lang.Exception
testClass
- executor
- java.lang.Exception
void before(java.lang.Object testInstance, java.lang.reflect.Method testMethod, LifecycleMethodExecutor executor) throws java.lang.Exception
testInstance
- testMethod
- executor
- java.lang.Exception
void after(java.lang.Object testInstance, java.lang.reflect.Method testMethod, LifecycleMethodExecutor executor) throws java.lang.Exception
testInstance
- testMethod
- executor
- java.lang.Exception
TestResult test(TestMethodExecutor testMethodExecutor) throws java.lang.Exception
testMethodExecutor
- java.lang.Exception
<T extends TestLifecycleEvent> void fireCustomLifecycle(T event) throws java.lang.Exception
event
- Any eventjava.lang.Exception
void shutdown()