org.powermock.modules.junit3.internal.impl
Class PowerMockJUnit3TestListener

java.lang.Object
  extended by org.powermock.modules.junit3.internal.impl.PowerMockJUnit3TestListener
All Implemented Interfaces:
junit.framework.TestListener

public class PowerMockJUnit3TestListener
extends Object
implements junit.framework.TestListener

An implementation of the TestRunListener interface that performs cleanup after each test so that no state is maintained in PowerMock between test runs.


Constructor Summary
PowerMockJUnit3TestListener(ClassLoader mockClassLoader)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerMockJUnit3TestListener

public PowerMockJUnit3TestListener(ClassLoader mockClassLoader)
Method Detail

addError

public void addError(junit.framework.Test test,
                     Throwable t)
Does nothing.

Specified by:
addError in interface junit.framework.TestListener

addFailure

public void addFailure(junit.framework.Test test,
                       junit.framework.AssertionFailedError t)
Does nothing.

Specified by:
addFailure in interface junit.framework.TestListener

endTest

public void endTest(junit.framework.Test test)
Specified by:
endTest in interface junit.framework.TestListener

startTest

public void startTest(junit.framework.Test test)
Does nothing.

Specified by:
startTest in interface junit.framework.TestListener


Copyright © 2007-2012. All Rights Reserved.