Lines Matching refs:getFontName

91 std::string getFontName(const FontCollection::Run& run) {  in getFontName()  function
115 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
123 EXPECT_EQ(kLatinItalicFont, getFontName(runs[0])); in TEST()
131 EXPECT_EQ(kLatinBoldFont, getFontName(runs[0])); in TEST()
139 EXPECT_EQ(kLatinBoldItalicFont, getFontName(runs[0])); in TEST()
149 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
157 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
167 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
182 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
189 EXPECT_EQ(kCherokeeFont, getFontName(runs[0])); in TEST()
196 EXPECT_EQ(kCherokeeFont, getFontName(runs[0])); in TEST()
202 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
209 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
212 EXPECT_EQ(kCherokeeFont, getFontName(runs[1])); in TEST()
223 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
233 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
241 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
249 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
255 EXPECT_EQ(kEmojiFont, getFontName(runs[1])); in TEST()
265 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
271 EXPECT_EQ(kEmojiFont, getFontName(runs[1])); in TEST()
285 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
294 EXPECT_EQ(kKOFont, getFontName(runs[0])); in TEST()
304 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
314 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
324 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
330 EXPECT_EQ(kZH_HansFont, getFontName(runs[1])); in TEST()
336 EXPECT_EQ(kJAFont, getFontName(runs[2])); in TEST()
345 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
356 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
369 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
375 EXPECT_EQ(kZH_HansFont, getFontName(runs[1])); in TEST()
381 EXPECT_EQ(kLatinFont, getFontName(runs[2])); in TEST()
387 EXPECT_EQ(kZH_HansFont, getFontName(runs[3])); in TEST()
393 EXPECT_EQ(kLatinFont, getFontName(runs[4])); in TEST()
413 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
419 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
425 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
428 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
434 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
437 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
440 EXPECT_EQ(kZH_HansFont, getFontName(runs[2])); in TEST()
447 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
454 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
463 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
469 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
475 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
478 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
484 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
487 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
490 EXPECT_EQ(kZH_HantFont, getFontName(runs[2])); in TEST()
497 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
504 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
511 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
517 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
525 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
532 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
550 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
556 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
562 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
565 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
571 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
574 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
577 EXPECT_EQ(kZH_HansFont, getFontName(runs[2])); in TEST()
584 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
591 EXPECT_EQ(kZH_HansFont, getFontName(runs[0])); in TEST()
601 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
607 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
613 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
616 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
622 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
625 EXPECT_EQ(kJAFont, getFontName(runs[1])); in TEST()
628 EXPECT_EQ(kZH_HantFont, getFontName(runs[2])); in TEST()
635 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
642 EXPECT_EQ(kZH_HantFont, getFontName(runs[0])); in TEST()
649 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
655 EXPECT_TRUE(runs[0].fakedFont.font == nullptr || kLatinFont == getFontName(runs[0])); in TEST()
698 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
707 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
716 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
739 EXPECT_EQ(kVSTestFont, getFontName(runs[0])); in TEST()
750 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
756 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
762 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
768 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
774 EXPECT_EQ(kJAFont, getFontName(runs[0])); in TEST()
780 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
786 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
792 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
798 EXPECT_EQ(kLatinFont, getFontName(runs[0])); in TEST()
804 EXPECT_EQ(kEmojiFont, getFontName(runs[0])); in TEST()
1272 EXPECT_EQ(testCase.expectedFont, getFontName(runs[0])); in TEST()
1286 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1295 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1303 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1311 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1319 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1328 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1337 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1345 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1353 EXPECT_EQ(kMixedEmojiFont, getFontName(runs[0])); in TEST()
1367 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1375 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1384 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1392 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1401 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1409 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1417 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1425 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1433 EXPECT_EQ(kMixedEmojiFont, getFontName(runs[0])); in TEST()
1445 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1452 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1459 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1467 EXPECT_EQ(kTextEmojiFont, getFontName(runs[0])); in TEST()
1470 EXPECT_EQ(kColorEmojiFont, getFontName(runs[1])); in TEST()
1482 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1488 EXPECT_EQ(kNoGlyphFont, getFontName(runs[0])); in TEST()
1499 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1505 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()
1511 EXPECT_EQ(kColorEmojiFont, getFontName(runs[0])); in TEST()