|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PowerMockTestNotifier
Implementors of this interface that must provide the ability to notify PowerMock test listeners with the events as specified by the methods declared in this interface.
| Method Summary | |
|---|---|
void |
notifyAfterTestMethod(boolean successful)
Notifies all listeners with the "after test method ended" event. |
void |
notifyAfterTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method method,
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. |
| Method Detail |
|---|
void notifyBeforeTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method testMethod,
java.lang.Object[] arguments)
void notifyAfterTestMethod(java.lang.Object testInstance,
java.lang.reflect.Method method,
java.lang.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(java.lang.Class<?> testClass,
java.lang.reflect.Method[] testMethods)
void notifyAfterTestSuiteEnded(java.lang.Class<?> testClass,
java.lang.reflect.Method[] methods,
TestSuiteResult testResult)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||