public interface PowerMockTestNotifier
| Modifier and Type | Method and Description |
|---|---|
void |
notifyAfterTestMethod(boolean successful)
Notifies all listeners with the "after test method ended" event.
|
void |
notifyAfterTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
java.lang.Object[] arguments,
TestMethodResult testResult)
Notifies all listeners with the "after test method ended" event.
|
void |
notifyAfterTestSuiteEnded(java.lang.Class<?> testClass,
java.lang.reflect.Method[] methods,
TestSuiteResult testResult)
Notifies all listeners with the "after test suite ended" event.
|
void |
notifyBeforeTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
java.lang.Object[] arguments)
Notifies all listeners with the "before test method started" event.
|
void |
notifyBeforeTestSuiteStarted(java.lang.Class<?> testClass,
java.lang.reflect.Method[] testMethods)
Notifies all listeners with the "before test suite started" event.
|
void notifyBeforeTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
java.lang.Object[] arguments)
testInstance - instance of testtestMethod - test method to be executedarguments - arguments of test methodsvoid notifyAfterTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
java.lang.Object[] arguments,
TestMethodResult testResult)
testInstance - instance of testtestMethod - test method to be executedarguments - arguments of test methodstestResult - result of running of testvoid notifyAfterTestMethod(boolean successful)
notifyBeforeTestMethod(Object, Method, Object[]) must have been
called before this method. Otherwise revert to using the
notifyAfterTestMethod(Object, Method, Object[], TestMethodResult)
method.successful - true if the test was successful,
false otherwise.void notifyBeforeTestSuiteStarted(java.lang.Class<?> testClass,
java.lang.reflect.Method[] testMethods)
testClass - class of test suitetestMethods - test case methodsvoid notifyAfterTestSuiteEnded(java.lang.Class<?> testClass,
java.lang.reflect.Method[] methods,
TestSuiteResult testResult)
testClass - class of test suitemethods - test case methodstestResult - result of running of test