/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 48 final int numTests = 5; in testRegularExecution() local 49 mListener.testRunStarted("run1", numTests); in testRegularExecution() 50 for (int i = 0; i < numTests; i++) { in testRegularExecution() 56 assertEquals(numTests, mListener.getNumTotalTests()); in testRegularExecution() 57 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testRegularExecution() 63 final int numTests = 5; in testRun_missingTests() local 64 mListener.testRunStarted("run1", numTests); in testRun_missingTests() 65 TestDescription tid = new TestDescription("class", "test" + numTests); in testRun_missingTests() 71 assertEquals(numTests, mListener.getNumTotalTests()); in testRun_missingTests() 81 final int numTests = 5; in testInternalRerun() local [all …]
|
D | ModuleMergerTest.java | 148 assertEquals(2, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite() 149 assertEquals(2, split2.getDirectModule().numTests()); in testMergeSplittedITestSuite() 151 assertEquals(4, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite()
|
D | ITestSuiteMultiTest.java | 73 public TestSuiteMultiDeviceImpl(int numTests, ITargetPreparer targetPrep) { in TestSuiteMultiDeviceImpl() argument 74 mNumTests = numTests; in TestSuiteMultiDeviceImpl()
|
D | ITestSuiteTest.java | 104 public TestSuiteImpl(int numTests) { in TestSuiteImpl() argument 105 mNumTests = numTests; in TestSuiteImpl()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 67 int numTests = 5; in testMultiPolling() local 69 for (int i = 0; i < numTests; i++) { in testMultiPolling() 76 assertEquals(numTests, testsList.size()); in testMultiPolling() 78 assertEquals(numTests - 1, testsList.size()); in testMultiPolling() 80 assertEquals(numTests - 2, testsList.size()); in testMultiPolling() 96 int numTests = 5; in testPollingRun() local 98 for (int i = 0; i < numTests; i++) { in testPollingRun() 108 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 110 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 128 int numTests = 5; in testRun_runtimeException() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 57 public void testRunStarted(String name, int numTests) { in testRunStarted() argument 60 mExpectedTestCount += numTests; in testRunStarted() 65 mExpectedTestCount += numTests; in testRunStarted() 68 super.testRunStarted(name, numTests); in testRunStarted()
|
D | ModuleDefinition.java | 185 public int numTests() { in numTests() method in ModuleDefinition
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/ |
D | Metrics.java | 57 public void setNumTests(int numTests) { in setNumTests() argument 59 mNumTests = numTests; in setNumTests() 61 if (mNumTests != numTests) { in setNumTests() 65 mNumTests, numTests); in setNumTests()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GoogleBenchmarkTest.java | 163 int numTests = countExpectedTests(testDevice, root); in doRunAllTestsInSubdirectory() local 164 if (numTests == 0) { in doRunAllTestsInSubdirectory() 172 listener.testRunStarted(runName, numTests); in doRunAllTestsInSubdirectory()
|
D | GTestResultParser.java | 496 Matcher numTests = numTestsPattern.matcher(identifier); in processRunStartedTag() local 499 if (numTests.find()) { in processRunStartedTag() 501 mNumTestsExpected = Integer.parseInt(numTests.group(1)); in processRunStartedTag() 506 numTests.group(1)); in processRunStartedTag()
|
D | CodeCoverageTestBase.java | 381 double numTests = collectTests(target).size(); in getNumberOfShards() local 382 return (int)Math.ceil(numTests / getMaxTestsPerChunk()); in getNumberOfShards()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 96 public void testRunStarted(String name, int numTests) { in testRunStarted() argument 97 super.testRunStarted(name, numTests); in testRunStarted() 99 mModuleExpectedTests.put(name, numTests); in testRunStarted() 101 mModuleExpectedTests.put(name, mModuleExpectedTests.get(name) + numTests); in testRunStarted()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 136 public void testRunStarted(String name, int numTests) { in testRunStarted() argument 151 mCurrentResults.testRunStarted(name, numTests); in testRunStarted()
|