Home
last modified time | relevance | path

Searched defs:assertThrows (Results 1 – 11 of 11) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DCtsTestUtils.java26 public static Throwable assertThrows(Runnable action) { in assertThrows() method in CtsTestUtils
30 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows() method in CtsTestUtils
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DAssert.java31 public static <E extends Throwable> E assertThrows(Class<E> e, Runnable r) { in assertThrows() method in Assert
/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcFrameworkInitializerTest.java44 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in NfcFrameworkInitializerTest
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothFrameworkInitializerTest.java55 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in BluetoothFrameworkInitializerTest
DBluetoothHidHostTest.java203 private static <T extends Exception> void assertThrows(Class<T> clazz, Runnable r) { in assertThrows() method in BluetoothHidHostTest
DBluetoothA2dpTest.java334 private static <T extends Exception> void assertThrows(Class<T> clazz, Runnable r) { in assertThrows() method in BluetoothA2dpTest
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java411 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable r, in assertThrows() method in TelephonyManagerPermissionTest
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java508 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable r, in assertThrows() method in UiAutomationTest
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java423 private static void assertThrows(Class expectedThrowableClass, String expectedFailMessage, in assertThrows() method in InstallUtils
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DServiceStateTest.java466 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/
DTestUtils.java1029 public static <T extends Exception> void assertThrows(Class<T> clazz, Operation<Exception> r) in assertThrows() method in TestUtils
1037 public static <T extends Exception> void assertThrows( in assertThrows() method in TestUtils