HomeSort by relevance Sort by last modified time
    Searched refs:expectRead (Results 1 - 2 of 2) sorted by null

  /external/guava/guava-tests/test/com/google/common/io/
LineBufferTest.java 65 List<String> expectRead = Lists.transform(expectProcess,
76 assertEquals(expectRead, readUsingJava(input, chunk));
77 assertEquals(expectRead, readUsingReader(input, chunk, true));
78 assertEquals(expectRead, readUsingReader(input, chunk, false));
ByteSourceTest.java 224 * @param expectRead the number of bytes we expect to read
227 int input, int offset, long length, int expectRead) throws IOException {
228 checkArgument(expectRead == (int) Math.max(0, Math.min(input, offset + length) - offset));
230 byte[] expected = newPreFilledByteArray(offset, expectRead);

Completed in 88 milliseconds