Lines Matching refs:systemFonts
55 TestableSystemFonts systemFonts; in TEST() local
57 systemFonts.registerFallback("sans", fc); in TEST()
58 EXPECT_EQ(fc, systemFonts.findFontCollection("sans")); in TEST()
62 TestableSystemFonts systemFonts; in TEST() local
64 systemFonts.registerDefault(fc); in TEST()
65 EXPECT_EQ(fc, systemFonts.findFontCollection("unknown-name")); in TEST()
69 TestableSystemFonts systemFonts; in TEST() local
72 systemFonts.registerDefault(fc1); in TEST()
73 systemFonts.registerFallback("sans", fc2); in TEST()
74 EXPECT_EQ(fc1, systemFonts.findFontCollection("unknown-name")); in TEST()
75 EXPECT_EQ(fc2, systemFonts.findFontCollection("sans")); in TEST()
79 TestableSystemFonts systemFonts; in TEST() local
82 systemFonts.registerDefault(fc1); in TEST()
83 systemFonts.registerFallback("sans", fc2); in TEST()
84 systemFonts.registerDefault(fc2); in TEST()
85 systemFonts.registerFallback("sans", fc1); in TEST()
86 EXPECT_EQ(fc2, systemFonts.findFontCollection("unknown-name")); in TEST()
87 EXPECT_EQ(fc1, systemFonts.findFontCollection("sans")); in TEST()
91 TestableSystemFonts systemFonts; in TEST() local
101 systemFonts.addFontMap(std::move(fc1)); in TEST()
102 systemFonts.addFontMap(std::move(fc2)); in TEST()
104 systemFonts.getFontSet([](const std::vector<std::shared_ptr<Font>>& fonts) { in TEST()