/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | Assert.kt | 28 fun <E : Throwable?> assertThrows(message: String? = null, in assertThrows() method 44 fun assertThrows(message: String? = null, executable: () -> Unit): Exception = in assertThrows() method 50 fun <E : Throwable?> assertThrows(exception: Class<E>? = null, executable: Runnable): E = in assertThrows() method
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | CtsTestUtils.java | 29 public static Throwable assertThrows(Runnable action) { in assertThrows() method in CtsTestUtils 33 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows() method in CtsTestUtils
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcFrameworkInitializerTest.java | 44 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in NfcFrameworkInitializerTest
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothFrameworkInitializerTest.java | 55 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in BluetoothFrameworkInitializerTest
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ActivityRequireContentUriPermissionFromCallerTest.java | 377 boolean assertThrows) throws Exception { in internalTest() 389 ModeFlags modeFlags, UriLocation uriLocation, boolean assertThrows) throws Exception { in internalTest_startActivity() 408 ModeFlags modeFlags, UriLocation uriLocation, boolean assertThrows) throws Exception { in internalTest_startActivityForResult() 423 private static String getErrorMessage(ModeFlags modeFlags, boolean assertThrows, boolean isOr) { in getErrorMessage()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 424 private static void assertThrows(Class expectedThrowableClass, String expectedFailMessage, in assertThrows() method in InstallUtils
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 566 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable r, in assertThrows() method in UiAutomationTest
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | ServiceStateTest.java | 466 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in ServiceStateTest
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1053 public static <T extends Exception> void assertThrows(Class<T> clazz, Operation<Exception> r) in assertThrows() method in TestUtils 1061 public static <T extends Exception> void assertThrows( in assertThrows() method in TestUtils
|