Lines Matching refs:getFontName

104 std::string getFontName(const FontCollection::Run& run) {  in getFontName()  function
127 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
135 EXPECT_EQ(kLatinItalicFont, getFontName(runs[0])); in TEST()
143 EXPECT_EQ(kLatinBoldFont, getFontName(runs[0])); in TEST()
151 EXPECT_EQ(kLatinBoldItalicFont, getFontName(runs[0])); in TEST()
161 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
169 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
179 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
193 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
200 EXPECT_EQ(kCherokeeFont, getFontName(runs[0])); in TEST()
207 EXPECT_EQ(kCherokeeFont, getFontName(runs[0])); in TEST()
213 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
220 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
223 EXPECT_EQ(kCherokeeFont, getFontName(runs[1])); in TEST()
233 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
243 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
251 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
259 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
265 EXPECT_EQ(kEmojiFont, getFontName(runs[1])); in TEST()
275 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
281 EXPECT_EQ(kEmojiFont, getFontName(runs[1])); in TEST()
294 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
303 EXPECT_EQ(kKOFont, getFontName(runs[0])); in TEST()
313 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
323 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
333 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
339 EXPECT_EQ(kZH_HansFont, getFontName(runs[1])); in TEST()
345 EXPECT_EQ(kJAFont, getFontName(runs[2])); in TEST()
354 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
365 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
377 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
383 EXPECT_EQ(kZH_HansFont, getFontName(runs[1])); in TEST()
389 EXPECT_EQ(kLatinFont, getFontName(runs[2])); in TEST()
395 EXPECT_EQ(kZH_HansFont, getFontName(runs[3])); in TEST()
401 EXPECT_EQ(kLatinFont, getFontName(runs[4])); in TEST()
420 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
426 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
432 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
435 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
441 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
444 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
447 EXPECT_EQ(kZH_HansFont, getFontName(runs[2])); in TEST()
454 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
461 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
470 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
476 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
482 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
485 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
491 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
494 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
497 EXPECT_EQ(kZH_HantFont, getFontName(runs[2])); in TEST()
504 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
511 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
518 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
524 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
532 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
539 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
556 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
562 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
568 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
571 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
577 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
580 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
583 EXPECT_EQ(kZH_HansFont, getFontName(runs[2])); in TEST()
590 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
597 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
607 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
613 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
619 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
622 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
628 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
631 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
634 EXPECT_EQ(kZH_HantFont, getFontName(runs[2])); in TEST()
641 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
648 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
655 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
661 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
702 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
711 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
720 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
741 EXPECT_EQ(kVSTestFont, getFontName(runs[0])); in TEST()
751 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
757 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
763 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
769 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
775 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
781 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
787 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
793 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
799 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
805 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
1272 EXPECT_EQ(testCase.expectedFont, getFontName(runs[0])); in TEST()
1285 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1294 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1302 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1310 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1318 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1327 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1336 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1344 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1352 EXPECT_EQ(kMixedEmojiFont, getFontName(runs[0])); in TEST()
1365 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1373 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1382 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1390 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1399 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1407 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1415 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1423 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1431 EXPECT_EQ(kMixedEmojiFont, getFontName(runs[0])); in TEST()
1442 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1449 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1456 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1464 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1467 EXPECT_EQ(kColorEmojiFont, getFontName(runs[1])); in TEST()
1478 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1484 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1494 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1500 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1506 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()