org.apache.maven.surefire.testng
Class TestNGXmlTestSuite
java.lang.Object
org.apache.maven.surefire.testng.TestNGXmlTestSuite
- All Implemented Interfaces:
- TestNgTestSuite
public class TestNGXmlTestSuite
- extends Object
- implements TestNgTestSuite
Handles suite xml file definitions for TestNG.
- Author:
- jkuhnert, Alex Popescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNGXmlTestSuite
public TestNGXmlTestSuite(List<File> suiteFiles,
String testSourceDirectory,
Properties confOptions,
File reportsDirectory)
- Creates a testng testset to be configured by the specified
xml file(s). The XML files are suite definitions files according to TestNG DTD.
execute
public void execute(ReporterFactory reporterManagerFactory)
throws ReporterException,
TestSetFailedException
- Throws:
ReporterException
TestSetFailedException
execute
public void execute(String testSetName,
ReporterFactory reporterManagerFactory)
throws TestSetFailedException
- Specified by:
execute
in interface TestNgTestSuite
- Throws:
TestSetFailedException
locateTestSets
public Map locateTestSets(ClassLoader classLoader)
throws TestSetFailedException
- Specified by:
locateTestSets
in interface TestNgTestSuite
- Throws:
TestSetFailedException
getSuiteName
public String getSuiteName()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.