Package org.jboss.arquillian.test.impl
Class EventTestRunnerAdaptor
- java.lang.Object
-
- org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
-
- All Implemented Interfaces:
TestRunnerAdaptor
public class EventTestRunnerAdaptor extends Object implements TestRunnerAdaptor
EventTestRunnerAdaptor- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description EventTestRunnerAdaptor(org.jboss.arquillian.core.spi.Manager manager)EventTestRunnerAdaptor(org.jboss.arquillian.core.spi.ManagerBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter(Object testInstance, Method testMethod, LifecycleMethodExecutor executor)voidafterClass(Class<?> testClass, LifecycleMethodExecutor executor)voidafterSuite()voidbefore(Object testInstance, Method testMethod, LifecycleMethodExecutor executor)voidbeforeClass(Class<?> testClass, LifecycleMethodExecutor executor)voidbeforeSuite()<T extends TestLifecycleEvent>
voidfireCustomLifecycle(T event)voidshutdown()TestResulttest(TestMethodExecutor testMethodExecutor)
-
-
-
Method Detail
-
beforeSuite
public void beforeSuite() throws Exception- Specified by:
beforeSuitein interfaceTestRunnerAdaptor- Throws:
Exception
-
afterSuite
public void afterSuite() throws Exception- Specified by:
afterSuitein interfaceTestRunnerAdaptor- Throws:
Exception
-
beforeClass
public void beforeClass(Class<?> testClass, LifecycleMethodExecutor executor) throws Exception
- Specified by:
beforeClassin interfaceTestRunnerAdaptor- Throws:
Exception
-
afterClass
public void afterClass(Class<?> testClass, LifecycleMethodExecutor executor) throws Exception
- Specified by:
afterClassin interfaceTestRunnerAdaptor- Throws:
Exception
-
before
public void before(Object testInstance, Method testMethod, LifecycleMethodExecutor executor) throws Exception
- Specified by:
beforein interfaceTestRunnerAdaptor- Throws:
Exception
-
after
public void after(Object testInstance, Method testMethod, LifecycleMethodExecutor executor) throws Exception
- Specified by:
afterin interfaceTestRunnerAdaptor- Throws:
Exception
-
test
public TestResult test(TestMethodExecutor testMethodExecutor) throws Exception
- Specified by:
testin interfaceTestRunnerAdaptor- Throws:
Exception
-
fireCustomLifecycle
public <T extends TestLifecycleEvent> void fireCustomLifecycle(T event) throws Exception
- Specified by:
fireCustomLifecyclein interfaceTestRunnerAdaptor- Throws:
Exception
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceTestRunnerAdaptor
-
-