Searched refs:getThreadCount (Results 1 – 10 of 10) sorted by relevance
/external/testng/src/test/java/test/thread/ |
D | DataProviderThreadPoolSizeTest.java | 16 Assert.assertEquals(DataProviderThreadPoolSizeSampleTest.getThreadCount(), 10); in shouldUseDefaultDataProviderThreadCount() 24 Assert.assertEquals(DataProviderThreadPoolSizeSampleTest.getThreadCount(), 1); in shouldNotUseThreadsIfNotUsingParallel() 33 Assert.assertEquals(DataProviderThreadPoolSizeSampleTest.getThreadCount(), 3); in shouldUseSpecifiedDataProviderThreadCount()
|
D | ParallelSuiteTest.java | 40 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()
|
D | BaseThreadTest.java | 53 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/ |
D | XDom.java | 291 Assert.assertEquals(s.getThreadCount(), 2); in test() 354 Assert.assertEquals(t.getThreadCount(), 42); in testNoPackage()
|
/external/testng/src/main/java/org/testng/xml/ |
D | XmlSuite.java | 382 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()
|
D | XmlTest.java | 196 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/ |
D | SuiteDispatcher.java | 112 tmpSuite.setThreadCount(suite.getThreadCount()); in dispatch()
|
/external/testng/src/main/java/org/testng/internal/ |
D | Yaml.java | 88 maybeAdd(result, "threadCount", suite.getThreadCount(), XmlSuite.DEFAULT_THREAD_COUNT); in toYaml()
|
/external/testng/src/main/java/org/testng/ |
D | SuiteRunner.java | 385 ThreadUtil.execute(tasks, m_suite.getThreadCount(), in runInParallelTestMode()
|
D | TestRunner.java | 745 int threadCount = parallel ? xmlTest.getThreadCount() : 1; in privateRun()
|