Home
last modified time | relevance | path

Searched refs:countResults (Results 1 – 16 of 16) sorted by relevance

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCaseResultTest.java76 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()
DResultHandlerTest.java484 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/
DResultReporterTest.java160 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/
DIntegrationTest.java214 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/
DModuleResult.java246 public int countResults(TestStatus status) { in countResults() method in ModuleResult
249 total += result.countResults(status); in countResults()
DInvocationResult.java71 public int countResults(TestStatus result) { in countResults() method in InvocationResult
74 total += m.countResults(result); in countResults()
DLightInvocationResult.java68 mResultCounts.put(status, result.countResults(status)); in LightInvocationResult()
88 public int countResults(TestStatus result) { in countResults() method in LightInvocationResult
DICaseResult.java56 int countResults(TestStatus status); in countResults() method
DIModuleResult.java145 int countResults(TestStatus status); in countResults() method
DIInvocationResult.java41 int countResults(TestStatus result); in countResults() method
DCaseResult.java97 public int countResults(TestStatus status) { in countResults() method in CaseResult
DChecksumReporter.java334 .append(module.countResults(TestStatus.FAIL)); in generateModuleResultSignature()
343 .append(module.countResults(TestStatus.FAIL)); in generateModuleSummarySignature()
DResultHandler.java391 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/
DModuleResultTest.java74 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/
DSubPlanHelper.java319 if (module.countResults(status) > 0) { in shouldRunModule()
341 if (module.countResults(status) > 0) { in shouldRunEntireModule()
DResultReporter.java658 mResult.countResults(TestStatus.PASS), in finalizeResults()
659 mResult.countResults(TestStatus.FAIL), in finalizeResults()