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

Unified Diff: chromeos/ime/input_method_descriptor_unittest.cc

Issue 14123005: Remove operator function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments 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 | « chromeos/ime/input_method_descriptor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/input_method_descriptor_unittest.cc
diff --git a/chromeos/ime/input_method_descriptor_unittest.cc b/chromeos/ime/input_method_descriptor_unittest.cc
deleted file mode 100644
index 54bf75317fa2e59c1595c8fb0919057bac71299a..0000000000000000000000000000000000000000
--- a/chromeos/ime/input_method_descriptor_unittest.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/logging.h"
-#include "chromeos/ime/input_method_descriptor.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace chromeos {
-namespace input_method {
-
-namespace {
-
-const char kFallbackLayout[] = "us";
-
-class InputMethodDescriptorTest : public testing::Test {
- public:
- InputMethodDescriptorTest() {
- }
-
- protected:
- InputMethodDescriptor GetDescById(const std::string& id) {
- return InputMethodDescriptor(id,
- "", // name
- "us",
- "language_code",
- "");
- }
-};
-
-} // namespace
-
-TEST_F(InputMethodDescriptorTest, TestOperatorEqual) {
- EXPECT_EQ(GetDescById("xkb:us::eng"), GetDescById("xkb:us::eng"));
- EXPECT_NE(GetDescById("xkb:us::eng"), GetDescById("xkb:us:dvorak:eng"));
- EXPECT_NE(GetDescById("xkb:fr::fra"), GetDescById("xkb:us::eng"));
-}
-
-} // namespace input_method
-} // namespace chromeos
« no previous file with comments | « chromeos/ime/input_method_descriptor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698