Lines Matching refs:testCase
254 for (const auto& testCase : testCases) { in TEST() local
256 HB_TAG(testCase.requestedScript[0], testCase.requestedScript[1], in TEST()
257 testCase.requestedScript[2], testCase.requestedScript[3])); in TEST()
258 if (testCase.isSupported) { in TEST()
259 EXPECT_TRUE(createLocale(testCase.baseScript).supportsHbScript(script)) in TEST()
260 << testCase.baseScript << " should support " << testCase.requestedScript; in TEST()
262 EXPECT_FALSE(createLocale(testCase.baseScript).supportsHbScript(script)) in TEST()
263 << testCase.baseScript << " shouldn't support " << testCase.requestedScript; in TEST()
559 for (const auto& testCase : testCases) { in TEST_F() local
560 SCOPED_TRACE(testCase.hasVSTable ? "Font " + testCase.fontPath + in TEST_F()
562 : "Font " + testCase.fontPath + in TEST_F()
565 std::shared_ptr<FontFamily> family = buildFontFamily(testCase.fontPath); in TEST_F()
566 EXPECT_EQ(testCase.hasVSTable, family->hasVSTable()); in TEST_F()
729 for (const TestCase& testCase : testCases) { in TEST_F() local
732 for (auto familyStyle : testCase.familyStyles) { in TEST_F()
740 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()
750 EXPECT_EQ(testCase.expectedIndex, idx) in TEST_F()
751 << "Input Style: " << fontStyleToString(testCase.wantedStyle) << std::endl in TEST_F()
752 << "Actual Families' Style: " << fontStyleToString(testCase.familyStyles[idx]) in TEST_F()
755 << fontStyleToString(testCase.familyStyles[testCase.expectedIndex]) << std::endl; in TEST_F()