Lines Matching refs:HasResult

1287   bool HasResult(const std::string& input, const std::string& locales);
1340 bool ParserLocaleTest::HasResult(const std::string& input, in HasResult() function in libtextclassifier3::__anon875d2c800111::ParserLocaleTest
1351 EXPECT_TRUE(HasResult("en-US", /*locales=*/"en-US")); in TEST_F()
1352 EXPECT_FALSE(HasResult("en-CH", /*locales=*/"en-US")); in TEST_F()
1353 EXPECT_FALSE(HasResult("en-US", /*locales=*/"en-CH")); in TEST_F()
1354 EXPECT_TRUE(HasResult("en-CH", /*locales=*/"en-CH")); in TEST_F()
1355 EXPECT_TRUE(HasResult("default", /*locales=*/"en-CH")); in TEST_F()
1359 EXPECT_TRUE(HasResult("zh-Hant-all", /*locales=*/"zh-Hant")); in TEST_F()
1360 EXPECT_TRUE(HasResult("zh-Hant-all", /*locales=*/"zh-Hant-TW")); in TEST_F()
1361 EXPECT_TRUE(HasResult("zh-Hant-all", /*locales=*/"zh-Hant-SG")); in TEST_F()
1362 EXPECT_FALSE(HasResult("zh-Hant-all", /*locales=*/"zh-SG")); in TEST_F()
1363 EXPECT_FALSE(HasResult("zh-Hant-all", /*locales=*/"zh")); in TEST_F()
1364 EXPECT_TRUE(HasResult("default", /*locales=*/"zh")); in TEST_F()
1365 EXPECT_TRUE(HasResult("default", /*locales=*/"zh-Hant-SG")); in TEST_F()
1369 EXPECT_TRUE(HasResult("all-CH", /*locales=*/"de-CH")); in TEST_F()
1370 EXPECT_TRUE(HasResult("all-CH", /*locales=*/"en-CH")); in TEST_F()
1371 EXPECT_TRUE(HasResult("en-all", /*locales=*/"en-CH")); in TEST_F()
1372 EXPECT_FALSE(HasResult("all-CH", /*locales=*/"de-DE")); in TEST_F()
1373 EXPECT_TRUE(HasResult("default", /*locales=*/"de-CH")); in TEST_F()
1374 EXPECT_TRUE(HasResult("default", /*locales=*/"en-CH")); in TEST_F()