Lines Matching defs:fTestLines
63 SkASSERT(fTestLines.size() == index);
64 fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.size(), fTestRuns.size()) });
67 SkASSERT(fTestLines.size() == index + 1);
68 fTestLines.back().trailingSpaces = trailingSpaces;
69 fTestLines.back().runRange.fEnd = fTestRuns.size();
88 std::vector<TestLine> fTestLines;
108 REPORTER_ASSERT(reporter, testVisitor.fTestLines.size() == 5);
111 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].trailingSpaces.width() == 0);
112 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].trailingSpaces.width() == 4);
113 REPORTER_ASSERT(reporter, testVisitor.fTestLines[2].trailingSpaces.width() == 6);
114 REPORTER_ASSERT(reporter, testVisitor.fTestLines[3].trailingSpaces.width() == 1);
115 REPORTER_ASSERT(reporter, testVisitor.fTestLines[4].trailingSpaces.width() == 0);
120 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].lineText.width() == break1);
121 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].lineText.width() == break2 - break1 - 1);
125 for (int lineIndex = 0; lineIndex < testVisitor.fTestLines.size(); ++lineIndex) {
126 auto& line = testVisitor.fTestLines[lineIndex];
157 REPORTER_ASSERT(reporter, testVisitor.fTestLines.size() == 4);
160 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].trailingSpaces.width() == 1);
161 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].trailingSpaces.width() == 1);
162 REPORTER_ASSERT(reporter, testVisitor.fTestLines[2].trailingSpaces.width() == 1);
163 REPORTER_ASSERT(reporter, testVisitor.fTestLines[3].trailingSpaces.width() == 0);