Package org.testng
Class SuiteRunnerWorker
java.lang.Object
org.testng.SuiteRunnerWorker
An
IWorker
that is used to encapsulate and run Suite Runners- Author:
- cbeust, nullin
-
Constructor Summary
ConstructorsConstructorDescriptionSuiteRunnerWorker
(ISuite suiteRunner, SuiteRunnerMap suiteRunnerMap, int verbose, String defaultSuiteName) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.testng.thread.IWorker
completed, getCurrentThreadId, getThreadIdToRunOn, setThreadIdToRunOn
-
Constructor Details
-
SuiteRunnerWorker
public SuiteRunnerWorker(ISuite suiteRunner, SuiteRunnerMap suiteRunnerMap, int verbose, String defaultSuiteName)
-
-
Method Details
-
run
public void run() -
compareTo
- Specified by:
compareTo
in interfaceComparable<IWorker<ISuite>>
-
getTasks
-
toString
-
getTimeOut
public long getTimeOut()- Specified by:
getTimeOut
in interfaceIWorker<ISuite>
- Returns:
- the maximum time allowed for the worker to complete the task.
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceIWorker<ISuite>
- Returns:
- the priority of this task.
-