org.testng.remote
Class SuiteDispatcher

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

public class SuiteDispatcher
extends Object

Dispatches test suits according to the strategy defined.

Author:
Guy Korland

Field Summary
static String MASTER_ADPATER
           
static String MASTER_STRATEGY
          Properties allowed in remote.properties
static String STRATEGY_SUITE
           
static String STRATEGY_TEST
          Values allowed for STRATEGY
static String VERBOSE
           
 
Constructor Summary
SuiteDispatcher(String propertiesFile)
          Creates a new suite dispatcher.
 
Method Summary
 List<ISuite> dispatch(org.testng.internal.IConfiguration configuration, List<XmlSuite> suites, String outputDir, 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 String MASTER_STRATEGY
Properties allowed in remote.properties

See Also:
Constant Field Values

VERBOSE

public static final String VERBOSE
See Also:
Constant Field Values

MASTER_ADPATER

public static final String MASTER_ADPATER
See Also:
Constant Field Values

STRATEGY_TEST

public static final String STRATEGY_TEST
Values allowed for STRATEGY

See Also:
Constant Field Values

STRATEGY_SUITE

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

SuiteDispatcher

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

Parameters:
propertiesFile -
Throws:
Exception
TestNGException
Method Detail

dispatch

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

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


Copyright © 2012. All Rights Reserved.