/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 76 assertEquals("Expected two failures", 2, mResult.countResults(TestStatus.FAIL)); in testCountResults() 77 assertEquals("Expected one pass", 1, mResult.countResults(TestStatus.PASS)); in testCountResults() 92 assertEquals("Expected one failures", 1, mResult.countResults(TestStatus.FAIL)); in testMergeCase() 93 assertEquals("Expected two pass", 2, mResult.countResults(TestStatus.PASS)); in testMergeCase() 108 assertEquals("Expected one failures", 1, mResult.countResults(TestStatus.FAIL)); in testMergeCase_passToFail() 109 assertEquals("Expected two pass", 2, mResult.countResults(TestStatus.PASS)); in testMergeCase_passToFail()
|
D | ResultHandlerTest.java | 484 assertEquals("Expected 3 passes", 3, lightResult.countResults(TestStatus.PASS)); in checkLightResult() 485 assertEquals("Expected 1 failure", 1, lightResult.countResults(TestStatus.FAIL)); in checkLightResult() 516 assertEquals("Expected 3 passes", 3, result.countResults(TestStatus.PASS)); in checkResult() 517 assertEquals("Expected 1 failure", 1, result.countResults(TestStatus.FAIL)); in checkResult() 537 assertEquals("Expected 1 pass", 1, moduleA.countResults(TestStatus.PASS)); in checkResult() 538 assertEquals("Expected 0 failures", 0, moduleA.countResults(TestStatus.FAIL)); in checkResult() 560 assertEquals("Expected 2 passes", 2, moduleB.countResults(TestStatus.PASS)); in checkResult() 561 assertEquals("Expected 1 failure", 1, moduleB.countResults(TestStatus.FAIL)); in checkResult()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporterTest.java | 160 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testResultReporting() 161 assertEquals("Expected 2 failures", 2, result.countResults(TestStatus.FAIL)); in testResultReporting() 215 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testRepeatedExecutions() 216 assertEquals("Expected 2 failures", 2, result.countResults(TestStatus.FAIL)); in testRepeatedExecutions() 279 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testRetry() 280 assertEquals("Expected 1 failure", 1, result.countResults(TestStatus.FAIL)); in testRetry() 335 assertEquals("Expected 2 pass", 2, result.countResults(TestStatus.PASS)); in testRetryCanSetDone() 336 assertEquals("Expected 0 failures", 0, result.countResults(TestStatus.FAIL)); in testRetryCanSetDone() 374 assertEquals("Expected 2 pass", 2, result.countResults(TestStatus.PASS)); in testRetryCannotSetDone() 375 assertEquals("Expected 0 failures", 0, result.countResults(TestStatus.FAIL)); in testRetryCannotSetDone() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 214 assertEquals(2, result.countResults(TestStatus.PASS)); in testSingleModuleRun() 215 assertEquals(1, result.countResults(TestStatus.FAIL)); in testSingleModuleRun() 317 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete() 318 assertEquals(1, result.countResults(TestStatus.FAIL)); in testSingleModuleRun_incomplete() 347 assertEquals(2, result.countResults(TestStatus.PASS)); in testSingleModuleRun_completeAfterInternalRetry() 348 assertEquals(1, result.countResults(TestStatus.FAIL)); in testSingleModuleRun_completeAfterInternalRetry() 386 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete_rerun_incomplete() 387 assertEquals(1, result.countResults(TestStatus.FAIL)); in testSingleModuleRun_incomplete_rerun_incomplete() 416 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete_rerun_incomplete() 417 assertEquals(1, result.countResults(TestStatus.FAIL)); in testSingleModuleRun_incomplete_rerun_incomplete() [all …]
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ModuleResult.java | 246 public int countResults(TestStatus status) { in countResults() method in ModuleResult 249 total += result.countResults(status); in countResults()
|
D | InvocationResult.java | 71 public int countResults(TestStatus result) { in countResults() method in InvocationResult 74 total += m.countResults(result); in countResults()
|
D | LightInvocationResult.java | 68 mResultCounts.put(status, result.countResults(status)); in LightInvocationResult() 88 public int countResults(TestStatus result) { in countResults() method in LightInvocationResult
|
D | ICaseResult.java | 56 int countResults(TestStatus status); in countResults() method
|
D | IModuleResult.java | 145 int countResults(TestStatus status); in countResults() method
|
D | IInvocationResult.java | 41 int countResults(TestStatus result); in countResults() method
|
D | CaseResult.java | 97 public int countResults(TestStatus status) { in countResults() method in CaseResult
|
D | ChecksumReporter.java | 334 .append(module.countResults(TestStatus.FAIL)); in generateModuleResultSignature() 343 .append(module.countResults(TestStatus.FAIL)); in generateModuleSummarySignature()
|
D | ResultHandler.java | 391 int passed = result.countResults(TestStatus.PASS); in writeResults() 392 int failed = result.countResults(TestStatus.FAIL); in writeResults() 498 Integer.toString(module.countResults(TestStatus.PASS))); in writeResults()
|
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/ |
D | ModuleResultTest.java | 74 assertEquals("Expected two failures", 2, mResult.countResults(TestStatus.FAIL)); in testCountResults() 75 assertEquals("Expected one pass", 1, mResult.countResults(TestStatus.PASS)); in testCountResults()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | SubPlanHelper.java | 319 if (module.countResults(status) > 0) { in shouldRunModule() 341 if (module.countResults(status) > 0) { in shouldRunEntireModule()
|
D | ResultReporter.java | 658 mResult.countResults(TestStatus.PASS), in finalizeResults() 659 mResult.countResults(TestStatus.FAIL), in finalizeResults()
|