Home
last modified time | relevance | path

Searched refs:runResult (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java64 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testSingleRun() local
66 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() local
82 assertThat(runResult.isRunComplete()).isTrue(); in testRunFailed()
83 assertThat(runResult.isRunFailure()).isTrue(); in testRunFailed()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java203 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() argument
239 runResult.getName(), in forwardRunResults()
240 runResult.getExpectedTestCount(), in forwardRunResults()
242 runResult.getStartTime()); in forwardRunResults()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java628 TestRunResult runResult = in runDeviceTests() local
645 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 …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java202 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()
DMetricsXMLResultReporter.java136 for (TestRunResult runResult : getMergedTestRunResults()) { in printRunResults()
137 printRunMetrics(serializer, runResult.getRunMetrics()); in printRunResults()
138 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printRunResults()
DXmlResultReporter.java162 for (TestRunResult runResult : getMergedTestRunResults()) { in printTestResults()
164 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults()
/tools/tradefederation/core/src/com/android/tradefed/device/helper/
DTelephonyHelper.java109 TestRunResult runResult = listener.getCurrentRunResults(); in getSimInfo() local
110 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()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DCodeCoverageTest.java111 TestRunResult runResult = listener.getCurrentRunResults(); in fetchCoverageFilePath() local
112 Map<String, String> metrics = runResult.getRunMetrics(); in fetchCoverageFilePath()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java345 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()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java652 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()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java181 TestRunResult runResult = createTestRunResult("run1", 5, 1); in testReplay_MultiTest() local
190 mPlayer.addToReplay(null, runResult, entry); in testReplay_MultiTest()
199 mPlayer.addToReplay(null, runResult, entry2); in testReplay_MultiTest()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DDetectRegression.java178 String runResult = in logResult() local
182 table.addLine(runResult).addSingleLineSeparator(); in logResult()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java574 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()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...