Searched defs:assertThrows (Results 1 – 5 of 5) sorted by relevance
15 public static <T extends Throwable> T assertThrows(Class<T> cls, CheckedRunnable<T> fn) { in assertThrows() method in AssertUtils
384 private static <T extends Throwable> void assertThrows(Class<T> clazz, Runnable runnable) { in assertThrows() method in ShadowCrossProfileAppsTest
210 private inline fun <reified T: Throwable> assertThrows(block: () -> Unit) { in assertThrows() method in kotlinx.coroutines.CompletableDeferredTest
979 public static <T extends Throwable> T assertThrows(Class<T> expectedThrowable, in assertThrows() method in Assert998 public static <T extends Throwable> T assertThrows(String message, Class<T> expectedThrowable, in assertThrows() method in Assert
949 public static void assertThrows(ThrowingRunnable runnable) { in assertThrows() method in Assert965 …public static <T extends Throwable> void assertThrows(Class<T> throwableClass, ThrowingRunnable ru… in assertThrows() method in Assert