Class XmlSuiteUtils
java.lang.Object
org.testng.xml.internal.XmlSuiteUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidEnsure that two XmlSuite don't have the same namestatic XmlSuitenewXmlSuiteUsing(List<String> classes) static voidA validator that runs through the list of suites and checks if each of the suites contains anyXmlTestwith the same name.
-
Method Details
-
validateIfSuitesContainDuplicateTests
A validator that runs through the list of suites and checks if each of the suites contains anyXmlTestwith the same name. If found, then aTestNGExceptionis raised.- Parameters:
suites- - The list ofXmlSuiteto validate.
-
adjustSuiteNamesToEnsureUniqueness
-
newXmlSuiteUsing
-