Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java39 public static <T extends Exception> void assertThrows(Class<T> exception, Runnable r) { in assertThrows() method in EvenMoreAsserts
43 public static <T extends Exception> void assertThrows(String message, Class<T> exception, in assertThrows() method in EvenMoreAsserts
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/testing/
DMoreAsserts.java29 public static <T extends Throwable> T assertThrows( in assertThrows() method in MoreAsserts
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DSettingsFragmentTestCase.java211 assertThrows(() -> { in startActivityForResult_tooManyRequests_throwsError() method
235 assertThrows(() -> { in startIntentSenderForResult_tooManyRequests_throwsError() method
/packages/services/Car/tests/BugReportApp/tests/src/com/android/car/bugreport/
DBugStorageUtilsTest.java243 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in BugStorageUtilsTest
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java1515 private static <T extends Exception> void assertThrows(Class<T> clazz, Runnable r) { in assertThrows() method in MediaProviderTest