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, getTestMethod
getTestClass
public 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()
LifecycleEvent
getExecutor
in interface LifecycleEvent
Copyright © 2017 JBoss by Red Hat. All rights reserved.