Lines Matching refs:textBuf
107 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
119 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
122 << toString(textBuf, actual); in TEST_F()
123 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
126 << toString(textBuf, actual); in TEST_F()
127 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
130 << toString(textBuf, actual); in TEST_F()
131 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
134 << toString(textBuf, actual); in TEST_F()
141 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
144 << toString(textBuf, actual); in TEST_F()
145 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
148 << toString(textBuf, actual); in TEST_F()
149 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
152 << toString(textBuf, actual); in TEST_F()
153 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
156 << toString(textBuf, actual); in TEST_F()
167 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
170 << toString(textBuf, actual); in TEST_F()
171 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
174 << toString(textBuf, actual); in TEST_F()
182 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
185 << toString(textBuf, actual); in TEST_F()
192 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
195 << toString(textBuf, actual); in TEST_F()
206 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
209 << toString(textBuf, actual); in TEST_F()
216 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
219 << toString(textBuf, actual); in TEST_F()
226 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
229 << toString(textBuf, actual); in TEST_F()
236 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
239 << toString(textBuf, actual); in TEST_F()
250 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
253 << toString(textBuf, actual); in TEST_F()
260 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
263 << toString(textBuf, actual); in TEST_F()
270 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
273 << toString(textBuf, actual); in TEST_F()
280 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
283 << toString(textBuf, actual); in TEST_F()
294 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
297 << toString(textBuf, actual); in TEST_F()
304 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
307 << toString(textBuf, actual); in TEST_F()
314 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
317 << toString(textBuf, actual); in TEST_F()
324 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
327 << toString(textBuf, actual); in TEST_F()
338 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
341 << toString(textBuf, actual); in TEST_F()
342 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
345 << toString(textBuf, actual); in TEST_F()
346 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
349 << toString(textBuf, actual); in TEST_F()
350 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
353 << toString(textBuf, actual); in TEST_F()
365 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
368 << toString(textBuf, actual); in TEST_F()
369 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
372 << toString(textBuf, actual); in TEST_F()
373 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
376 << toString(textBuf, actual); in TEST_F()
384 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
387 << toString(textBuf, actual); in TEST_F()
400 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
403 << toString(textBuf, actual); in TEST_F()
411 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
414 << toString(textBuf, actual); in TEST_F()
423 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
426 << toString(textBuf, actual); in TEST_F()
434 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
437 << toString(textBuf, actual); in TEST_F()
450 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
453 << toString(textBuf, actual); in TEST_F()
454 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
457 << toString(textBuf, actual); in TEST_F()
466 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
469 << toString(textBuf, actual); in TEST_F()
470 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
473 << toString(textBuf, actual); in TEST_F()
486 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
489 << toString(textBuf, actual); in TEST_F()
490 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
493 << toString(textBuf, actual); in TEST_F()
502 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
505 << toString(textBuf, actual); in TEST_F()
506 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
509 << toString(textBuf, actual); in TEST_F()
524 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
527 << toString(textBuf, actual); in TEST_F()
528 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
531 << toString(textBuf, actual); in TEST_F()
541 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
544 << toString(textBuf, actual); in TEST_F()
545 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
548 << toString(textBuf, actual); in TEST_F()
563 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
566 << toString(textBuf, actual); in TEST_F()
567 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
570 << toString(textBuf, actual); in TEST_F()
580 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
583 << toString(textBuf, actual); in TEST_F()
584 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
587 << toString(textBuf, actual); in TEST_F()
604 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
607 << toString(textBuf, actual); in TEST_F()
621 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
624 << toString(textBuf, actual); in TEST_F()
637 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
640 << toString(textBuf, actual); in TEST_F()
654 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
657 << toString(textBuf, actual); in TEST_F()
677 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
680 << toString(textBuf, actual); in TEST_F()
697 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
700 << toString(textBuf, actual); in TEST_F()
715 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
718 << toString(textBuf, actual); in TEST_F()
734 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
737 << toString(textBuf, actual); in TEST_F()
758 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
761 << toString(textBuf, actual); in TEST_F()
762 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
765 << toString(textBuf, actual); in TEST_F()
783 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
786 << toString(textBuf, actual); in TEST_F()
787 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
790 << toString(textBuf, actual); in TEST_F()
819 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
822 << toString(textBuf, actual); in TEST_F()
823 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
826 << toString(textBuf, actual); in TEST_F()
827 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
830 << toString(textBuf, actual); in TEST_F()
831 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
834 << toString(textBuf, actual); in TEST_F()
842 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local
856 doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, "pl", LINE_WIDTH); in TEST_F()
859 << toString(textBuf, actual); in TEST_F()
868 doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, "pl", LINE_WIDTH); in TEST_F()
871 << toString(textBuf, actual); in TEST_F()
883 doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, "pl", LINE_WIDTH); in TEST_F()
886 << toString(textBuf, actual); in TEST_F()
899 const auto textBuf = utf8ToUtf16(""); in TEST_F() local
901 const auto actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
904 << toString(textBuf, actual); in TEST_F()
907 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local
911 const auto actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
914 << toString(textBuf, actual); in TEST_F()
917 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local
922 const auto actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
925 << toString(textBuf, actual); in TEST_F()
938 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
943 builder.addCustomRun<ConstantRun>(Range(0, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F()
946 builder.build(textBuf, true /* compute hyphenation */, in TEST_F()
950 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
953 << toString(textBuf, actual); in TEST_F()
957 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
962 builder.addCustomRun<ConstantRun>(Range(0, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F()
965 builder.build(textBuf, true /* compute hyphenation */, in TEST_F()
969 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
972 << toString(textBuf, actual); in TEST_F()
985 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
993 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F()
996 builder.build(textBuf, true /* compute hyphenation */, in TEST_F()
1000 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1003 << toString(textBuf, actual); in TEST_F()
1012 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "fr-FR", CHAR_WIDTH, ASCENT, in TEST_F()
1015 builder.build(textBuf, true /* compute hyphenation */, in TEST_F()
1018 doLineBreak(textBuf, *measuredText, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1021 << toString(textBuf, actual); in TEST_F()
1035 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local
1043 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1046 << toString(textBuf, actual); in TEST_F()
1047 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1050 << toString(textBuf, actual); in TEST_F()
1057 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1060 << toString(textBuf, actual); in TEST_F()
1061 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1064 << toString(textBuf, actual); in TEST_F()
1068 const auto textBuf = utf8ToUtf16("This is an email: a@example.com"); in TEST_F() local
1076 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1079 << toString(textBuf, actual); in TEST_F()
1080 actual = doLineBreak(textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1083 << toString(textBuf, actual); in TEST_F()
1084 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1087 << toString(textBuf, actual); in TEST_F()
1088 actual = doLineBreak(textBuf, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1091 << toString(textBuf, actual); in TEST_F()
1107 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local
1110 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "fr-FR", CHAR_WIDTH, ASCENT, in TEST_F()
1113 builder.build(textBuf, true /* compute hyphenation */, in TEST_F()
1124 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1127 << toString(textBuf, actual); in TEST_F()
1128 actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1131 << toString(textBuf, actual); in TEST_F()
1140 actual = doLineBreak(textBuf, *measured, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1143 << toString(textBuf, actual); in TEST_F()
1144 actual = doLineBreak(textBuf, *measured, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1147 << toString(textBuf, actual); in TEST_F()
1150 const auto textBuf = utf8ToUtf16("This is an email: a@example.com"); in TEST_F() local
1153 builder.addCustomRun<ConstantRun>(Range(18, textBuf.size()), "fr-FR", CHAR_WIDTH, ASCENT, in TEST_F()
1156 builder.build(textBuf, true /* compute hyphenation */, in TEST_F()
1166 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1169 << toString(textBuf, actual); in TEST_F()
1170 actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1173 << toString(textBuf, actual); in TEST_F()
1174 actual = doLineBreak(textBuf, *measured, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
1177 << toString(textBuf, actual); in TEST_F()
1178 actual = doLineBreak(textBuf, *measured, BALANCED, NORMAL_HYPHENATION, LINE_WIDTH); in TEST_F()
1181 << toString(textBuf, actual); in TEST_F()
1187 const std::vector<uint16_t> textBuf = utf8ToUtf16("The \u3042\u3044\u3046 is Japanese."); in TEST_F() local
1199 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1202 << toString(textBuf, actual); in TEST_F()
1211 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1214 << toString(textBuf, actual); in TEST_F()
1223 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1226 << toString(textBuf, actual); in TEST_F()
1236 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1239 << toString(textBuf, actual); in TEST_F()
1250 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1253 << toString(textBuf, actual); in TEST_F()
1265 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1268 << toString(textBuf, actual); in TEST_F()
1285 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1288 << toString(textBuf, actual); in TEST_F()
1311 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHEN, LINE_WIDTH); in TEST_F()
1314 << toString(textBuf, actual); in TEST_F()
1324 const auto textBuf = utf8ToUtf16("This is an example \u2639 text."); in TEST_F() local
1331 builder.addCustomRun<ConstantRun>(Range(21, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F()
1335 builder.build(textBuf, false /* compute hyphenation */, in TEST_F()
1339 return breakLineOptimal(textBuf, *measuredText, rectangleLineWidth, in TEST_F()
1357 << toString(textBuf, actual); in TEST_F()
1374 << toString(textBuf, actual); in TEST_F()
1407 << toString(textBuf, actual); in TEST_F()
1417 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
1424 builder.addCustomRun<ConstantRun>(Range(11, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F()
1428 builder.build(textBuf, false /* compute hyphenation */, in TEST_F()
1432 return breakLineOptimal(textBuf, *measuredText, rectangleLineWidth, in TEST_F()
1450 << toString(textBuf, actual); in TEST_F()
1466 << toString(textBuf, actual); in TEST_F()
1495 << toString(textBuf, actual); in TEST_F()
1506 const auto textBuf = utf8ToUtf16("\u672C\u65E5\u306F\u6674\u5929\u306A\u308A"); in TEST_F() local
1513 builder.addCustomRun<ConstantRun>(Range(5, textBuf.size()), "ja-JP", CHAR_WIDTH, ASCENT, in TEST_F()
1517 builder.build(textBuf, false /* compute hyphenation */, in TEST_F()
1521 return breakLineOptimal(textBuf, *measuredText, rectangleLineWidth, in TEST_F()
1538 << toString(textBuf, actual); in TEST_F()
1554 << toString(textBuf, actual); in TEST_F()
1570 << toString(textBuf, actual); in TEST_F()
1584 << toString(textBuf, actual); in TEST_F()
1599 << toString(textBuf, actual); in TEST_F()
1614 << toString(textBuf, actual); in TEST_F()
1629 << toString(textBuf, actual); in TEST_F()
1647 << toString(textBuf, actual); in TEST_F()
1661 const auto textBuf = utf8ToUtf16("ab de\u00A0\u00A0fg ij\u00A0\u00A0kl no\u00A0\u00A0pq st"); in TEST_F() local
1674 builder.build(textBuf, false /* compute hyphenation */, in TEST_F()
1678 return breakLineOptimal(textBuf, *measuredText, rectangleLineWidth, in TEST_F()
1694 << toString(textBuf, actual); in TEST_F()
1709 << toString(textBuf, actual); in TEST_F()
1724 << toString(textBuf, actual); in TEST_F()
1739 << toString(textBuf, actual); in TEST_F()
1754 << toString(textBuf, actual); in TEST_F()
1770 << toString(textBuf, actual); in TEST_F()
1788 << toString(textBuf, actual); in TEST_F()
1798 const auto textBuf = utf8ToUtf16("This (is an) example text."); in TEST_F() local
1805 builder.addCustomRun<ConstantRun>(Range(11, textBuf.size()), "en-US", CHAR_WIDTH, ASCENT, in TEST_F()
1809 builder.build(textBuf, false /* compute hyphenation */, in TEST_F()
1813 return breakLineOptimal(textBuf, *measuredText, rectangleLineWidth, in TEST_F()
1830 << toString(textBuf, actual); in TEST_F()
1844 << toString(textBuf, actual); in TEST_F()
1858 << toString(textBuf, actual); in TEST_F()
1873 << toString(textBuf, actual); in TEST_F()
1889 << toString(textBuf, actual); in TEST_F()
1906 << toString(textBuf, actual); in TEST_F()
1924 << toString(textBuf, actual); in TEST_F()
1945 << toString(textBuf, actual); in TEST_F()
1977 << toString(textBuf, actual); in TEST_F()
1985 const std::vector<uint16_t> textBuf = utf8ToUtf16("example \u2066example"); in TEST_F() local
1998 auto actual = doLineBreak(textBuf, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
2001 << toString(textBuf, actual); in TEST_F()
2002 actual = doLineBreak(textBuf, BALANCED, NO_HYPHENATION, LINE_WIDTH); in TEST_F()
2005 << toString(textBuf, actual); in TEST_F()