/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 45 TestRunResult result = new TestRunResult(); in testGetNumTestsInState() 61 TestRunResult result = new TestRunResult(); in testGetNumTestsInState_failed() 83 TestRunResult result = new TestRunResult(); in testSpecifyElapsedTime() 96 TestRunResult result = new TestRunResult(); in testMultiRun() 126 TestRunResult result = new TestRunResult(); in testMultiRun_WithTestCases() 166 TestRunResult result = new TestRunResult(); in testLogSavedFile_testCases() 187 TestRunResult result = new TestRunResult(); in testLogSavedFile_runLogs() 243 TestRunResult result1 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() 244 TestRunResult result2 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() 245 TestRunResult result3 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() [all …]
|
D | CollectingTestListenerTest.java | 64 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testSingleRun() 81 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testRunFailed() 110 Iterator<TestRunResult> runIter = in testTwoRuns() 112 final TestRunResult runResult1 = runIter.next(); in testTwoRuns() 113 final TestRunResult runResult2 = runIter.next(); in testTwoRuns() 134 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testReRun() 152 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testReRun_overlap() 167 final TestRunResult run1 = mCollectingTestListener.getTestRunAtAttempt("run", 0); in testRun_attempts() 168 final TestRunResult run2 = mCollectingTestListener.getTestRunAtAttempt("run", 1); in testRun_attempts() 169 final TestRunResult run3 = mCollectingTestListener.getTestRunAtAttempt("run", 2); in testRun_attempts() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 61 private Map<String, List<TestRunResult>> mTestRunResultMap = 65 private TestRunResult mCurrentTestRunResult = new TestRunResult(); 81 private final List<TestRunResult> mMergedTestRunResults = new ArrayList<>(); 171 private TestRunResult getNewRunResult() { in getNewRunResult() 172 TestRunResult result = new TestRunResult(); in getNewRunResult() 203 List<TestRunResult> results = mTestRunResultMap.get(name); in testRunStarted() 213 TestRunResult result = getNewRunResult(); in testRunStarted() 218 TestRunResult result = getNewRunResult(); in testRunStarted() 230 TestRunResult newResult = getNewRunResult(); in testRunStarted() 338 public TestRunResult getCurrentRunResults() { in getCurrentRunResults() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | BaseRetryDecision.java | 27 import com.android.tradefed.result.TestRunResult; 114 IRemoteTest test, int attemptJustExecuted, List<TestRunResult> previousResults) in shouldRetry() 167 public void addLastAttempt(List<TestRunResult> lastResults) { in addLastAttempt() 181 List<TestRunResult> previousResults) { in getFailedTestCases() 183 for (TestRunResult run : previousResults) { in getFailedTestCases() 196 private static List<TestRunResult> getRunFailures(List<TestRunResult> previousResults) { in getRunFailures() 197 List<TestRunResult> runFailed = new ArrayList<>(); in getRunFailures() 198 for (TestRunResult run : previousResults) { in getRunFailures() 206 private static List<TestRunResult> getNonRetriableFailures(List<TestRunResult> failedRun) { in getNonRetriableFailures() 207 List<TestRunResult> nonRetriableRuns = new ArrayList<>(); in getNonRetriableFailures() [all …]
|
D | RetryStatsHelper.java | 19 import com.android.tradefed.result.TestRunResult; 30 private List<List<TestRunResult>> mResults = new ArrayList<>(); 34 public void addResultsFromRun(List<TestRunResult> mLatestResults) { in addResultsFromRun() 47 List<TestRunResult> attemptResults = mResults.get(mResults.size() - 1); in calculateStatistics() 56 List<TestRunResult> previousResults, List<TestRunResult> latestResults) { in updateSuccess()
|
D | IRetryDecision.java | 20 import com.android.tradefed.result.TestRunResult; 57 IRemoteTest test, int attemptJustExecuted, List<TestRunResult> previousResults) in shouldRetry() 67 public void addLastAttempt(List<TestRunResult> lastResults); in addLastAttempt()
|
D | ResultAggregator.java | 34 import com.android.tradefed.result.TestRunResult; 66 private TestRunResult mDetailedRunResults = null; 76 private final Map<String, List<TestRunResult>> mPureRunResultForAgg = new LinkedHashMap<>(); 312 List<TestRunResult> results = in testRunEnded() 332 List<TestRunResult> mergedResults = getMergedTestRunResults(); in testModuleEnded() 335 for (TestRunResult result : mergedResults) { in testModuleEnded() 345 for (TestRunResult runResult : mergedResults) { in testModuleEnded() 421 private void forwardTestRunResults(List<TestRunResult> results, ILogSaverListener listener) { in forwardTestRunResults() 422 TestRunResult result = in forwardTestRunResults() 423 TestRunResult.merge(results, MergeStrategy.getMergeStrategy(mRetryStrategy)); in forwardTestRunResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/ |
D | BaseRetryDecisionTest.java | 30 import com.android.tradefed.result.TestRunResult; 115 TestRunResult result = createResult(null, null); in testShouldRetry() 122 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_failure() 131 TestRunResult result = in testShouldRetry_failure_nonRetriable() 145 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_success() 151 TestRunResult result2 = createResult(null, null); in testShouldRetry_success() 158 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_morefailure() 164 TestRunResult result2 = createResult(FailureDescription.create("failure"), null); in testShouldRetry_morefailure() 172 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure() 183 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure_nonRetriable() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 24 import com.android.tradefed.result.TestRunResult; 104 private List<TestRunResult> extractModuleCheckers(Collection<TestRunResult> results) { in extractModuleCheckers() 105 List<TestRunResult> moduleCheckers = new ArrayList<TestRunResult>(); in extractModuleCheckers() 106 for (TestRunResult t : results) { in extractModuleCheckers() 122 Collection<TestRunResult> results = getMergedTestRunResults(); in invocationEnded() 123 List<TestRunResult> moduleCheckers = extractModuleCheckers(results); in invocationEnded() 127 for (TestRunResult moduleResult : results) { in invocationEnded() 215 private void printModuleTestTime(Collection<TestRunResult> results) { in printModuleTestTime() 216 List<TestRunResult> moduleTime = new ArrayList<>(); in printModuleTestTime() 220 new Comparator<TestRunResult>() { in printModuleTestTime() [all …]
|
D | SuiteResultHolder.java | 19 import com.android.tradefed.result.TestRunResult; 31 public Collection<TestRunResult> runResults;
|
D | XmlSuiteResultFormatter.java | 28 import com.android.tradefed.result.TestRunResult; 280 List<TestRunResult> sortedModuleList = sortModules(holder.runResults, holder.modulesAbi); in writeResults() 282 for (TestRunResult module : sortedModuleList) { in writeResults() 529 Collection<TestRunResult> results = new ArrayList<>(); in parseResults() 548 List<TestRunResult> sortModules( in sortModules() 549 Collection<TestRunResult> results, Map<String, IAbi> moduleAbis) { in sortModules() 550 List<TestRunResult> sortedList = new ArrayList<>(results); in sortModules() 553 new Comparator<TestRunResult>() { in sortModules() 555 public int compare(TestRunResult o1, TestRunResult o2) { in sortModules() 597 XmlPullParser parser, Collection<TestRunResult> results, Map<String, IAbi> moduleAbis) in handleModuleLevel() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 31 import com.android.tradefed.result.TestRunResult; 87 Collection<TestRunResult> runResults = new ArrayList<>(); in testBasicFormat() 141 Collection<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting() 192 List<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting_notDone() 240 TestRunResult result = new ArrayList<>(holder.runResults).get(0); in testFailuresReporting_notDone() 249 Collection<TestRunResult> runResults = new ArrayList<>(); in testAssumptionFailures_Ignore_Reporting() 299 TestRunResult result = reloaded.runResults.iterator().next(); in testAssumptionFailures_Ignore_Reporting() 310 Collection<TestRunResult> runResults = new ArrayList<>(); in testLogReporting() 342 for (TestRunResult result : holder.runResults) { in testLogReporting() 361 Collection<TestRunResult> runResults = new ArrayList<>(); in testMetricReporting() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 31 import com.android.tradefed.result.TestRunResult; 202 List<TestRunResult> runResults = getTestRunForAttempts(i); in testModuleEnded() 203 for (TestRunResult runResult : runResults) { in testModuleEnded() 209 for (TestRunResult runResult : getMergedTestRunResults()) { in testModuleEnded() 237 private void forwardRunResults(TestRunResult runResult, int attempt) { in forwardRunResults() 306 private void logShardContent(Collection<TestRunResult> listResults) { in logShardContent() 313 for (TestRunResult runRes : listResults) { in logShardContent()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/retry/ |
D | IAutoRetriableTest.java | 20 import com.android.tradefed.result.TestRunResult; 47 public default boolean shouldRetry(int attemptJustExecuted, List<TestRunResult> previousResults) in shouldRetry()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapperTest.java | 44 import com.android.tradefed.result.TestRunResult; 336 TestRunResult attempResults = in testIntraModuleRun_catchDeviceUnresponsiveException() 571 List<TestRunResult> resultCollector = in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver() 574 for (TestRunResult runResult : resultCollector) { in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver() 608 List<TestRunResult> resultCollector1 = in testRun_retryMultiTestsForOneRun() 612 List<TestRunResult> resultCollector2 = in testRun_retryMultiTestsForOneRun() 617 List<TestRunResult> finalResult = granularTestWrapper.getFinalTestRunResults(); in testRun_retryMultiTestsForOneRun() 619 TestRunResult runResult1 = finalResult.get(0); in testRun_retryMultiTestsForOneRun() 620 TestRunResult runResult2 = finalResult.get(1); in testRun_retryMultiTestsForOneRun() 648 List<TestRunResult> allResults = in testIntraModuleRun_runRetry() [all …]
|
D | ModuleListenerTest.java | 26 import com.android.tradefed.result.TestRunResult; 182 List<TestRunResult> results = mListener.getMergedTestRunResults(); in testRetryInvalid() 196 private boolean hasRunCrashed(List<TestRunResult> results) { in hasRunCrashed() 197 for (TestRunResult run : results) { in hasRunCrashed()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayer.java | 33 import com.android.tradefed.result.TestRunResult; 52 private Map<TestRunResult, ReplayModuleHolder> mModuleResult; 87 for (TestRunResult module : mModuleResult.keySet()) { in run() 138 TestRunResult module, in addToReplay() 163 TestRunResult module, in forwardTestResults()
|
D | RetryResultHelper.java | 20 import com.android.tradefed.result.TestRunResult; 31 public static boolean shouldRunModule(TestRunResult moduleResults, List<RetryType> types) { in shouldRunModule()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 41 public class TestRunResult { class 71 public TestRunResult() { in TestRunResult() method in TestRunResult 461 public static TestRunResult merge(List<TestRunResult> testRunResults) { in merge() 475 public static TestRunResult merge(List<TestRunResult> testRunResults, MergeStrategy strategy) { in merge() 487 TestRunResult finalRunResult = new TestRunResult(); in merge() 506 for (TestRunResult eachRunResult : testRunResults) { in merge()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/ |
D | GameQualificationResultReporter.java | 35 import com.android.tradefed.result.TestRunResult; 155 for (TestRunResult testRunResult : getMergedTestRunResults()) { in getInvocationSummary() 178 for (TestRunResult testRunResult : getMergedTestRunResults()) { in getInvocationSummary() 196 for (TestRunResult testRunResult : getMergedTestRunResults()) { in getInvocationSummary() 241 for (TestRunResult testRunResult : getMergedTestRunResults()) { in createFunctionalTestFailureReport() 261 private String getTestRunSummary(TestRunResult testRunResult) { in getTestRunSummary()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | CodeCoverageTest.java | 30 import com.android.tradefed.result.TestRunResult; 111 TestRunResult runResult = listener.getCurrentRunResults(); in fetchCoverageFilePath()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapper.java | 33 import com.android.tradefed.result.TestRunResult; 318 public final List<TestRunResult> getFinalTestRunResults() { in getFinalTestRunResults() 325 Map<String, List<TestRunResult>> getTestRunResultCollected() { in getTestRunResultCollected() 326 Map<String, List<TestRunResult>> runResultMap = new LinkedHashMap<>(); in getTestRunResultCollected()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 33 import com.android.tradefed.result.TestRunResult; 181 TestRunResult runResult = createTestRunResult("run1", 5, 1); in testReplay_MultiTest() 221 private TestRunResult createTestRunResult(String runName, int testCount, int failCount) { in createTestRunResult() 222 TestRunResult result = new TestRunResult(); in createTestRunResult()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstalledInstrumentationsTestTest.java | 33 import com.android.tradefed.result.TestRunResult; 104 List<TestRunResult> previousResults = new ArrayList<>(); in testRun_retry() 105 TestRunResult result = new TestRunResult(); in testRun_retry()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 35 import com.android.tradefed.result.TestRunResult; 72 private TestRunResult mLatestInstruRes; 628 TestRunResult runResult = in runDeviceTests() 689 public final TestRunResult getLastDeviceRunResults() { in getLastDeviceRunResults() 694 private TestRunResult doRunTests( in doRunTests() 807 private void printTestResult(TestRunResult runResult) { in printTestResult()
|