Home
last modified time | relevance | path

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

/cts/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.java236 assertEquals("Expected 2 passes", 2, result.countResults(TestStatus.PASS)); in checkResult()
237 assertEquals("Expected 1 failure", 1, result.countResults(TestStatus.FAIL)); in checkResult()
238 assertEquals("Expected 1 not executed", 1, result.countResults(TestStatus.NOT_EXECUTED)); in checkResult()
257 assertEquals("Expected 1 pass", 1, moduleA.countResults(TestStatus.PASS)); in checkResult()
258 assertEquals("Expected 0 failures", 0, moduleA.countResults(TestStatus.FAIL)); in checkResult()
259 assertEquals("Expected 1 not executed", 1, moduleA.countResults(TestStatus.NOT_EXECUTED)); in checkResult()
289 assertEquals("Expected 1 pass", 1, moduleB.countResults(TestStatus.PASS)); in checkResult()
290 assertEquals("Expected 1 failure", 1, moduleB.countResults(TestStatus.FAIL)); in checkResult()
291 assertEquals("Expected 0 not executed", 0, moduleB.countResults(TestStatus.NOT_EXECUTED)); in checkResult()
DModuleResultTest.java72 assertEquals("Expected two failures", 2, mResult.countResults(TestStatus.FAIL)); in testCountResults()
73 assertEquals("Expected one pass", 1, mResult.countResults(TestStatus.PASS)); in testCountResults()
/cts/common/util/src/com/android/compatibility/common/util/
DModuleResult.java134 public int countResults(TestStatus status) { in countResults() method in ModuleResult
137 total += result.countResults(status); in countResults()
DInvocationResult.java54 public int countResults(TestStatus result) { in countResults() method in InvocationResult
57 total += m.countResults(result); in countResults()
DICaseResult.java56 int countResults(TestStatus status); in countResults() method
DIModuleResult.java63 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
DResultHandler.java231 int passed = result.countResults(TestStatus.PASS); in writeResults()
232 int failed = result.countResults(TestStatus.FAIL); in writeResults()
233 int notExecuted = result.countResults(TestStatus.NOT_EXECUTED); in writeResults()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java132 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testResultReporting()
133 assertEquals("Expected 2 failures", 2, result.countResults(TestStatus.FAIL)); in testResultReporting()
168 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testResultReporting_moduleNotDone()
169 assertEquals("Expected 0 failures", 0, result.countResults(TestStatus.FAIL)); in testResultReporting_moduleNotDone()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java340 Integer.toString(result.countResults(TestStatus.PASS)), in listResults()
341 Integer.toString(result.countResults(TestStatus.FAIL)), in listResults()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java445 mResult.countResults(TestStatus.PASS), in finalizeResults()
446 mResult.countResults(TestStatus.FAIL), in finalizeResults()