Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: chromeos/ime/input_method_whitelist_unittest.cc

Issue 14564007: Remove mozc from whitelist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TestUpdate Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_util_unittest.cc ('k') | chromeos/ime/input_methods.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/input_method_whitelist_unittest.cc
diff --git a/chromeos/ime/input_method_whitelist_unittest.cc b/chromeos/ime/input_method_whitelist_unittest.cc
index eb4ed28da707c19ab66006d463c864346c66afb5..ec933b8626b02d671aabe6f138b63ccde9aed912 100644
--- a/chromeos/ime/input_method_whitelist_unittest.cc
+++ b/chromeos/ime/input_method_whitelist_unittest.cc
@@ -19,10 +19,11 @@ class InputMethodWhitelistTest : public testing::Test {
} // namespace
TEST_F(InputMethodWhitelistTest, TestInputMethodIdIsWhitelisted) {
- EXPECT_TRUE(whitelist_.InputMethodIdIsWhitelisted("mozc"));
+ EXPECT_TRUE(whitelist_.InputMethodIdIsWhitelisted("pinyin"));
EXPECT_TRUE(whitelist_.InputMethodIdIsWhitelisted("xkb:us:dvorak:eng"));
EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted("mozc,"));
- EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted("mozc,xkb:us:dvorak:eng"));
+ EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted(
+ "mozc-pinyin,xkb:us:dvorak:eng"));
EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted("not-supported-id"));
EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted(","));
EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted(""));
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_util_unittest.cc ('k') | chromeos/ime/input_methods.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698