Package org.apache.camel.test.junit4
Class CamelTestWatcher
- java.lang.Object
-
- org.junit.rules.TestWatcher
-
- org.apache.camel.test.junit4.CamelTestWatcher
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class CamelTestWatcher extends org.junit.rules.TestWatcherA JUnitTestWatcherthat is used to time how long the test takes.
-
-
Constructor Summary
Constructors Constructor Description CamelTestWatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinished(org.junit.runner.Description description)protected voidstarting(org.junit.runner.Description description)longtimeTaken()
-
-
-
Method Detail
-
starting
protected void starting(org.junit.runner.Description description)
- Overrides:
startingin classorg.junit.rules.TestWatcher
-
finished
protected void finished(org.junit.runner.Description description)
- Overrides:
finishedin classorg.junit.rules.TestWatcher
-
timeTaken
public long timeTaken()
-
-