Home
last modified time | relevance | path

Searched refs:ParallelMode (Results 1 – 24 of 24) sorted by relevance

/external/testng/src/test/java/test/thread/
DParallelTestTest.java22 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()
DFactoryTest.java26 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()
DTrueParallelTest.java27 s.setParallel(XmlSuite.ParallelMode.METHODS); in shouldRunInParallel()
DSequentialTest.java64 setParallel(XmlSuite.ParallelMode.METHODS); in runTest()
DMultiThreadedDependentTest.java74 tng.setParallel(XmlSuite.ParallelMode.METHODS); in test()
/external/testng/src/test/java/test/timeout/
DTimeOutTest.java19 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) {
DTimeOutIntegrationTest.java14 tng.setParallel(XmlSuite.ParallelMode.TESTS); in testTimeOutWhenParallelIsTest()
/external/testng/src/main/java/org/testng/xml/
DXmlSuite.java31 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()
DTestNGContentHandler.java161 XmlSuite.ParallelMode mode = XmlSuite.ParallelMode.getValidParallel(parallel); in xmlSuite()
300 XmlSuite.ParallelMode mode = XmlSuite.ParallelMode.getValidParallel(parallel); in xmlTest()
DXmlTest.java41 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()
DLaunchSuite.java146 attrs.setProperty("parallel", XmlSuite.ParallelMode.NONE.toString()); in createContentBuffer()
/external/testng/src/main/java/org/testng/
DTestRunner.java732 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()
DTestNG.java161 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()
DCommandLineArgs.java61 public XmlSuite.ParallelMode parallelMode;
DSuiteRunner.java317 boolean testsInParallel = XmlSuite.ParallelMode.TESTS.equals(m_suite.getParallel()); in privateRun()
/external/testng/src/test/java/test/testng285/
DTestNG285Test.java14 setParallel(XmlSuite.ParallelMode.METHODS); in verifyBug()
/external/testng/src/test/java/test/configuration/
DBeforeClassThreadTest.java15 tng.setParallel(XmlSuite.ParallelMode.METHODS); in beforeClassMethodsShouldRunInParallel()
/external/testng/src/test/java/test/testng387/
DTestNG387.java18 tng.setParallel(XmlSuite.ParallelMode.FALSE); in testInvocationCounterIsCorrectForMethodWithDataProvider()
/external/testng/src/test/java/test/priority/
DPriorityTest.java14 if (parallel) tng.setParallel(XmlSuite.ParallelMode.METHODS); in runTest()
/external/testng/src/test/java/test/methodinterceptors/
DMethodInterceptorTest.java116 tng.setParallel(XmlSuite.ParallelMode.METHODS); in shouldNotLockUpWithInterceptorThatRemovesMethods()
/external/testng/src/main/java/org/testng/internal/
DYaml.java270 if (node.getType().equals(XmlSuite.ParallelMode.class)) { in construct()
272 return XmlSuite.ParallelMode.getValidParallel(parallel); in construct()
DMethodInvocationHelper.java229 … && testResult.getTestContext().getCurrentXmlTest().getParallel() != XmlSuite.ParallelMode.TESTS) { in invokeWithTimeout()
/external/testng/src/test/java/test/invokedmethodlistener/
DInvokedMethodListenerTest.java128 tng.setParallel(XmlSuite.ParallelMode.FALSE); in assertIssue87()
/external/testng/src/test/java/test/
DBaseTest.java67 protected void setParallel(XmlSuite.ParallelMode parallel) { in setParallel()