/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | RetryRuleTest.java | 63 public void evaluate() throws Throwable { in evaluate() method in RetryRuleTest.RetryableStatement 97 .evaluate(); in testPassOnRetryableException() 106 mDescription).evaluate(); in testDoCleanOnRetryableException() 119 mDescription).evaluate()); in testKeepLastStatusWhenFailOnRetryableException() 130 rule.apply(mMockStatement, mDescription).evaluate(); in testNeverCleanWhenStatementPass() 132 verify(mMockStatement, times(1)).evaluate(); in testNeverCleanWhenStatementPass() 141 doThrow(exception).when(mMockStatement).evaluate(); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() 144 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() 147 verify(mMockStatement, times(1)).evaluate(); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() 158 .evaluate(); in testPassOnRetryableExceptionWithTimeout() [all …]
|
D | StateChangerRuleTest.java | 62 rule.apply(mStatement, mDescription).evaluate(); in testSetAndRestoreOnSuccess() 64 verify(mStatement, times(1)).evaluate(); in testSetAndRestoreOnSuccess() 77 rule.apply(mStatement, mDescription).evaluate(); in testDontSetIfSameValueOnSuccess() 79 verify(mStatement, times(1)).evaluate(); in testDontSetIfSameValueOnSuccess() 89 rule.apply(mStatement, mDescription).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess() 91 verify(mStatement, times(1)).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess() 103 rule.apply(mStatement, mDescription).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess() 106 verify(mStatement, times(1)).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess() 116 doThrow(mRuntimeException).when(mStatement).evaluate(); in testSetAndRestoreOnFailure() 119 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetAndRestoreOnFailure() [all …]
|
D | StateKeeperRuleTest.java | 60 rule.apply(mStatement, mDescription).evaluate(); in testRestoreOnSuccess() 62 verify(mStatement, times(1)).evaluate(); in testRestoreOnSuccess() 72 doThrow(mRuntimeException).when(mStatement).evaluate(); in testRestoreOnFailure() 75 () -> rule.apply(mStatement, mDescription).evaluate()); in testRestoreOnFailure() 88 rule.apply(mStatement, mDescription).evaluate(); in testDoNotRestoreWhenNotChanged() 90 verify(mStatement, times(1)).evaluate(); in testDoNotRestoreWhenNotChanged() 98 doThrow(mRuntimeException).when(mStatement).evaluate(); in testDoNotRestoreOnFailure() 101 () -> rule.apply(mStatement, mDescription).evaluate()); in testDoNotRestoreOnFailure()
|
D | SafeCleanerRuleTest.java | 50 public void evaluate() throws Throwable { in evaluate() method in SafeCleanerRuleTest.FailureStatement 70 rule.apply(mGoodGuyStatement, mDescription).evaluate(); in testEmptyRule_testPass() 77 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails() 85 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails_withDumper() 96 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails() 109 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails_withDumper() 124 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails() 142 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails_withDumper() 158 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrownAsCallable() 175 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrown() [all …]
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | StateChangerRuleTest.java | 62 rule.apply(mStatement, mDescription).evaluate(); in testSetAndRestoreOnSuccess() 64 verify(mStatement, times(1)).evaluate(); in testSetAndRestoreOnSuccess() 77 rule.apply(mStatement, mDescription).evaluate(); in testDontSetIfSameValueOnSuccess() 79 verify(mStatement, times(1)).evaluate(); in testDontSetIfSameValueOnSuccess() 89 rule.apply(mStatement, mDescription).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess() 91 verify(mStatement, times(1)).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess() 103 rule.apply(mStatement, mDescription).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess() 106 verify(mStatement, times(1)).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess() 116 doThrow(mRuntimeException).when(mStatement).evaluate(); in testSetAndRestoreOnFailure() 119 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetAndRestoreOnFailure() [all …]
|
D | RetryRuleTest.java | 53 public void evaluate() throws Throwable { in evaluate() method in RetryRuleTest.RetryableStatement 77 .evaluate(); in testPassOnRetryableException() 87 .evaluate(); in testPassOnRetryableExceptionWithTimeout() 99 mDescription).evaluate()); in testFailOnRetryableException() 108 rule.apply(mMockStatement, mDescription).evaluate(); in testPassWhenDisabledAndStatementPass() 110 verify(mMockStatement, times(1)).evaluate(); in testPassWhenDisabledAndStatementPass() 117 doThrow(exception).when(mMockStatement).evaluate(); in testFailWhenDisabledAndStatementThrowsRetryableException() 120 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testFailWhenDisabledAndStatementThrowsRetryableException() 123 verify(mMockStatement, times(1)).evaluate(); in testFailWhenDisabledAndStatementThrowsRetryableException() 130 doThrow(exception).when(mMockStatement).evaluate(); in testFailWhenDisabledAndStatementThrowsNonRetryableException() [all …]
|
D | StateKeeperRuleTest.java | 60 rule.apply(mStatement, mDescription).evaluate(); in testRestoreOnSuccess() 62 verify(mStatement, times(1)).evaluate(); in testRestoreOnSuccess() 72 doThrow(mRuntimeException).when(mStatement).evaluate(); in testRestoreOnFailure() 75 () -> rule.apply(mStatement, mDescription).evaluate()); in testRestoreOnFailure() 88 rule.apply(mStatement, mDescription).evaluate(); in testDoNotRestoreWhenNotChanged() 90 verify(mStatement, times(1)).evaluate(); in testDoNotRestoreWhenNotChanged() 98 doThrow(mRuntimeException).when(mStatement).evaluate(); in testDoNotRestoreOnFailure() 101 () -> rule.apply(mStatement, mDescription).evaluate()); in testDoNotRestoreOnFailure()
|
D | SafeCleanerRuleTest.java | 50 public void evaluate() throws Throwable { in evaluate() method in SafeCleanerRuleTest.FailureStatement 70 rule.apply(mGoodGuyStatement, mDescription).evaluate(); in testEmptyRule_testPass() 77 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails() 85 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails_withDumper() 96 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails() 109 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails_withDumper() 124 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails() 142 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails_withDumper() 158 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrownAsCallable() 175 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrown() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 54 float result = floatEvaluator.evaluate(0, start, end); in testFloatEvaluator() 57 result = floatEvaluator.evaluate(fraction, start, end); in testFloatEvaluator() 60 result = floatEvaluator.evaluate(1, start, end); in testFloatEvaluator() 79 float[] result = evaluator.evaluate(0, start, end); in floatArrayEvaluatorTestImpl() 83 result = evaluator.evaluate(fraction, start, end); in floatArrayEvaluatorTestImpl() 87 result = evaluator.evaluate(1, start, end); in floatArrayEvaluatorTestImpl() 111 int result = (Integer) evaluator.evaluate(0, START, END); in testArgbEvaluator() 121 result = (Integer) evaluator.evaluate(.5f, START, END); in testArgbEvaluator() 139 result = (Integer) evaluator.evaluate(1, START, END); in testArgbEvaluator() 157 int result = intEvaluator.evaluate(0, start, end); in testIntEvaluator() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | RequiredPropertyRule.java | 44 public void evaluate() throws Throwable { in apply() 45 base.evaluate(); in apply() 66 public void evaluate() throws Throwable { 72 base.evaluate(); 86 public void evaluate() throws Throwable { 96 base.evaluate();
|
D | RequiredFeatureRule.java | 45 public void evaluate() throws Throwable { in apply() 52 base.evaluate(); in apply()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 52 public void evaluate() throws Throwable { in apply() 56 base.evaluate(); in apply() 64 base.evaluate(); in apply()
|
D | BeforeAfterRule.java | 32 public void evaluate() throws Throwable { in apply() 35 base.evaluate(); in apply()
|
D | OnFailureRule.java | 42 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply()
|
D | RequiredFeatureRule.java | 45 public void evaluate() throws Throwable { in apply() 52 base.evaluate(); in apply()
|
D | AdoptShellPermissionsRule.java | 62 public void evaluate() throws Throwable { in apply() 69 base.evaluate(); in apply()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 69 public void evaluate() throws Throwable { in apply() 73 base.evaluate(); in apply() 81 base.evaluate(); in apply()
|
D | BeforeAfterRule.java | 32 public void evaluate() throws Throwable { in apply() 35 base.evaluate(); in apply()
|
D | OnFailureRule.java | 42 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply()
|
D | RequiredFeatureRule.java | 52 public void evaluate() throws Throwable { in apply() 61 base.evaluate(); in apply()
|
D | AdoptShellPermissionsRule.java | 61 public void evaluate() throws Throwable { in apply() 68 base.evaluate(); in apply()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AbstractContentCaptureIntegrationActivityLessTest.java | 31 public void evaluate() throws Throwable { in getMainTestRule() 32 base.evaluate(); in getMainTestRule()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 32 public void evaluate() throws Throwable { in apply() 36 base.evaluate(); in apply()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 32 public void evaluate() throws Throwable { in apply() 36 base.evaluate(); in apply()
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | FlakyTestRule.java | 42 public void evaluate() throws Throwable { in apply() 46 statement.evaluate(); in apply()
|