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

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

Issue 11416261: Clean Up: remove unused variable selection_item_id (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_property.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_property_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_property_unittest.cc b/chrome/browser/chromeos/input_method/input_method_property_unittest.cc
index 5ff653ac5ef70eeea1b5a3bc4b331f96bdb284ef..3c7f7adced4cf712a74455373707f632b1b41432 100644
--- a/chrome/browser/chromeos/input_method/input_method_property_unittest.cc
+++ b/chrome/browser/chromeos/input_method/input_method_property_unittest.cc
@@ -11,13 +11,12 @@ namespace input_method {
TEST(InputMethodPropertyTest, TestOperatorEqual) {
InputMethodProperty empty;
- InputMethodProperty reference("key", "label", true, true, 1);
+ InputMethodProperty reference("key", "label", true, true);
- InputMethodProperty p1("X", "label", true, true, 1);
- InputMethodProperty p2("key", "X", true, true, 1);
- InputMethodProperty p3("key", "label", false, true, 1);
- InputMethodProperty p4("key", "label", true, false, 1);
- InputMethodProperty p5("key", "label", true, true, 0);
+ InputMethodProperty p1("X", "label", true, true);
+ InputMethodProperty p2("key", "X", true, true);
+ InputMethodProperty p3("key", "label", false, true);
+ InputMethodProperty p4("key", "label", true, false);
EXPECT_EQ(empty, empty);
EXPECT_EQ(reference, reference);
@@ -26,7 +25,6 @@ TEST(InputMethodPropertyTest, TestOperatorEqual) {
EXPECT_NE(reference, p2);
EXPECT_NE(reference, p3);
EXPECT_NE(reference, p4);
- EXPECT_NE(reference, p5);
}
} // namespace input_method
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_property.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698