Lines Matching refs:target_lang
67 std::string* target_lang) {
79 if (target_lang)
80 *target_lang = translate_param.d;
304 std::string original_lang, target_lang;
305 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
307 EXPECT_EQ("en", target_lang);
322 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
324 EXPECT_EQ("en", target_lang);
337 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
339 EXPECT_EQ(new_target_lang, target_lang);
526 std::string original_lang, target_lang;
527 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
530 EXPECT_EQ("en", target_lang);
537 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
947 std::string original_lang, target_lang;
948 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
950 EXPECT_EQ("en", target_lang);
955 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
965 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
975 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1017 std::string original_lang, target_lang;
1018 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1020 EXPECT_EQ("en", target_lang);
1044 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1051 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1059 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1068 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1128 std::string original_lang, target_lang;
1129 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1155 EXPECT_FALSE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1209 std::string original_lang, target_lang;
1210 EXPECT_TRUE(GetTranslateMessage(&page_id, &original_lang, &target_lang));
1212 EXPECT_EQ("en", target_lang);