Home
last modified time | relevance | path

Searched refs:getThreadCount (Results 1 – 10 of 10) sorted by relevance

/external/testng/src/test/java/test/thread/
DDataProviderThreadPoolSizeTest.java16 Assert.assertEquals(DataProviderThreadPoolSizeSampleTest.getThreadCount(), 10); in shouldUseDefaultDataProviderThreadCount()
24 Assert.assertEquals(DataProviderThreadPoolSizeSampleTest.getThreadCount(), 1); in shouldNotUseThreadsIfNotUsingParallel()
33 Assert.assertEquals(DataProviderThreadPoolSizeSampleTest.getThreadCount(), 3); in shouldUseSpecifiedDataProviderThreadCount()
DParallelSuiteTest.java40 Assert.assertEquals(BaseThreadTest.getThreadCount(), SUITE_THREAD_POOL_SIZE); in suitesShouldRunInParallel3()
57 Assert.assertEquals(BaseThreadTest.getThreadCount(), expectedThreadCount, in runTest()
59 + " actual:" + BaseThreadTest.getThreadCount()); in runTest()
95 Assert.assertEquals(BaseThreadTest.getThreadCount(), 1); in suitesShouldRunInOrder()
DBaseThreadTest.java53 static int getThreadCount() { in getThreadCount() method in BaseThreadTest
71 Assert.assertEquals(getThreadCount(), expected, in verifyThreads()
72 "Ran on " + getThreadCount() + " threads instead of " + expected); in verifyThreads()
/external/testng/src/main/java/org/testng/xml/dom/
DXDom.java291 Assert.assertEquals(s.getThreadCount(), 2); in test()
354 Assert.assertEquals(t.getThreadCount(), 42); in testNoPackage()
/external/testng/src/main/java/org/testng/xml/
DXmlSuite.java382 public int getThreadCount() { in getThreadCount() method in XmlSuite
476 XmlUtils.setProperty(p, "thread-count", String.valueOf(getThreadCount()), in toXml()
637 result.setThreadCount(getThreadCount()); in clone()
DXmlTest.java196 public int getThreadCount() { in getThreadCount() method in XmlTest
197 return m_threadCount > 0 ? m_threadCount : getSuite().getThreadCount(); in getThreadCount()
/external/testng/src/main/java/org/testng/remote/
DSuiteDispatcher.java112 tmpSuite.setThreadCount(suite.getThreadCount()); in dispatch()
/external/testng/src/main/java/org/testng/internal/
DYaml.java88 maybeAdd(result, "threadCount", suite.getThreadCount(), XmlSuite.DEFAULT_THREAD_COUNT); in toYaml()
/external/testng/src/main/java/org/testng/
DSuiteRunner.java385 ThreadUtil.execute(tasks, m_suite.getThreadCount(), in runInParallelTestMode()
DTestRunner.java745 int threadCount = parallel ? xmlTest.getThreadCount() : 1; in privateRun()