100101102103104105106107108109110
} all += size * 10; pos.write(text.getBytes(encoding)); } pos.close(); t.waitFinished(10000); assertNotNull(result); int expected = Math.min(all, ReporterUtils.MAX_PREFIX_LEN); assertEquals(expected, result.length()); }