public class PowerMockJUnit3TestListener extends Object implements junit.framework.TestListener
TestRunListener interface that performs
cleanup after each test so that no state is maintained in PowerMock between
test runs.| Constructor and Description |
|---|
PowerMockJUnit3TestListener(ClassLoader mockClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(junit.framework.Test test,
Throwable t)
Does nothing.
|
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
Does nothing.
|
void |
endTest(junit.framework.Test test) |
void |
startTest(junit.framework.Test test)
Does nothing.
|
public PowerMockJUnit3TestListener(ClassLoader mockClassLoader)
public void addError(junit.framework.Test test,
Throwable t)
addError in interface junit.framework.TestListenerpublic void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
addFailure in interface junit.framework.TestListenerpublic void endTest(junit.framework.Test test)
endTest in interface junit.framework.TestListenerpublic void startTest(junit.framework.Test test)
startTest in interface junit.framework.TestListenerCopyright © 2007–2014. All rights reserved.