Class TestTimer
- java.lang.Object
-
- com.atlassian.confluence.util.test.timing.TestTimer
-
public class TestTimer extends Object
Print timing information for JUnit4 tests.- Since:
- 5.7
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendAfter()voidendBefore()voidendTest()voidendTestMethod()voidlog(String testName)voidsetTestFailed()static TestTimerstart()voidstartAfter()voidstartBefore()voidstartTestMethod()
-
-
-
Method Detail
-
start
public static TestTimer start()
-
setTestFailed
public void setTestFailed()
-
startBefore
public void startBefore()
-
endBefore
public void endBefore()
-
startTestMethod
public void startTestMethod()
-
endTestMethod
public void endTestMethod()
-
startAfter
public void startAfter()
-
endAfter
public void endAfter()
-
endTest
public void endTest()
-
log
public void log(String testName)
-
-