Searched refs:exceptionClass (Results 1 – 4 of 4) sorted by relevance
114 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument119 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()120 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()123 fail("Expected exception type " + exceptionClass.getName() in assertThrows()
88 private static void expectException(Class exceptionClass, String type, Runnable runnable) { in expectException() argument94 if (!e.getClass().equals(exceptionClass)) { in expectException()
126 String exceptionClass) { in TmaMediaEvent() argument134 mExceptionClass = exceptionClass; in TmaMediaEvent()
590 private <T extends IkeException> void verifyHandleFatalErrorAndQuit(Class<T> exceptionClass) { in verifyHandleFatalErrorAndQuit() argument595 verify(mMockChildSessionCallback).onClosedExceptionally(any(exceptionClass)); in verifyHandleFatalErrorAndQuit()