Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/io/
DCharSourceTester.java79 private final ImmutableList<String> expectedLines; field in CharSourceTester
86 this.expectedLines = getLines(expected); in CharSourceTester()
146 if (expectedLines.isEmpty()) { in testReadFirstLine()
149 assertEquals(expectedLines.get(0), source.readFirstLine()); in testReadFirstLine()
211 if (expectedLines.isEmpty()) { in testReadLines_withProcessor_stopsOnFalse()
214 assertEquals(expectedLines.subList(0, 1), list); in testReadLines_withProcessor_stopsOnFalse()
223 assertEquals(expectedLines, list); in assertExpectedLines()
DCharSinkTester.java60 private final ImmutableList<String> expectedLines; field in CharSinkTester
68 this.expectedLines = getLines(expected); in CharSinkTester()
123 String expected = expectedLines.isEmpty() ? "" : Joiner.on(separator).join(expectedLines); in assertContainsExpectedLines()
/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTester.java82 private final ImmutableList<String> expectedLines; field in CharSourceTester
89 this.expectedLines = getLines(expected); in CharSourceTester()
155 if (expectedLines.isEmpty()) { in testReadFirstLine()
158 assertEquals(expectedLines.get(0), source.readFirstLine()); in testReadFirstLine()
220 if (expectedLines.isEmpty()) { in testReadLines_withProcessor_stopsOnFalse()
223 assertEquals(expectedLines.subList(0, 1), list); in testReadLines_withProcessor_stopsOnFalse()
238 assertEquals(expectedLines, list); in assertExpectedLines()
DCharSinkTester.java59 private final ImmutableList<String> expectedLines; field in CharSinkTester
67 this.expectedLines = getLines(expected); in CharSinkTester()
136 String expected = expectedLines.isEmpty() ? "" : Joiner.on(separator).join(expectedLines); in assertContainsExpectedLines()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnalyseJavaParserTest.java84 String[] expectedLines = expected.split("\n"); in parse() local
86 for (int i = 0; i < Math.min(outputLines.length, expectedLines.length); i++) { in parse()
87 …assertEquals(expectedLines[i].trim(), outputLines[i].trim(), "Line " + (i + 1) + " of " + path + "… in parse()
90 assertEquals(expectedLines.length, outputLines.length); in parse()
DAnalyseNewJavaParserTest.java105 String[] expectedLines = expected.split("\n"); in parse() local
107 for (int i = 0; i < Math.min(outputLines.length, expectedLines.length); i++) { in parse()
108 …assertEquals(expectedLines[i].trim(), outputLines[i].trim(), "Line " + (i + 1) + " of " + path + "… in parse()
111 assertEquals(expectedLines.length, outputLines.length); in parse()
DAnalyseJavaSymbolSolver060Test.java122 String[] expectedLines = expected.split("\n"); in parse() local
124 for (int i = 0; i < Math.min(outputLines.length, expectedLines.length); i++) { in parse()
125 …assertEquals(expectedLines[i].trim(), outputLines[i].trim(), "Line " + (i + 1) + " of " + path + "… in parse()
128 assertEquals(expectedLines.length, outputLines.length); in parse()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DStacktraceUtils.kt114 val expectedLines = expectedTrace.split("\n") in verifyDump() constant
115 for (i in expectedLines.indices) { in verifyDump()
116 assertEquals(expectedLines[i], actualLines[i]) in verifyDump()
/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()
/external/tinyxml2/
Dxmltest.cpp2341 … void TestStringLines(const char *testString, const char *docStr, const char *expectedLines) in main()
2346 TestDocLines(testString, doc, expectedLines); in main()
2349 … void TestFileLines(const char *testString, const char *file_name, const char *expectedLines) in main()
2354 TestDocLines(testString, doc, expectedLines); in main()
2400 void TestDocLines(const char *testString, XMLDocument &doc, const char *expectedLines) in main()
2406 XMLTest(testString, expectedLines, str.Mem()); in main()