SuiteRunner is responsible for running all the tests included in one suite. The test
start is triggered by run() method.
| Modifier and Type | Class and Description |
|---|---|
| private static class | SuiteRunner.
The default implementation of |
| private static class | |
| private class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final IAttributes | |
| private final Map | |
| private final IConfiguration | |
| private static final String | |
| private final ITestListener | |
| private final DataProviderHolder | |
| private final Map | |
| private final Map | |
| private ITestObjectFactory | |
| private String | |
| private Injector | |
| private String | |
| private final List | |
| private Boolean | |
| private final Map | |
| private final AutoCloseableLock | |
| private final SuiteRunState | |
| private final List | |
| private final List | |
| private final ITestRunnerFactory | |
| private boolean | |
| private final Set | |
| private final XmlSuite |
| Access | Constructor and Description |
|---|---|
| public | SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, Comparator<ITestNGMethod> comparator)
|
| public | SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, Comparator<ITestNGMethod> comparator)
|
| protected | SuiteRunner(IConfiguration configuration, XmlSuite suite, String outputDir, ITestRunnerFactory runnerFactory, boolean useDefaultListeners, List<IMethodInterceptor> methodInterceptors, Collection<IInvokedMethodListener> invokedMethodListener, SuiteRunner.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| protected void | addListener(ISuiteListener
The ISuiteListener interested in reporting the result of the current suite. reporter)
|
| public void | |
| private void | |
| private void | |
| public void | afterInvocation(IInvokedMethod method, ITestResult testResult)
Implements org. |
| public void | beforeInvocation(IInvokedMethod method, ITestResult testResult)
Implements org. |
| private ITestRunnerFactory | |
| public List | |
| public List | |
| public IAnnotationFinder | Returns: the annotation finder for the given annotation type.Implements org. |
| public Object | getAttribute(String
The name of the attribute to return name)Implements org. |
| public Set | |
| public Collection | |
| public Collection | |
| public ITestListener | |
| public String | |
| public String | |
| public Map | getMethodsByGroups()
Implements org. |
| public String | |
| public ITestObjectFactory | |
| public String | |
| public String | |
| public String | getParameter(String
The name of the parameter parameterName)Implements org. |
| public Injector | |
| public String | |
| public List | |
| public Map | |
| public SuiteRunState | |
| public XmlSuite | |
| private void | |
| private void | |
| public Object | removeAttribute(String
The attribute name name)Implements org. |
| public void | |
| private void | |
| private void | |
| private void | |
| public void | setAttribute(String
The attribute name name, Object The attribute value value)Implements org. |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void |