ch.qos.mistletoe.core
Class StopWatchRunListener

java.lang.Object
  extended by org.junit.runner.notification.RunListener
      extended by ch.qos.mistletoe.core.StopWatchRunListener

public class StopWatchRunListener
extends org.junit.runner.notification.RunListener


Constructor Summary
StopWatchRunListener()
           
 
Method Summary
 void testFinished(org.junit.runner.Description description)
          Called when an atomic test has finished, whether the test succeeds or fails.
 void testStarted(org.junit.runner.Description description)
          Called when an atomic test is about to be started.
 
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFailure, testIgnored, testRunFinished, testRunStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWatchRunListener

public StopWatchRunListener()
Method Detail

testStarted

public void testStarted(org.junit.runner.Description description)
                 throws Exception
Called when an atomic test is about to be started.

Overrides:
testStarted in class org.junit.runner.notification.RunListener
Parameters:
description - the description of the test that is about to be run (generally a class and method name)
Throws:
Exception

testFinished

public void testFinished(org.junit.runner.Description description)
                  throws Exception
Called when an atomic test has finished, whether the test succeeds or fails.

Overrides:
testFinished in class org.junit.runner.notification.RunListener
Parameters:
description - the description of the test that just ran
Throws:
Exception


Copyright © 2009-2013 QOS.ch. All Rights Reserved.