Searched defs:assertThrows (Results 1 – 7 of 7) sorted by relevance
32 public static void assertThrows(Class<? extends Throwable> expectedThrowable, Runnable r) { in assertThrows() method in Assert
160 private static void assertThrows(Class<? extends RuntimeException> clazz, Runnable runnable) { in assertThrows() method in HexDumpTest
452 private static <T extends Exception> void assertThrows(Class<T> clazz, ThrowingRunnable r) in assertThrows() method in FastDataTest
159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in AmbientBrightnessDayStatsTest
266 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in BrightnessConfigurationTest
291 public static <T extends Throwable> T assertThrows(@NonNull Class<T> expectedType, in assertThrows() method in AtomicFileTest
527 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in LooperStatsTest