Searched refs:runResult (Results 1 – 14 of 14) sorted by relevance
64 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testSingleRun() local66 assertThat(runResult.isRunComplete()).isTrue(); in testSingleRun()67 assertThat(runResult.isRunFailure()).isFalse(); in testSingleRun()69 assertThat(runResult.getTestResults().get(test).getStatus()).isEqualTo(TestStatus.PASSED); in testSingleRun()70 assertThat(runResult.getTestResults().get(test).getStartTime()).isGreaterThan(0L); in testSingleRun()71 assertThat(runResult.getTestResults().get(test).getEndTime()) in testSingleRun()72 .isGreaterThan(runResult.getTestResults().get(test).getStartTime() - 1); in testSingleRun()81 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testRunFailed() local82 assertThat(runResult.isRunComplete()).isTrue(); in testRunFailed()83 assertThat(runResult.isRunFailure()).isTrue(); in testRunFailed()[all …]
203 for (TestRunResult runResult : runResults) { in testModuleEnded()204 forwardRunResults(runResult, i); in testModuleEnded()205 resultNames.add(runResult.getName()); in testModuleEnded()209 for (TestRunResult runResult : getMergedTestRunResults()) { in testModuleEnded()211 forwardRunResults(runResult, 0); in testModuleEnded()212 resultNames.add(runResult.getName()); in testModuleEnded()237 private void forwardRunResults(TestRunResult runResult, int attempt) { in forwardRunResults() argument239 runResult.getName(), in forwardRunResults()240 runResult.getExpectedTestCount(), in forwardRunResults()242 runResult.getStartTime()); in forwardRunResults()[all …]
628 TestRunResult runResult = in runDeviceTests() local645 mLatestInstruRes = runResult; in runDeviceTests()646 printTestResult(runResult); in runDeviceTests()648 if (runResult.isRunFailure()) { in runDeviceTests()651 + runResult.getName() in runDeviceTests()653 + runResult.getRunFailureMessage()); in runDeviceTests()655 if (runResult.getNumTests() == 0) { in runDeviceTests()658 if (runResult.hasFailedTests()) { in runDeviceTests()662 runResult.getTestResults().entrySet()) { in runDeviceTests()673 runResult.getTestsResultsInState(TestStatus.ASSUMPTION_FAILURE); in runDeviceTests()[all …]
202 for (TestRunResult runResult : runResults) { in convertMetricsToJson()204 if (mSkipFailedRuns && runResult.isRunFailure()) { in convertMetricsToJson()209 if (runResult.getRunMetrics().size() > 0) { in convertMetricsToJson()210 JSONObject runResultMetrics = new JSONObject(runResult.getRunMetrics()); in convertMetricsToJson()211 String reportingUnit = runResult.getName(); in convertMetricsToJson()220 Map<TestDescription, TestResult> testResultMap = runResult.getTestResults(); in convertMetricsToJson()228 reportingUnitParts.add(0, runResult.getName()); in convertMetricsToJson()
136 for (TestRunResult runResult : getMergedTestRunResults()) { in printRunResults()137 printRunMetrics(serializer, runResult.getRunMetrics()); in printRunResults()138 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printRunResults()
162 for (TestRunResult runResult : getMergedTestRunResults()) { in printTestResults()164 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults()
109 TestRunResult runResult = listener.getCurrentRunResults(); in getSimInfo() local110 if (!runResult.isRunComplete()) { in getSimInfo()114 if (runResult.isRunFailure()) { in getSimInfo()115 CLog.e("TelephonyHelper run failure: %s", runResult.getRunFailureMessage()); in getSimInfo()118 TestResult testResult = runResult.getTestResults().get(SIM_TEST); in getSimInfo()
111 TestRunResult runResult = listener.getCurrentRunResults(); in fetchCoverageFilePath() local112 Map<String, String> metrics = runResult.getRunMetrics(); in fetchCoverageFilePath()
345 for (TestRunResult runResult : mergedResults) { in testModuleEnded()346 forwardTestResults(runResult.getTestResults(), mAggregatedForwarder); in testModuleEnded()347 if (runResult.isRunFailure()) { in testModuleEnded()348 mAggregatedForwarder.testRunFailed(runResult.getRunFailureDescription()); in testModuleEnded()351 for (String key : runResult.getRunLoggedFiles().keySet()) { in testModuleEnded()352 for (LogFile logFile : runResult.getRunLoggedFiles().get(key)) { in testModuleEnded()
652 for (TestRunResult runResult : listResults) { in reportFinalResults()653 numResults += runResult.getTestResults().size(); in reportFinalResults()654 forwardTestResults(runResult.getTestResults(), listener); in reportFinalResults()655 if (runResult.isRunFailure()) { in reportFinalResults()656 runFailureMessages.add(runResult.getRunFailureDescription()); in reportFinalResults()658 elapsedTime += runResult.getElapsedTime(); in reportFinalResults()660 metricsProto.putAll(runResult.getRunProtoMetrics()); in reportFinalResults()661 aggLogFiles.putAll(runResult.getRunLoggedFiles()); in reportFinalResults()
181 TestRunResult runResult = createTestRunResult("run1", 5, 1); in testReplay_MultiTest() local190 mPlayer.addToReplay(null, runResult, entry); in testReplay_MultiTest()199 mPlayer.addToReplay(null, runResult, entry2); in testReplay_MultiTest()
178 String runResult = in logResult() local182 table.addLine(runResult).addSingleLineSeparator(); in logResult()
574 for (TestRunResult runResult : resultCollector) { in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()575 assertEquals(2, runResult.getNumTests()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()577 TestStatus.FAILURE, runResult.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()579 TestStatus.PASSED, runResult.getTestResults().get(fakeTestCase2).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...