public class TestNGXmlTestSuite extends Object implements TestNgTestSuite
| Constructor and Description |
|---|
TestNGXmlTestSuite(List<File> suiteFiles,
String testSourceDirectory,
Properties confOptions,
File reportsDirectory)
Creates a testng testset to be configured by the specified
xml file(s).
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ReporterFactory reporterManagerFactory) |
void |
execute(String testSetName,
ReporterFactory reporterManagerFactory) |
String |
getSuiteName() |
Map |
locateTestSets(ClassLoader classLoader) |
public TestNGXmlTestSuite(List<File> suiteFiles, String testSourceDirectory, Properties confOptions, File reportsDirectory)
public void execute(ReporterFactory reporterManagerFactory) throws TestSetFailedException
TestSetFailedExceptionpublic void execute(String testSetName, ReporterFactory reporterManagerFactory) throws TestSetFailedException
execute in interface TestNgTestSuiteTestSetFailedExceptionpublic Map locateTestSets(ClassLoader classLoader) throws TestSetFailedException
locateTestSets in interface TestNgTestSuiteTestSetFailedExceptionpublic String getSuiteName()
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.