Home
last modified time | relevance | path

Searched refs:exceptionClass (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/BugReportApp/tests/src/com/google/android/car/bugreport/
DBugStorageUtilsTest.java114 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument
119 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()
/packages/modules/SdkExtensions/tests/app-src/com/android/tests/apex/sdkextensions/
DReceiver.java88 private static void expectException(Class exceptionClass, String type, Runnable runnable) { in expectException() argument
94 if (!e.getClass().equals(exceptionClass)) { in expectException()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java126 String exceptionClass) { in TmaMediaEvent() argument
134 mExceptionClass = exceptionClass; in TmaMediaEvent()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java590 private <T extends IkeException> void verifyHandleFatalErrorAndQuit(Class<T> exceptionClass) { in verifyHandleFatalErrorAndQuit() argument
595 verify(mMockChildSessionCallback).onClosedExceptionally(any(exceptionClass)); in verifyHandleFatalErrorAndQuit()