com.atlassian.confluence.it.rpc
Class StartOfTestLogger

java.lang.Object
  extended by 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
static StartOfTestLogger instance()
           
 void logTestStart(ConfluenceRpc rpc, Class testClass, String testName)
          Logs a message about the start of testing to sytem-out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2003-2011 Atlassian. All Rights Reserved.