Searched refs:expectRead (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/io/ |
D | LineBufferTest.java | 65 List<String> expectRead = Lists.transform(expectProcess, in bufferHelper() local 76 assertEquals(expectRead, readUsingJava(input, chunk)); in bufferHelper() 77 assertEquals(expectRead, readUsingReader(input, chunk, true)); in bufferHelper() 78 assertEquals(expectRead, readUsingReader(input, chunk, false)); in bufferHelper()
|
D | ByteSourceTest.java | 227 int input, int offset, long length, int expectRead) throws IOException { in assertCorrectSlice() argument 228 checkArgument(expectRead == (int) Math.max(0, Math.min(input, offset + length) - offset)); in assertCorrectSlice() 230 byte[] expected = newPreFilledByteArray(offset, expectRead); in assertCorrectSlice()
|