Package org.testng.xml.internal
Class TestNamesMatcher
java.lang.Object
org.testng.xml.internal.TestNamesMatcher
The class to work with "-testnames"
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addIfNotNull
(XmlSuite xmlSuite) private static XmlSuite
cleanClone
(XmlSuite xmlSuite, List<XmlTest> tests) private void
cloneIfContainsTestsWithNamesMatchingAny
(XmlSuite xmlSuite, List<String> testNames) Recursive search the given testNames from the currentXmlSuite
and its child suites.private XmlSuite
-
Field Details
-
cloneSuites
-
matchedTestNames
-
matchedTests
-
testNames
-
-
Constructor Details
-
TestNamesMatcher
-
-
Method Details
-
cloneIfContainsTestsWithNamesMatchingAny
Recursive search the given testNames from the currentXmlSuite
and its child suites.- Parameters:
xmlSuite
- TheXmlSuite
to work with.testNames
- The list of testnames to iterate through
-
getSuitesMatchingTestNames
-
getMissMatchedTestNames
-
getMatchedTests
-
addIfNotNull
-
cloneIfSuiteContainTestsWithNamesMatchingAny
-
cleanClone
-