Searched defs:assertThrows (Results 1 – 5 of 5) sorted by relevance
39 public static <T extends Exception> void assertThrows(Class<T> exception, Runnable r) { in assertThrows() method in EvenMoreAsserts43 public static <T extends Exception> void assertThrows(String message, Class<T> exception, in assertThrows() method in EvenMoreAsserts
29 public static <T extends Throwable> T assertThrows( in assertThrows() method in MoreAsserts
211 assertThrows(() -> { in startActivityForResult_tooManyRequests_throwsError() method235 assertThrows(() -> { in startIntentSenderForResult_tooManyRequests_throwsError() method
243 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in BugStorageUtilsTest
1515 private static <T extends Exception> void assertThrows(Class<T> clazz, Runnable r) { in assertThrows() method in MediaProviderTest