org.testng.remote
Class SuiteDispatcher

java.lang.Object
  extended by org.testng.remote.SuiteDispatcher

public class SuiteDispatcher
extends java.lang.Object

Dispatches test suits according to the strategy defined.

Author:
Guy Korland

Field Summary
static java.lang.String MASTER_ADPATER
           
static java.lang.String MASTER_STRATEGY
          Properties allowed in remote.properties
static java.lang.String STRATEGY_SUITE
           
static java.lang.String STRATEGY_TEST
          Values allowed for STRATEGY
static java.lang.String VERBOSE
           
 
Constructor Summary
SuiteDispatcher(java.lang.String propertiesFile)
          Creates a new suite dispatcher.
 
Method Summary
 java.util.List<ISuite> dispatch(org.testng.internal.IConfiguration configuration, java.util.List<XmlSuite> suites, java.lang.String outputDir, java.util.List<ITestListener> testListeners)
          Dispatch test suites
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MASTER_STRATEGY

public static final java.lang.String MASTER_STRATEGY
Properties allowed in remote.properties

See Also:
Constant Field Values

VERBOSE

public static final java.lang.String VERBOSE
See Also:
Constant Field Values

MASTER_ADPATER

public static final java.lang.String MASTER_ADPATER
See Also:
Constant Field Values

STRATEGY_TEST

public static final java.lang.String STRATEGY_TEST
Values allowed for STRATEGY

See Also:
Constant Field Values

STRATEGY_SUITE

public static final java.lang.String STRATEGY_SUITE
See Also:
Constant Field Values
Constructor Detail

SuiteDispatcher

public SuiteDispatcher(java.lang.String propertiesFile)
                throws TestNGException
Creates a new suite dispatcher.

Parameters:
propertiesFile -
Throws:
java.lang.Exception
TestNGException
Method Detail

dispatch

public java.util.List<ISuite> dispatch(org.testng.internal.IConfiguration configuration,
                                       java.util.List<XmlSuite> suites,
                                       java.lang.String outputDir,
                                       java.util.List<ITestListener> testListeners)
Dispatch test suites

Parameters:
suites -
outputDir -
javadocAnnotationFinder -
jdkAnnotationFinder -
testListeners -
Returns:
suites result


Copyright © 2011. All Rights Reserved.