Searched refs:pbString (Results 1 - 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPushbackReaderTest.java31 String pbString = "Hello World"; field in class:PushbackReaderTest
40 pbr = new PushbackReader(new StringReader(pbString));
103 assertTrue("Failed to read char: " + c, c == pbString.charAt(1));
120 assertTrue("Failed to read chars", new String(c).equals(pbString
128 pbr = new PushbackReader(new StringReader(pbString), 10);
210 assertTrue("Failed to unread chars", new String(c).equals(pbString
292 assertTrue("Failed to unread chars", new String(c).equals(pbString
294 + pbString.substring(5, 8)));
305 pbr = new PushbackReader(new StringReader(pbString));
320 pbr = new PushbackReader(new StringReader(pbString));
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldPushbackReaderTest.java30 String pbString = "Hello World"; field in class:OldPushbackReaderTest
39 pbr = new PushbackReader(new StringReader(pbString));
147 assertTrue("Failed to read chars", new String(c).equals(pbString
162 pbr = new PushbackReader(new StringReader(pbString), 10);
275 assertTrue("Failed to unread chars", new String(c).equals(pbString
332 pbr = new PushbackReader(new StringReader(pbString));
334 pbr.unread(new char[pbString.length()], 0 , -1);
372 pbr = new PushbackReader(new StringReader(pbString), 10);

Completed in 946 milliseconds