Searched refs:openReader (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/test/java/io/Reader/ |
D | NullReader.java | 44 private static Reader openReader; field in NullReader 49 openReader = Reader.nullReader(); in openStream() 60 openReader.close(); in closeStream() 65 assertNotNull(openReader, "Reader.nullReader() returned null"); in testOpen() 70 assertEquals(-1, openReader.read(), "read() != -1"); in testRead() 75 assertEquals(-1, openReader.read(new char[1], 0, 1), in testReadBII() 81 assertEquals(0, openReader.read(new char[1], 0, 0), in testReadBIILenZero() 88 assertEquals(-1, openReader.read(charBuffer), in testReadCharBuffer() 95 assertEquals(0, openReader.read(charBuffer), in testReadCharBufferZeroRemaining() 101 assertFalse(openReader.ready()); in testReady() [all …]
|