Home
last modified time | relevance | path

Searched refs:SafeCleanerRule (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DSafeCleanerRuleTest.java24 import com.android.compatibility.common.util.SafeCleanerRule.Dumper;
69 final SafeCleanerRule rule = new SafeCleanerRule(); in testEmptyRule_testPass()
75 final SafeCleanerRule rule = new SafeCleanerRule(); in testEmptyRule_testFails()
83 final SafeCleanerRule rule = new SafeCleanerRule().setDumper(mDumper); in testEmptyRule_testFails_withDumper()
92 final SafeCleanerRule rule = new SafeCleanerRule() in testOnlyTestFails()
104 final SafeCleanerRule rule = new SafeCleanerRule() in testOnlyTestFails_withDumper()
118 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneRunnerFails()
133 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneRunnerFails_withDumper()
152 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrownAsCallable()
167 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrown()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSafeCleanerRule.java39 public final class SafeCleanerRule implements TestRule { class
51 public SafeCleanerRule run(@NonNull ThrowingRunnable cleaner) { in run()
61 public SafeCleanerRule add(@NonNull Callable<List<Throwable>> exceptions) { in add()
71 public SafeCleanerRule add(Throwable exception) { in add()
80 public SafeCleanerRule setDumper(@NonNull Dumper dumper) { in setDumper()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DContentCaptureLoggingTestRule.java30 import com.android.compatibility.common.util.SafeCleanerRule;
45 public class ContentCaptureLoggingTestRule implements TestRule, SafeCleanerRule.Dumper {
DAbstractContentCaptureIntegrationTest.java44 import com.android.compatibility.common.util.SafeCleanerRule;
90 protected final SafeCleanerRule mSafeCleanerRule = new SafeCleanerRule()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DAutofillLoggingTestRule.java25 import com.android.compatibility.common.util.SafeCleanerRule;
40 public class AutofillLoggingTestRule implements TestRule, SafeCleanerRule.Dumper {
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTestWatcher.java32 import com.android.compatibility.common.util.SafeCleanerRule;
206 public SafeCleanerRule newSafeCleaner() { in newSafeCleaner()
207 return new SafeCleanerRule() in newSafeCleaner()
DTextClassifierServiceSwapTest.java48 import com.android.compatibility.common.util.SafeCleanerRule;
77 private final SafeCleanerRule mSafeCleanerRule = mTestWatcher.newSafeCleaner();
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/
DAbstractRadioTestCase.java36 import com.android.compatibility.common.util.SafeCleanerRule;
71 public SafeCleanerRule mSafeCleanerRule = new SafeCleanerRule()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DAutoFillServiceTestCase.java68 import com.android.compatibility.common.util.SafeCleanerRule;
291 protected final SafeCleanerRule mSafeCleanerRule = new SafeCleanerRule()