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 void
endAfter()
void
endBefore()
void
endTest()
void
endTestMethod()
void
log(String testName)
void
setTestFailed()
static TestTimer
start()
void
startAfter()
void
startBefore()
void
startTestMethod()
-
-
-
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)
-
-