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.TestListener
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
Copyright © 2007–2013. All rights reserved.