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

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

Issue 7493077: Add pref entry for virtual keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
Index: chrome/browser/chromeos/input_method/virtual_keyboard_selector_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/virtual_keyboard_selector_unittest.cc b/chrome/browser/chromeos/input_method/virtual_keyboard_selector_unittest.cc
index 8935f2c54e59b723cbfbe80939689dfd19e67ceb..834f309ea4fe17f728283d3ef0aabd386e8af533 100644
--- a/chrome/browser/chromeos/input_method/virtual_keyboard_selector_unittest.cc
+++ b/chrome/browser/chromeos/input_method/virtual_keyboard_selector_unittest.cc
@@ -371,9 +371,10 @@ TEST(VirtualKeyboardSelectorTest, TestSetUserPreferenceUserSystemMixed) {
system_virtual_keyboard_2.supported_layouts(),
system_virtual_keyboard_2.is_system());
- // Set and then remove user pref (=NOP).
+ // Set and then remove user prefs (=NOP).
EXPECT_TRUE(selector.SetUserPreference("a", GURL("http://system1")));
- selector.RemoveUserPreference("a");
+ EXPECT_TRUE(selector.SetUserPreference("z", GURL("http://system2")));
+ selector.ClearUserPreference();
bryeung 2011/08/03 22:15:40 There should still be a test for RemoveUserPrefere
Yusuke Sato 2011/08/04 07:34:50 Done.
// At this point, user_virtual_keyboard_2 has the highest priority.
ASSERT_TRUE(selector.SelectVirtualKeyboardWithoutPreferences("a"));

Powered by Google App Engine
This is Rietveld 408576698