Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java61 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testSingleRun() local
62 assertTrue(runResult.isRunComplete()); in testSingleRun()
63 assertFalse(runResult.isRunFailure()); in testSingleRun()
66 runResult.getTestResults().get(test).getStatus()); in testSingleRun()
67 assertTrue(runResult.getTestResults().get(test).getStartTime() > 0); in testSingleRun()
68 assertTrue(runResult.getTestResults().get(test).getEndTime() >= in testSingleRun()
69 runResult.getTestResults().get(test).getStartTime()); in testSingleRun()
79 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testRunFailed() local
80 assertTrue(runResult.isRunComplete()); in testRunFailed()
81 assertTrue(runResult.isRunFailure()); in testRunFailed()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java140 for (TestRunResult runResult : getRunResults()) { in invocationEnded()
143 && !getModuleContextForRunResult(runResult).equals(moduleContext)) { in invocationEnded()
147 if (moduleContext == null && getModuleContextForRunResult(runResult) != null) { in invocationEnded()
148 moduleContext = getModuleContextForRunResult(runResult); in invocationEnded()
152 mMasterListener.testRunStarted(runResult.getName(), runResult.getNumTests()); in invocationEnded()
153 forwardTestResults(runResult.getTestResults()); in invocationEnded()
154 if (runResult.isRunFailure()) { in invocationEnded()
155 mMasterListener.testRunFailed(runResult.getRunFailureMessage()); in invocationEnded()
159 forwardLogAssociation(runResult.getRunLoggedFiles(), mMasterListener); in invocationEnded()
162 runResult.getElapsedTime(), runResult.getRunProtoMetrics()); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java491 TestRunResult runResult = in runDeviceTests() local
503 mLatestInstruRes = runResult; in runDeviceTests()
504 printTestResult(runResult); in runDeviceTests()
506 if (runResult.isRunFailure()) { in runDeviceTests()
509 + runResult.getName() in runDeviceTests()
511 + runResult.getRunFailureMessage()); in runDeviceTests()
513 if (runResult.getNumTests() == 0) { in runDeviceTests()
516 if (runResult.hasFailedTests()) { in runDeviceTests()
520 runResult.getTestResults().entrySet()) { in runDeviceTests()
531 runResult.getNumTests() in runDeviceTests()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java155 for (TestRunResult runResult : runResults) { in convertMetricsToJson()
158 if (runResult.getRunMetrics().size() > 0) { in convertMetricsToJson()
159 JSONObject runResultMetrics = new JSONObject(runResult.getRunMetrics()); in convertMetricsToJson()
160 String reportingUnit = runResult.getName(); in convertMetricsToJson()
167 CLog.d("Skipping metrics for %s because results are empty.", runResult.getName()); in convertMetricsToJson()
171 Map<TestDescription, TestResult> testResultMap = runResult.getTestResults(); in convertMetricsToJson()
177 mIncludeRunName ? runResult.getName() : null, in convertMetricsToJson()
DMetricsXMLResultReporter.java136 for (TestRunResult runResult : getRunResults()) { in printRunResults()
137 printRunMetrics(serializer, runResult.getRunMetrics()); in printRunResults()
138 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printRunResults()
DXmlResultReporter.java162 for (TestRunResult runResult : getRunResults()) { in printTestResults()
164 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageTest.java109 TestRunResult runResult = listener.getCurrentRunResults(); in fetchCoverageFilePath() local
110 Map<String, String> metrics = runResult.getRunMetrics(); in fetchCoverageFilePath()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java505 for (TestRunResult runResult : listResults) { in reportFinalResults()
506 numResults += runResult.getTestResults().size(); in reportFinalResults()
507 forwardTestResults(runResult.getTestResults(), listener); in reportFinalResults()
508 if (runResult.isRunFailure()) { in reportFinalResults()
509 listener.testRunFailed(runResult.getRunFailureMessage()); in reportFinalResults()
512 elapsedTime += runResult.getElapsedTime(); in reportFinalResults()
514 metricsProto.putAll(runResult.getRunProtoMetrics()); in reportFinalResults()
515 aggLogFiles.putAll(runResult.getRunLoggedFiles()); in reportFinalResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java272 for (TestRunResult runResult : resultCollector) { in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
273 assertEquals(2, runResult.getNumTests()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
275 TestStatus.FAILURE, runResult.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
277 TestStatus.PASSED, runResult.getTestResults().get(fakeTestCase2).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
DDetectRegression.java179 String runResult = in logResult() local
183 table.addLine(runResult).addSingleLineSeparator(); in logResult()