Searched refs:mRetryDecision (Results 1 – 3 of 3) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/ |
D | BaseRetryDecisionTest.java | 48 private BaseRetryDecision mRetryDecision; field in BaseRetryDecisionTest 106 mRetryDecision = new BaseRetryDecision(); in setUp() 107 mRetryDecision.setInvocationContext(new InvocationContext()); in setUp() 108 OptionSetter setter = new OptionSetter(mRetryDecision); in setUp() 116 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result)); in testShouldRetry() 123 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result)); in testShouldRetry_failure() 135 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result)); in testShouldRetry_failure_nonRetriable() 146 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result)); in testShouldRetry_success() 152 boolean res2 = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result2)); in testShouldRetry_success() 159 boolean res = mRetryDecision.shouldRetry(mTestClass, 0, Arrays.asList(result)); in testShouldRetry_morefailure() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapper.java | 73 private IRetryDecision mRetryDecision; field in GranularRetriableTestWrapper 106 mRetryDecision = decision; in setRetryDecision() 222 if (mRetryDecision == null) { in run() 228 if (!mRetryDecision.shouldRetry( in run() 242 mRetryDecision.shouldRetry( in run() 257 mRetryDecision.addLastAttempt( in run() 260 mRetryStats = mRetryDecision.getRetryStatistics(); in run() 322 MergeStrategy strategy = MergeStrategy.getMergeStrategy(mRetryDecision.getRetryStrategy()); in getFinalTestRunResults()
|
D | ModuleDefinition.java | 156 private IRetryDecision mRetryDecision; field in ModuleDefinition 501 if (mRetryDecision != null) { in run() 502 RetryStatistics res = mRetryDecision.getRetryStatistics(); in run() 614 retriableTest.setRetryDecision(mRetryDecision); in prepareGranularRetriableWrapper() 935 mRetryDecision = decision; in setRetryDecision()
|