org.apache.maven.surefire.testng
Class TestNGXmlTestSuite
java.lang.Object
org.apache.maven.surefire.testng.TestNGXmlTestSuite
- All Implemented Interfaces:
- SurefireTestSuite
public class TestNGXmlTestSuite
- extends java.lang.Object
- implements SurefireTestSuite
Handles suite xml file definitions for TestNG.
- Author:
- jkuhnert, Alex Popescu
|
Constructor Summary |
TestNGXmlTestSuite(java.util.List suiteFiles,
java.lang.String testSourceDirectory,
java.lang.String artifactVersion,
java.lang.String artifactClassifier,
java.util.Properties confOptions,
java.io.File reportsDirectory)
Creates a testng testset to be configured by the specified
xml file(s). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNGXmlTestSuite
public TestNGXmlTestSuite(java.util.List suiteFiles,
java.lang.String testSourceDirectory,
java.lang.String artifactVersion,
java.lang.String artifactClassifier,
java.util.Properties confOptions,
java.io.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(ReporterManagerFactory reporterManagerFactory,
java.lang.ClassLoader classLoader)
throws ReporterException,
TestSetFailedException
- Specified by:
execute in interface SurefireTestSuite
- Throws:
ReporterException
TestSetFailedException
execute
public void execute(java.lang.String testSetName,
ReporterManagerFactory reporterManagerFactory,
java.lang.ClassLoader classLoader)
throws TestSetFailedException
- Specified by:
execute in interface SurefireTestSuite
- Throws:
TestSetFailedException
getNumTests
public int getNumTests()
- Specified by:
getNumTests in interface SurefireTestSuite
getClassesSkippedByValidation
public java.util.List getClassesSkippedByValidation()
- Specified by:
getClassesSkippedByValidation in interface SurefireTestSuite
locateTestSets
public java.util.Map locateTestSets(java.lang.ClassLoader classLoader)
throws TestSetFailedException
- Specified by:
locateTestSets in interface SurefireTestSuite
- Throws:
TestSetFailedException
getSuiteName
public java.lang.String getSuiteName()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.