Lines Matching refs:XmlSuite
8 import org.testng.xml.XmlSuite;
22 verifyExpected(XmlSuite.ParallelMode.NONE, 1); in verifyParallelNone()
27 verifyExpected(XmlSuite.ParallelMode.TESTS, 2); in verifyParallelTests()
32 verifyExpected(XmlSuite.ParallelMode.METHODS, 4); in verifyParallelMethods()
37 verifyExpected(XmlSuite.ParallelMode.CLASSES, 2); in verifyParallelClasses()
42 … verifyExpected(XmlSuite.ParallelMode.INSTANCES, 2, ParallelWithFactorySampleTest.class.getName()); in verifyParallelClassesWithFactory()
47 verifyExpected(XmlSuite.ParallelMode.NONE, 1, ParallelWithFactorySampleTest.class.getName()); in verifyNonParallelClassesWithFactory()
53 private void createTest(XmlSuite xmlSuite, String className) { in createTest()
60 private void verifyExpected(XmlSuite.ParallelMode parallelMode, int expectedThreadCount) { in verifyExpected()
64 private void verifyExpected(XmlSuite.ParallelMode parallelMode, int expectedThreadCount, in verifyExpected()
66 XmlSuite xmlSuite = new XmlSuite(); in verifyExpected()
75 tng.setXmlSuites(Arrays.asList(new XmlSuite[] { xmlSuite })); in verifyExpected()