/cts/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 | 236 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()
|
D | ModuleResultTest.java | 72 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/ |
D | ModuleResult.java | 134 public int countResults(TestStatus status) { in countResults() method in ModuleResult 137 total += result.countResults(status); in countResults()
|
D | InvocationResult.java | 54 public int countResults(TestStatus result) { in countResults() method in InvocationResult 57 total += m.countResults(result); in countResults()
|
D | ICaseResult.java | 56 int countResults(TestStatus status); in countResults() method
|
D | IModuleResult.java | 63 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 | ResultHandler.java | 231 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/ |
D | ResultReporterTest.java | 132 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/ |
D | CompatibilityConsole.java | 340 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/ |
D | ResultReporter.java | 445 mResult.countResults(TestStatus.PASS), in finalizeResults() 446 mResult.countResults(TestStatus.FAIL), in finalizeResults()
|