Searched refs:expectFailure (Results 1 – 1 of 1) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 74 static void setByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in setByte() argument 88 assertEquals(exceptionThrown, expectFailure); in setByte() 91 static void setByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in setByte() argument 92 setByte(m, null, value, expectFailure); in setByte() 95 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in getByte() argument 110 assertEquals(exceptionThrown, expectFailure); in getByte() 113 static void getByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in getByte() argument 114 getByte(m, null, value, expectFailure); in getByte() 117 static void setChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in setChar() argument 131 assertEquals(exceptionThrown, expectFailure); in setChar() [all …]
|