Class LogTimeRule
java.lang.Object
org.junit.rules.TestWatcher
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
Constructors -
Method Summary
Methods inherited from class org.junit.rules.TestWatcher
apply, finished, skipped, skipped
-
Constructor Details
-
LogTimeRule
public LogTimeRule()
-
-
Method Details
-
starting
protected void starting(org.junit.runner.Description description) - Overrides:
startingin classorg.junit.rules.TestWatcher
-
failed
- Overrides:
failedin classorg.junit.rules.TestWatcher
-
succeeded
protected void succeeded(org.junit.runner.Description description) - Overrides:
succeededin classorg.junit.rules.TestWatcher
-