Searched defs:assertThrows (Results 1 – 4 of 4) sorted by relevance
39 fun <T : Exception> assertThrows(expected: Class<T>, block: ThrowingRunnable): T { in assertThrows() method43 fun <T : Exception> assertThrows(msg: String, expected: Class<T>, block: ThrowingRunnable): T { in assertThrows() method
159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in AmbientBrightnessDayStatsTest
159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() method in BrightnessConfigurationTest
510 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() method in LooperStatsTest