Home
last modified time | relevance | path

Searched defs:assertThrows (Results 1 – 9 of 9) 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/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.java408 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable r, in assertThrows() method in TelephonyManagerPermissionTest
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java386 private static void assertThrows(Class expectedThrowableClass, String expectedFailMessage, in assertThrows() method in InstallUtils
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DServiceStateTest.java425 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in ServiceStateTest
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java637 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable r, in assertThrows() method in UiAutomationTest
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java877 public static <T extends Exception> void assertThrows(Class<T> clazz, Operation<Exception> r) in assertThrows() method in TestUtils
885 public static <T extends Exception> void assertThrows( in assertThrows() method in TestUtils