Home
last modified time | relevance | path

Searched refs:assertThrows (Results 1 – 3 of 3) sorted by relevance

/art/test/712-varhandle-invocations/src/
DVarHandleUnitTest.java102 void assertThrows(Class expectedException, AccessorAccess access) { in assertThrows() method in VarHandleUnitTest
114 assertThrows(ArrayIndexOutOfBoundsException.class, access); in assertThrowsAIOBE()
118 assertThrows(ArrayStoreException.class, access); in assertThrowsASE()
122 assertThrows(IllegalStateException.class, access); in assertThrowsISE()
126 assertThrows(IndexOutOfBoundsException.class, access); in assertThrowsIOOBE()
130 assertThrows(ClassCastException.class, access); in assertThrowsCCE()
134 assertThrows(NullPointerException.class, access); in assertThrowsNPE()
138 assertThrows(WrongMethodTypeException.class, access); in assertThrowsWMTE()
/art/libnativeloader/test/src/android/test/lib/
DTestUtils.java22 import static org.junit.Assert.assertThrows;
36 Throwable t = assertThrows(UnsatisfiedLinkError.class, loadLibrary); in assertLibraryInaccessible()
/art/libartservice/service/javatests/com/android/server/art/
DDexoptHelperTest.java26 import static org.junit.Assert.assertThrows;
551 assertThrows(IllegalArgumentException.class, () -> { in testDexoptSplitNotFound()