Searched refs:thrower (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/io/InputStream/ |
D | TransferTo.java | 297 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/ |
D | TransferTo.java | 321 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/ |
D | MethodOverridesTest.java | 134 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/ |
D | OldBufferedWriterTest.java | 306 Writer thrower = new Writer() { in test_closeException() local 322 BufferedWriter bw = new BufferedWriter(thrower); in test_closeException()
|
D | OldBufferedReaderTest.java | 399 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/ |
D | MethodHandleCombinersTest.java | 1756 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/ |
D | ScanTest.java | 742 Readable thrower = new ThrowingReadable(); in ioExceptionTest() local 743 Scanner sc = new Scanner(thrower); in ioExceptionTest()
|