com.atlassian.confluence.webdriver.rules
Class LogTimeRule

java.lang.Object
  extended by org.junit.rules.TestWatcher
      extended by com.atlassian.confluence.webdriver.rules.LogTimeRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class LogTimeRule
extends org.junit.rules.TestWatcher

Time each test and log how long each one takes. Not thread safe at all.


Constructor Summary
LogTimeRule()
           
 
Method Summary
protected  void failed(Throwable e, org.junit.runner.Description description)
           
protected  void starting(org.junit.runner.Description description)
           
protected  void succeeded(org.junit.runner.Description description)
           
 
Methods inherited from class org.junit.rules.TestWatcher
apply, finished, skipped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogTimeRule

public LogTimeRule()
Method Detail

starting

protected void starting(org.junit.runner.Description description)
Overrides:
starting in class org.junit.rules.TestWatcher

failed

protected void failed(Throwable e,
                      org.junit.runner.Description description)
Overrides:
failed in class org.junit.rules.TestWatcher

succeeded

protected void succeeded(org.junit.runner.Description description)
Overrides:
succeeded in class org.junit.rules.TestWatcher


Copyright © 2003–2015 Atlassian. All rights reserved.