Home
last modified time | relevance | path

Searched refs:MergeStrategy (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/retry/
DMergeStrategy.java19 public enum MergeStrategy { enum
32 public static MergeStrategy getMergeStrategy(RetryStrategy retryStrategy) { in getMergeStrategy()
34 MergeStrategy strategy = MergeStrategy.ONE_TESTCASE_PASS_IS_PASS; in getMergeStrategy()
37 strategy = MergeStrategy.ANY_FAIL_IS_FAIL; in getMergeStrategy()
40 strategy = MergeStrategy.ANY_FAIL_IS_FAIL; in getMergeStrategy()
43 strategy = MergeStrategy.ANY_PASS_IS_PASS; in getMergeStrategy()
46 strategy = MergeStrategy.ANY_FAIL_IS_FAIL; in getMergeStrategy()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java21 import com.android.tradefed.retry.MergeStrategy;
462 return merge(testRunResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in merge()
475 public static TestRunResult merge(List<TestRunResult> testRunResults, MergeStrategy strategy) { in merge()
479 if (MergeStrategy.NO_MERGE.equals(strategy)) { in merge()
584 Map<TestDescription, List<TestResult>> results, MergeStrategy strategy) { in evaluateTestCases()
596 boolean atLeastOneFailure, boolean allFailures, MergeStrategy strategy) { in isRunFailed()
610 boolean isAtLeastOneCompleted, boolean areAllCompleted, MergeStrategy strategy) { in isRunComplete()
DTestResult.java21 import com.android.tradefed.retry.MergeStrategy;
191 public static TestResult merge(List<TestResult> results, MergeStrategy strategy) { in merge()
195 if (MergeStrategy.NO_MERGE.equals(strategy)) { in merge()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestResultTest.java21 import com.android.tradefed.retry.MergeStrategy;
39 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_singleRes()
52 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_multiRes_aggPass()
67 TestResult.merge(testResults, MergeStrategy.ONE_TESTCASE_PASS_IS_PASS); in testMerge_allFailed_aggPass()
80 TestResult finalRes = TestResult.merge(testResults, MergeStrategy.ONE_TESTRUN_PASS_IS_PASS); in testMerge_multiRes()
93 TestResult finalRes = TestResult.merge(testResults, MergeStrategy.ONE_TESTRUN_PASS_IS_PASS); in testMerge_multiRes_allPass()
/tools/tradefederation/core/src/com/android/tradefed/result/
DCollectingTestListener.java24 import com.android.tradefed.retry.MergeStrategy;
86 private MergeStrategy mStrategy = MergeStrategy.ONE_TESTCASE_PASS_IS_PASS;
89 public void setMergeStrategy(MergeStrategy strategy) { in setMergeStrategy()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java36 import com.android.tradefed.retry.MergeStrategy;
322 MergeStrategy strategy = MergeStrategy.getMergeStrategy(mRetryDecision.getRetryStrategy()); in getFinalTestRunResults()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java104 MergeStrategy mergeStrategy = MergeStrategy.getMergeStrategy(mRetryStrategy); in ResultAggregator()
423 TestRunResult.merge(results, MergeStrategy.getMergeStrategy(mRetryStrategy)); in forwardTestRunResults()