Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetDecoderTest.java294 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()
DCharsetEncoderTest.java684 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/
DEmptyNavigableSet.java76 private <T extends Throwable> void assertThrows(Class<T> throwableClass, in assertThrows() argument
80 Assert.assertThrows(throwableClass, runnable); in assertThrows()
DEmptyNavigableMap.java73 private <T extends Throwable> void assertThrows(Class<T> throwableClass, in assertThrows() argument
77 Assert.assertThrows(throwableClass, runnable); in assertThrows()