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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc

Issue 10917061: Fix preedit handling on IME switching. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix URL Created 8 years, 3 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_manager_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
index 2856b61960ab8bdcde79828847bac4ef18c9b29c..195eaf172a8e73fa111e05246455592c0cb09c58 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
@@ -984,9 +984,13 @@ TEST_F(InputMethodManagerImplTest, TestReset) {
EXPECT_EQ(2U, manager_->GetNumActiveInputMethods());
EXPECT_EQ(1, controller_->reset_count_);
manager_->ChangeInputMethod("mozc");
+ EXPECT_EQ(1, controller_->change_input_method_count_);
+ EXPECT_EQ("mozc", controller_->change_input_method_id_);
EXPECT_EQ(1, controller_->reset_count_);
manager_->ChangeInputMethod("xkb:us::eng");
- EXPECT_EQ(2, controller_->reset_count_);
+ EXPECT_EQ(2, controller_->change_input_method_count_);
+ EXPECT_EQ("mozc", controller_->change_input_method_id_);
+ EXPECT_EQ(1, controller_->reset_count_);
}
} // namespace input_method
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_manager_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698