Home
last modified time | relevance | path

Searched refs:expectedLines (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTester.java63 private final ImmutableList<String> expectedLines; field in CharSourceTester
70 this.expectedLines = getLines(expected); in CharSourceTester()
130 if (expectedLines.isEmpty()) { in testReadFirstLine()
133 assertEquals(expectedLines.get(0), source.readFirstLine()); in testReadFirstLine()
180 if (expectedLines.isEmpty()) { in testReadLines_withProcessor_stopsOnFalse()
183 assertEquals(expectedLines.subList(0, 1), list); in testReadLines_withProcessor_stopsOnFalse()
192 assertEquals(expectedLines, list); in assertExpectedLines()
DCharSinkTester.java62 private final ImmutableList<String> expectedLines; field in CharSinkTester
70 this.expectedLines = getLines(expected); in CharSinkTester()
125 String expected = expectedLines.isEmpty() in assertContainsExpectedLines()
127 : Joiner.on(separator).join(expectedLines); in assertContainsExpectedLines()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java1236 List<String> expectedLines = new ArrayList<>(); in assertJournalEquals() local
1237 expectedLines.add(MAGIC); in assertJournalEquals()
1238 expectedLines.add(VERSION_1); in assertJournalEquals()
1239 expectedLines.add("100"); in assertJournalEquals()
1240 expectedLines.add("2"); in assertJournalEquals()
1241 expectedLines.add(""); in assertJournalEquals()
1242 expectedLines.addAll(Arrays.asList(expectedBodyLines)); in assertJournalEquals()
1243 assertEquals(expectedLines, readJournalLines()); in assertJournalEquals()