• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.testng.remote.strprotocol;
2 
3 
4 
5 /**
6  * Interface replicating the <code>ISuiteListener</code> used for remote listeners.
7  *
8  * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
9  * @see org.testng.ISuiteListener
10  */
11 public interface IRemoteSuiteListener {
12   /**
13    * General information about the number of suites to be run.
14    * This is called once before all suites.
15    *
16    * @param genericMessage a message containing the number of suites that will be run
17    */
onInitialization(GenericMessage genericMessage)18   void onInitialization(GenericMessage genericMessage);
19 
20   /**
21    * @see org.testng.ISuiteListener#onStart(org.testng.ISuite)
22    *
23    * @param suiteMessage the suite message containing the description of the suite to be run.
24    */
onStart(SuiteMessage suiteMessage)25   void onStart(SuiteMessage suiteMessage);
26 
27   /**
28    * @see org.testng.ISuiteListener#onFinish(org.testng.ISuite)
29    *
30    * @param suiteMessage the suite message containing infos about the finished suite.
31    */
onFinish(SuiteMessage suiteMessage)32   void onFinish(SuiteMessage suiteMessage);
33 }
34