Class 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 Detail

      • 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.