/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 99 Collection<TestRunResult> runResults = new ArrayList<>(); in testBasicFormat() local 100 runResults.add(createFakeResult("module1", 2, 0, 0, 0)); in testBasicFormat() 101 runResults.add(createFakeResult("module2", 1, 0, 0, 0)); in testBasicFormat() 102 mResultHolder.runResults = runResults; in testBasicFormat() 153 Collection<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting() local 154 runResults.add(createFakeResult("module1", 2, 1, 0, 0)); in testFailuresReporting() 155 mResultHolder.runResults = runResults; in testFailuresReporting() 207 assertEquals(holder.runResults.size(), mResultHolder.runResults.size()); in testFailuresReporting() 214 List<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting_notDone() local 215 runResults.add(createFakeResult("module1", 2, 1, 0, 0)); in testFailuresReporting_notDone() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LUCIResultReporter.java | 136 Collection<TestRunResult> runResults = getMergedTestRunResults(); in invocationEnded() local 140 runResults.clear(); in invocationEnded() 144 attempts.forEach(attempt -> runResults.add(attempt)); in invocationEnded() 147 JSONObject jsonResults = convertMetricsToJson(runResults); in invocationEnded() 168 JSONObject convertMetricsToJson(Collection<TestRunResult> runResults) throws JSONException { in convertMetricsToJson() argument 172 for (TestRunResult runResult : runResults) { in convertMetricsToJson()
|
D | JsonHttpTestResultReporter.java | 197 JSONObject convertMetricsToJson(Collection<TestRunResult> runResults) throws JSONException { in convertMetricsToJson() argument 202 for (TestRunResult runResult : runResults) { in convertMetricsToJson()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | DetectRegressionTest.java | 156 List<TableRow> runResults = runResultCaptor.getValue(); in testRunRegressionDetection() local 157 assertEquals(1, runResults.size()); in testRunRegressionDetection() 158 assertEquals("metric-3", runResults.get(0).name); in testRunRegressionDetection()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultHolder.java | 31 public Collection<TestRunResult> runResults; field in SuiteResultHolder
|
D | FormattedGeneratorReporter.java | 129 holder.runResults = getMergedTestRunResults(); in generateResultHolder()
|
D | XmlSuiteResultFormatter.java | 300 List<TestRunResult> sortedModuleList = sortModules(holder.runResults, holder.modulesAbi); in writeResults() 572 invocation.runResults = results; in parseResults()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 221 List<TestRunResult> runResults = getTestRunForAttempts(i); in testModuleEnded() local 222 for (TestRunResult runResult : runResults) { in testModuleEnded()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstrumentationTest.java | 1238 TestRunResult runResults = collector.getCurrentRunResults(); in collectTestsAndRetry() local 1239 if (!instrResult || !runResults.isRunComplete()) { in collectTestsAndRetry() 1245 } else if (runResults.isRunFailure()) { in collectTestsAndRetry() 1250 runResults.getRunFailureMessage(), mPackageName, mDevice.getSerialNumber()); in collectTestsAndRetry() 1254 return runResults.getCompletedTests(); in collectTestsAndRetry()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | AppTransitionTests.java | 277 final TestRunResult runResults = mLaunchListener.getCurrentRunResults(); in runTests() local 278 if (runResults.isRunFailure()) { in runTests() 281 if (runResults.hasFailedTests()) { in runTests()
|