Search in sources :

Example 36 with Support_StringReader

use of tests.support.Support_StringReader in project robovm by robovm.

the class OldBufferedReaderTest method test_markSupported.

public void test_markSupported() {
    // Test for method boolean java.io.BufferedReader.markSupported()
    br = new BufferedReader(new Support_StringReader(testString));
    assertTrue("markSupported returned false.", br.markSupported());
}
Also used : BufferedReader(java.io.BufferedReader) Support_StringReader(tests.support.Support_StringReader)

Aggregations

Support_StringReader (tests.support.Support_StringReader)36 BufferedReader (java.io.BufferedReader)34 IOException (java.io.IOException)24 Support_ASimpleReader (tests.support.Support_ASimpleReader)10 PipedReader (java.io.PipedReader)9 CharArrayReader (java.io.CharArrayReader)7 InputStreamReader (java.io.InputStreamReader)7 Reader (java.io.Reader)7 StringReader (java.io.StringReader)7 ThrowingReader (tests.support.ThrowingReader)4 StreamTokenizer (java.io.StreamTokenizer)2 Support_ASimpleInputStream (tests.support.Support_ASimpleInputStream)2 ByteArrayInputStream (java.io.ByteArrayInputStream)1