*/
@Test
public void testRead_3args_bigfile() throws Exception {
logger1.info("read 3args big file");
StringBuffer sb = new StringBuffer();
ReaderInputStream instance = new ReaderInputStream(new FileReader(filename2));
while (instance.available() > 0) {
byte[] buf = new byte[1024];
int size = instance.read(buf, 0, buf.length);
if (size != -1) {
sb.append(new String(buf));
}
}
instance.close();
String[] paths = {
basedir + "/lib/ruby/1.8",
basedir + "/lib/ruby/1.8/rdoc",
basedir + "/lib/ruby/site_ruby/1.8",
basedir + "/lib/ruby/site_ruby/shared",