Home
last modified time | relevance | path

Searched refs:fTestLines (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/experimental/sktext/tests/
DWrappedText.cpp63 SkASSERT(fTestLines.size() == index); in onBeginLine()
64fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.… in onBeginLine()
67 SkASSERT(fTestLines.size() == index + 1); in onEndLine()
68 fTestLines.back().trailingSpaces = trailingSpaces; in onEndLine()
69 fTestLines.back().runRange.fEnd = fTestRuns.size(); in onEndLine()
88 std::vector<TestLine> fTestLines; member in TestVisitor
108 REPORTER_ASSERT(reporter, testVisitor.fTestLines.size() == 5); in UNIX_ONLY_TEST()
111 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].trailingSpaces.width() == 0); in UNIX_ONLY_TEST()
112 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].trailingSpaces.width() == 4); in UNIX_ONLY_TEST()
113 REPORTER_ASSERT(reporter, testVisitor.fTestLines[2].trailingSpaces.width() == 6); in UNIX_ONLY_TEST()
[all …]
DSelectableText.cpp64 SkASSERT(fTestLines.size() == index); in onBeginLine()
65fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.… in onBeginLine()
68 SkASSERT(fTestLines.size() == index + 1); in onEndLine()
69 fTestLines.back().trailingSpaces = trailingSpaces; in onEndLine()
70 fTestLines.back().runRange.fEnd = fTestRuns.size(); in onEndLine()
71 fTestLines.back().glyphCount = glyphCount; in onEndLine()
90 std::vector<TestLine> fTestLines; member in TestVisitor
113 auto& testLine = testVisitor.fTestLines[lineIndex]; in UNIX_ONLY_TEST()
160 auto firstLine = testVisitor.fTestLines.front(); in UNIX_ONLY_TEST()
172 auto lastLine = testVisitor.fTestLines.back(); in UNIX_ONLY_TEST()
[all …]