
public class TestLifecycleEvent extends TestEvent implements LifecycleEvent
| Constructor and Description |
|---|
TestLifecycleEvent(Object testInstance,
Method testMethod)
Create a new TestLifecycleEvent for a specific testInstance executing a specific testMethod.
|
TestLifecycleEvent(Object testInstance,
Method testMethod,
LifecycleMethodExecutor executor)
Create a new TestLifecycleEvent for a specific testInstance executing a specific testMethod.
|
| Modifier and Type | Method and Description |
|---|---|
LifecycleMethodExecutor |
getExecutor()
Get the call back handler for this lifecycle method.
|
getTestInstance, getTestMethodgetTestClasspublic TestLifecycleEvent(Object testInstance, Method testMethod)
testInstance - The Test instancetestMethod - The Test Method being executedpublic TestLifecycleEvent(Object testInstance, Method testMethod, LifecycleMethodExecutor executor)
testInstance - The Test instancetestMethod - The Test Method being executedexecutor - A call back when the LifecycleMethod represented by this event should be invokedpublic LifecycleMethodExecutor getExecutor()
LifecycleEventgetExecutor in interface LifecycleEventCopyright © 2015 JBoss by Red Hat. All rights reserved.