Package com.atlassian.confluence.it.rpc
Class StartOfTestLogger
- java.lang.Object
-
- com.atlassian.confluence.it.rpc.StartOfTestLogger
-
public final class StartOfTestLogger extends Object
Singleton to log a message on the server reporting the start of each test. Very helpful for relating server errors to the test in which they occurred.logTestStart(ConfluenceRpc, Class, String)
should be called during the setUp method of a test, as soon as the ConfluenceRpc is available and logged in as admin.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartOfTestLogger
instance()
void
logTestStart(ConfluenceRpc rpc, Class<?> testClass, String testName)
Logs a message about the start of testing to sytem-out.
-
-
-
Method Detail
-
instance
public static StartOfTestLogger instance()
-
logTestStart
public void logTestStart(ConfluenceRpc rpc, Class<?> testClass, String testName)
Logs a message about the start of testing to sytem-out.- Parameters:
rpc
- must be logged in as admin.
-
-