Lines Matching refs:read
60 lnis.read();
61 lnis.read();
63 assertEquals("stream returned incorrect line number after read", 1,
79 assertEquals("Failed to mark", '0', lnis.read());
83 * @tests java.io.LineNumberInputStream#read()
86 assertEquals("Failed to read correct byte", '0', lnis.read());
87 assertEquals("Failed to read correct byte on dos text", '0', lnis2
88 .read());
89 assertTrue("Failed to read correct byte on dos text",
90 lnis2.read() == '\n');
91 assertEquals("Failed to read correct byte on dos text", '1', lnis2
92 .read());
93 assertTrue("Failed to read correct byte on dos text",
94 lnis2.read() == '\n');
95 assertEquals("Failed to read correct byte on dos text", '2', lnis2
96 .read());
100 * @tests java.io.LineNumberInputStream#read(byte[], int, int)
104 lnis.read(buf, 0, 100);
105 assertTrue("Failed to read correct bytes on normal text", new String(
117 assertEquals("Failed to reset", '0', lnis.read());