Searched refs:throwableClass (Results 1 – 4 of 4) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetDecoderTest.java | 294 Class<? extends Throwable> throwableClass = inBuffer == null ? NullPointerException.class in testDecodeByteBufferException() local 296 Assert.assertThrows(throwableClass, () -> decoder.decode(inBuffer)); in testDecodeByteBufferException() 516 Class<? extends Throwable> throwableClass = in == null ? NullPointerException.class in implTestDecodeCharBufferByteBufferException() local 518 Assert.assertThrows(throwableClass, () -> decoder.decode(in, out, endOfInput)); in implTestDecodeCharBufferByteBufferException()
|
D | CharsetEncoderTest.java | 684 Class<? extends Throwable> throwableClass = inBuffer == null in testEncodeCharBufferException() local 687 Assert.assertThrows(throwableClass, () -> encoder.encode(inBuffer)); in testEncodeCharBufferException() 895 Class<? extends Throwable> throwableClass = inBuffer == null in implTestEncodeCharBufferByteBufferbooleanException() local 898 Assert.assertThrows(throwableClass, () -> encoder.encode(inBuffer)); in implTestEncodeCharBufferByteBufferbooleanException()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | EmptyNavigableSet.java | 76 private <T extends Throwable> void assertThrows(Class<T> throwableClass, in assertThrows() argument 80 Assert.assertThrows(throwableClass, runnable); in assertThrows()
|
D | EmptyNavigableMap.java | 73 private <T extends Throwable> void assertThrows(Class<T> throwableClass, in assertThrows() argument 77 Assert.assertThrows(throwableClass, runnable); in assertThrows()
|