Home | History | Annotate | Download | only in io

Lines Matching refs:unread

38             pis.unread("He".getBytes());
45 fail("Failed to throw exception on unread when buffer full");
65 pis.unread("Hello world".getBytes());
66 fail("Test 3: IOException expected when the unread buffer is full.");
190 pis.unread(buf);
208 tobj.unread(buf2);
211 tobj.unread(buf2);
226 // Test for method void java.io.PushbackInputStream.unread(byte [])
232 pis.unread(buf);
234 assertTrue("Failed to unread bytes", new String(buf, 0, 50)
237 fail("IOException during unread test : " + e.getMessage());
248 tobj.unread(buf2, 15, 10);
251 tobj.unread(buf2, 15, 10);
266 // Test for method void java.io.PushbackInputStream.unread(byte [], int,
273 pis.unread(buf, 50, 50);
275 assertTrue("Failed to unread bytes", new String(buf, 0, 50)
278 fail("IOException during unread test : " + e.getMessage());
283 pis.unread(buf, 0, -1);
291 pis.unread(buf, -1, 1);
299 pis.unread(buf, 10, 1);
310 tobj.unread(23); // Why does this work?!?
312 tobj.unread(23);
315 tobj.unread(13);
317 tobj.unread(13);
323 // Test for method void java.io.PushbackInputStream.unread(int)
328 pis.unread(x);
329 assertTrue("Failed to unread", pis.read() == x);