Modifier and Type | Method and Description |
---|---|
static void |
adjustSuiteNamesToEnsureUniqueness(List<XmlSuite> suites)
Ensure that two XmlSuite don't have the same name
|
static XmlSuite |
newXmlSuiteUsing(List<String> classes) |
static void |
validateIfSuitesContainDuplicateTests(List<XmlSuite> suites)
A validator that runs through the list of suites and checks if each of the suites contains
any
XmlTest with the same name. |
public static void validateIfSuitesContainDuplicateTests(List<XmlSuite> suites)
XmlTest
with the same name. If found, then a TestNGException
is raised.suites
- - The list of XmlSuite
to validate.public static void adjustSuiteNamesToEnsureUniqueness(List<XmlSuite> suites)
suites
- - The List of XmlSuite
that are to be tested and names updated if duplicate
names found.Copyright © 2018. All rights reserved.