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(Object testInstance,
Method method,
Object[] arguments,
TestMethodResult testResult)
Notifies all listeners with the "after test method ended" event.
|
void |
notifyAfterTestSuiteEnded(Class<?> testClass,
Method[] methods,
TestSuiteResult testResult)
Notifies all listeners with the "after test suite ended" event.
|
void |
notifyBeforeTestMethod(Object testInstance,
Method testMethod,
Object[] arguments)
Notifies all listeners with the "before test method started" event.
|
void |
notifyBeforeTestSuiteStarted(Class<?> testClass,
Method[] testMethods)
Notifies all listeners with the "before test suite started" event.
|
void notifyBeforeTestMethod(Object testInstance, Method testMethod, Object[] arguments)
void notifyAfterTestMethod(Object testInstance, Method method, Object[] arguments, TestMethodResult testResult)
void 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(Class<?> testClass, Method[] testMethods)
void notifyAfterTestSuiteEnded(Class<?> testClass, Method[] methods, TestSuiteResult testResult)
Copyright © 2007–2016. All rights reserved.