/external/testng/src/test/java/test/thread/ |
D | ParallelTestTest.java | 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() 60 private void verifyExpected(XmlSuite.ParallelMode parallelMode, int expectedThreadCount) { in verifyExpected() 64 private void verifyExpected(XmlSuite.ParallelMode parallelMode, int expectedThreadCount, in verifyExpected()
|
D | FactoryTest.java | 26 runTest(XmlSuite.ParallelMode.METHODS, 2); in verifyFactoryParallelMethods() 31 runTest(XmlSuite.ParallelMode.TESTS, 1); in verifyFactoryParallelTests() 34 private void runTest(XmlSuite.ParallelMode parallelMode, int expectedThreadIdCount) { in runTest()
|
D | TrueParallelTest.java | 27 s.setParallel(XmlSuite.ParallelMode.METHODS); in shouldRunInParallel()
|
D | SequentialTest.java | 64 setParallel(XmlSuite.ParallelMode.METHODS); in runTest()
|
D | MultiThreadedDependentTest.java | 74 tng.setParallel(XmlSuite.ParallelMode.METHODS); in test()
|
/external/testng/src/test/java/test/timeout/ |
D | TimeOutTest.java | 19 private void privateTimeOutTest(XmlSuite.ParallelMode parallel) { in privateTimeOutTest() 32 …final Iterator<XmlSuite.ParallelMode> parallelModes = Arrays.asList(XmlSuite.ParallelMode.values()… in createData() 53 public void timeOutInParallel(XmlSuite.ParallelMode parallelMode) {
|
D | TimeOutIntegrationTest.java | 14 tng.setParallel(XmlSuite.ParallelMode.TESTS); in testTimeOutWhenParallelIsTest()
|
/external/testng/src/main/java/org/testng/xml/ |
D | XmlSuite.java | 31 public enum ParallelMode { enum in XmlSuite 34 public static XmlSuite.ParallelMode getValidParallel(String parallel) { in getValidParallel() 39 return XmlSuite.ParallelMode.valueOf(parallel.toUpperCase()); in getValidParallel() 67 public static final ParallelMode DEFAULT_PARALLEL = ParallelMode.FALSE; 68 private ParallelMode m_parallel = DEFAULT_PARALLEL; 163 public ParallelMode getParallel() { in getParallel() 190 setParallel((ParallelMode)null); in setParallel() 192 setParallel(XmlSuite.ParallelMode.getValidParallel(parallel)); in setParallel() 200 public void setParallel(ParallelMode parallel) { in setParallel() 468 final ParallelMode parallel= getParallel(); in toXml()
|
D | TestNGContentHandler.java | 161 XmlSuite.ParallelMode mode = XmlSuite.ParallelMode.getValidParallel(parallel); in xmlSuite() 300 XmlSuite.ParallelMode mode = XmlSuite.ParallelMode.getValidParallel(parallel); in xmlTest()
|
D | XmlTest.java | 41 private XmlSuite.ParallelMode m_parallel; 387 public void setParallel(XmlSuite.ParallelMode parallel) { in setParallel() 391 public XmlSuite.ParallelMode getParallel() { in getParallel() 392 XmlSuite.ParallelMode result; in getParallel()
|
D | LaunchSuite.java | 146 attrs.setProperty("parallel", XmlSuite.ParallelMode.NONE.toString()); in createContentBuffer()
|
/external/testng/src/main/java/org/testng/ |
D | TestRunner.java | 732 private static final EnumSet<XmlSuite.ParallelMode> PRIVATE_RUN_PARALLEL_MODES 733 = EnumSet.of(XmlSuite.ParallelMode.METHODS, XmlSuite.ParallelMode.TRUE, 734 XmlSuite.ParallelMode.CLASSES, XmlSuite.ParallelMode.INSTANCES); 740 XmlSuite.ParallelMode parallelMode = xmlTest.getParallel(); in privateRun() 830 if (XmlSuite.ParallelMode.INSTANCES.equals(m_xmlTest.getParallel())) { in createWorkers() 853 XmlSuite.ParallelMode.CLASSES.equals(m_xmlTest.getParallel())) { in createClassBasedParallelWorkers() 996 private static final EnumSet<XmlSuite.ParallelMode> WORKERS_PARALLEL_MODES 997 = EnumSet.of(XmlSuite.ParallelMode.METHODS, XmlSuite.ParallelMode.TRUE, 998 XmlSuite.ParallelMode.CLASSES); 1090 && getCurrentXmlTest().getParallel() == XmlSuite.ParallelMode.FALSE in createDynamicGraph()
|
D | TestNG.java | 161 private XmlSuite.ParallelMode m_parallelMode = XmlSuite.ParallelMode.FALSE; 478 setParallel(XmlSuite.ParallelMode.FALSE); in setParallel() 480 setParallel(XmlSuite.ParallelMode.getValidParallel(parallel)); in setParallel() 484 public void setParallel(XmlSuite.ParallelMode parallel) { in setParallel() 1587 result.parallelMode = XmlSuite.ParallelMode.getValidParallel(parallelMode); in configure()
|
D | CommandLineArgs.java | 61 public XmlSuite.ParallelMode parallelMode;
|
D | SuiteRunner.java | 317 boolean testsInParallel = XmlSuite.ParallelMode.TESTS.equals(m_suite.getParallel()); in privateRun()
|
/external/testng/src/test/java/test/testng285/ |
D | TestNG285Test.java | 14 setParallel(XmlSuite.ParallelMode.METHODS); in verifyBug()
|
/external/testng/src/test/java/test/configuration/ |
D | BeforeClassThreadTest.java | 15 tng.setParallel(XmlSuite.ParallelMode.METHODS); in beforeClassMethodsShouldRunInParallel()
|
/external/testng/src/test/java/test/testng387/ |
D | TestNG387.java | 18 tng.setParallel(XmlSuite.ParallelMode.FALSE); in testInvocationCounterIsCorrectForMethodWithDataProvider()
|
/external/testng/src/test/java/test/priority/ |
D | PriorityTest.java | 14 if (parallel) tng.setParallel(XmlSuite.ParallelMode.METHODS); in runTest()
|
/external/testng/src/test/java/test/methodinterceptors/ |
D | MethodInterceptorTest.java | 116 tng.setParallel(XmlSuite.ParallelMode.METHODS); in shouldNotLockUpWithInterceptorThatRemovesMethods()
|
/external/testng/src/main/java/org/testng/internal/ |
D | Yaml.java | 270 if (node.getType().equals(XmlSuite.ParallelMode.class)) { in construct() 272 return XmlSuite.ParallelMode.getValidParallel(parallel); in construct()
|
D | MethodInvocationHelper.java | 229 … && testResult.getTestContext().getCurrentXmlTest().getParallel() != XmlSuite.ParallelMode.TESTS) { in invokeWithTimeout()
|
/external/testng/src/test/java/test/invokedmethodlistener/ |
D | InvokedMethodListenerTest.java | 128 tng.setParallel(XmlSuite.ParallelMode.FALSE); in assertIssue87()
|
/external/testng/src/test/java/test/ |
D | BaseTest.java | 67 protected void setParallel(XmlSuite.ParallelMode parallel) { in setParallel()
|