Home
last modified time | relevance | path

Searched refs:throwableClass (Results 1 – 5 of 5) sorted by relevance

/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassTest.java133 PsiClass throwableClass = throwableType.resolve(); in testIsInheritor() local
134 Assert.assertNotNull(throwableClass); in testIsInheritor()
145 Assert.assertTrue(smaliClass.isInheritor(throwableClass, true)); in testIsInheritor()
149 Assert.assertTrue(smaliClass.isInheritorDeep(throwableClass, null)); in testIsInheritor()
153 Assert.assertFalse(smaliClass.isInheritor(throwableClass, false)); in testIsInheritor()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DInvocationInfo.java23 Class<?> throwableClass = throwable.getClass(); in isValidException() local
25 if (exception.isAssignableFrom(throwableClass)) { in isValidException()
/external/testng/src/main/java/org/testng/
DAssert.java965 …public static <T extends Throwable> void assertThrows(Class<T> throwableClass, ThrowingRunnable ru… in assertThrows() argument
966 expectThrows(throwableClass, runnable); in assertThrows()
981 …public static <T extends Throwable> T expectThrows(Class<T> throwableClass, ThrowingRunnable runna… in expectThrows() argument
985 if (throwableClass.isInstance(t)) { in expectThrows()
986 return throwableClass.cast(t); in expectThrows()
989 throwableClass.getSimpleName(), t.getClass().getSimpleName()); in expectThrows()
995 throwableClass.getSimpleName()); in expectThrows()
/external/easymock/src/org/easymock/internal/
DRecordState.java358 Class<?> throwableClass = throwable.getClass(); in isValidThrowable() local
360 if (exception.isAssignableFrom(throwableClass)) in isValidThrowable()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DThreadReferenceImpl.java244 ClassTypeImpl throwableClass = (ClassTypeImpl)list.get(0); in stop() local
246 !throwableClass.isAssignableFrom(throwable)) { in stop()