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
TestSetFailedException
public void execute(String testSetName, ReporterFactory reporterManagerFactory) throws TestSetFailedException
execute
in interface TestNgTestSuite
TestSetFailedException
public Map locateTestSets(ClassLoader classLoader) throws TestSetFailedException
locateTestSets
in interface TestNgTestSuite
TestSetFailedException
public String getSuiteName()
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.