Home
last modified time | relevance | path

Searched refs:thrower (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/io/InputStream/
DTransferTo.java297 public static void assertThrowsNPE(Thrower thrower, String message) {
298 assertThrows(thrower, NullPointerException.class, message);
301 public static <T extends Throwable> void assertThrows(Thrower thrower,
306 thrower.run();
/libcore/ojluni/src/test/java/io/Reader/
DTransferTo.java321 public static void assertThrowsNPE(Thrower thrower, String message) {
322 assertThrows(thrower, NullPointerException.class, message);
325 public static <T extends Throwable> void assertThrows(Thrower thrower,
330 thrower.run();
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodOverridesTest.java134 public void thrower() throws Exception {} in thrower() method in MethodOverridesTest.Super
143 @Override public void thrower() {} in thrower() method in MethodOverridesTest.Sub
/libcore/luni/src/test/java/libcore/java/io/
DOldBufferedWriterTest.java306 Writer thrower = new Writer() { in test_closeException() local
322 BufferedWriter bw = new BufferedWriter(thrower); in test_closeException()
DOldBufferedReaderTest.java399 Reader thrower = new Reader() { in test_closeException() local
411 BufferedReader br = new BufferedReader(thrower); in test_closeException()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java1756 MethodHandle thrower = MethodHandles.throwException(void.class, in testThrowCatchExceptionMultiThreaded() local
1758 thrower = MethodHandles.dropArguments(thrower, 0, int.class, int.class, long.class); in testThrowCatchExceptionMultiThreaded()
1764 MethodHandles.catchException(thrower, NumberFormatException.class, handler); in testThrowCatchExceptionMultiThreaded()
/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java742 Readable thrower = new ThrowingReadable(); in ioExceptionTest() local
743 Scanner sc = new Scanner(thrower); in ioExceptionTest()