/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 93 int numTests = 5; in testMultiPolling() local 95 for (int i = 0; i < numTests; i++) { in testMultiPolling() 102 assertEquals(numTests, testsList.size()); in testMultiPolling() 104 assertEquals(numTests - 1, testsList.size()); in testMultiPolling() 106 assertEquals(numTests - 2, testsList.size()); in testMultiPolling() 125 int numTests = 5; in testPollingRun() local 128 for (int i = 0; i < numTests - 1; i++) { in testPollingRun() 139 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 141 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 162 int numTests = 5; in testRun_runtimeException() local [all …]
|
D | StrictShardHelperTest.java | 296 assertEquals(2, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testMergeSuite_shard0() 300 assertEquals(1, ((ITestSuite) res.get(1)).getDirectModule().numTests()); in testMergeSuite_shard0() 304 assertEquals(1, ((ITestSuite) res.get(2)).getDirectModule().numTests()); in testMergeSuite_shard0() 314 assertEquals(1, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testMergeSuite_shard1() 318 assertEquals(1, ((ITestSuite) res.get(1)).getDirectModule().numTests()); in testMergeSuite_shard1() 322 assertEquals(2, ((ITestSuite) res.get(2)).getDirectModule().numTests()); in testMergeSuite_shard1() 332 assertEquals(4, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testMergeSuite_shard2() 336 assertEquals(1, ((ITestSuite) res.get(1)).getDirectModule().numTests()); in testMergeSuite_shard2() 340 assertEquals(1, ((ITestSuite) res.get(2)).getDirectModule().numTests()); in testMergeSuite_shard2() 399 assertEquals(1, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testSuite_withAllInterfaces()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 52 final int numTests = 5; in testRegularExecution() local 53 mListener.testRunStarted("run1", numTests); in testRegularExecution() 54 for (int i = 0; i < numTests; i++) { in testRegularExecution() 60 assertEquals(numTests, mListener.getNumTotalTests()); in testRegularExecution() 61 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testRegularExecution() 67 final int numTests = 5; in testRun_missingTests() local 68 mListener.testRunStarted("run1", numTests); in testRun_missingTests() 69 TestDescription tid = new TestDescription("class", "test" + numTests); in testRun_missingTests() 76 assertEquals(numTests, mListener.getExpectedTests()); in testRun_missingTests() 87 final int numTests = 5; in testInternalRerun() local [all …]
|
D | ModuleMergerTest.java | 167 assertEquals(2, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite() 168 assertEquals(2, split2.getDirectModule().numTests()); in testMergeSplittedITestSuite() 170 assertEquals(4, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite()
|
D | ITestSuiteTest.java | 143 public TestSuiteImpl(int numTests) { in TestSuiteImpl() argument 144 this(numTests, null); in TestSuiteImpl() 147 public TestSuiteImpl(int numTests, ITargetPreparer preparer) { in TestSuiteImpl() argument 148 mNumTests = numTests; in TestSuiteImpl()
|
D | ITestSuiteMultiTest.java | 75 public TestSuiteMultiDeviceImpl(int numTests, ITargetPreparer targetPrep) { in TestSuiteMultiDeviceImpl() argument 76 mNumTests = numTests; in TestSuiteMultiDeviceImpl()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 167 public void testRunStarted(String name, int numTests) { in testRunStarted() argument 168 testRunStarted(name, numTests, 0); in testRunStarted() 183 public void testRunStarted(String name, int numTests, int attemptNumber) { in testRunStarted() argument 184 testRunStarted(name, numTests, attemptNumber, System.currentTimeMillis()); in testRunStarted() 189 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument 219 result.testRunStarted(name, numTests, startTime); in testRunStarted() 235 mCurrentTestRunResult.testRunStarted(name, numTests, startTime); in testRunStarted()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 64 public void testRunStarted(String name, int numTests, int attemptNumber) { in testRunStarted() argument 65 testRunStarted(name, numTests, attemptNumber, System.currentTimeMillis()); in testRunStarted() 69 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument 75 numTests = 0; in testRunStarted() 77 super.testRunStarted(name, numTests, attemptNumber, startTime); in testRunStarted() 81 CLog.d("ModuleListener.testRunStarted(%s, %s, %s)", name, numTests, attemptNumber); in testRunStarted()
|
D | ModuleDefinition.java | 243 public int numTests() { in numTests() method in ModuleDefinition
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandScheduler.java | 242 public void testRunStarted(String name, int numTests) { in testRunStarted() argument 243 testRunStarted(name, numTests, 0); in testRunStarted() 247 public void testRunStarted(String name, int numTests, int attemptNumber) { in testRunStarted() argument 248 testRunStarted(name, numTests, attemptNumber, System.currentTimeMillis()); in testRunStarted() 253 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument 254 super.testRunStarted(name, numTests, attemptNumber, startTime); in testRunStarted()
|
/tools/tradefederation/contrib/src/com/android/regression/tests/ |
D | Metrics.java | 56 public void setNumTests(int numTests) { in setNumTests() argument 58 mNumTests = numTests; in setNumTests() 60 if (mNumTests != numTests) { in setNumTests() 64 mNumTests, numTests); in setNumTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryReschedulerTest.java | 575 int numTests, in populateFakeResults() argument 581 numModule, numTests, failedTests, assumpFailure, parameterized, failedParam, null); in populateFakeResults() 586 int numTests, in populateFakeResults() argument 602 reporter.testRunStarted(runName, numTests); in populateFakeResults() 603 for (int j = 0; j < numTests - failedTests - assumpFailure - parameterized; j++) { in populateFakeResults()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestResultParser.java | 510 Matcher numTests = numTestsPattern.matcher(identifier); in processRunStartedTag() local 513 if (numTests.find()) { in processRunStartedTag() 515 mNumTestsExpected = Integer.parseInt(numTests.group(1)); in processRunStartedTag() 520 numTests.group(1)); in processRunStartedTag()
|
D | GoogleBenchmarkTest.java | 190 int numTests = filteredTests.size(); in doRunAllTestsInSubdirectory() local 191 if (numTests == 0) { in doRunAllTestsInSubdirectory() 199 listener.testRunStarted(runName, numTests); in doRunAllTestsInSubdirectory()
|
D | InstrumentationSerialTest.java | 120 public void testRunStarted(String name, int numTests, int attemptNumber) { in runTest()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTestTest.java | 85 static String runListOutput(int numTests) { in runListOutput() argument 87 for (int i = 1; i <= numTests; i++) { in runListOutput() 90 return listOutput + numTests + " tests, 0 benchmarks"; in runListOutput()
|
D | RustBinaryTestTest.java | 100 private String runListOutput(int numTests) { in runListOutput() argument 101 return RustBinaryHostTestTest.runListOutput(numTests); in runListOutput()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 149 public void testRunStarted(String name, int numTests, int attemptNumber, long startTime) { in testRunStarted() argument 150 super.testRunStarted(name, numTests, attemptNumber, startTime); in testRunStarted()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | PythonUnitTestResultParserTest.java | 572 private void setRunListenerChecks(int numTests, long time) { in setRunListenerChecks() argument 573 mMockListener.testRunStarted("test", numTests); in setRunListenerChecks()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | InstrumentationResultProtoParserTest.java | 945 int numTests, boolean isStart, boolean isFailure) { in getTestInfoProto() argument 953 entryList.add(ResultsBundleEntry.newBuilder().setKey("numtests").setValueInt(numTests) in getTestInfoProto()
|