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

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

Issue 11280159: Remove ibus dependency from PanelService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years 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/ibus_ui_controller_unittest.cc
diff --git a/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc b/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc
deleted file mode 100644
index d70ba2d793608d33d5a24a4a12de029c5e705ded..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/input_method/ibus_ui_controller_unittest.cc
+++ /dev/null
@@ -1,30 +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 "chrome/browser/chromeos/input_method/ibus_ui_controller.h"
-#include "chrome/browser/chromeos/input_method/input_method_descriptor.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace chromeos {
-namespace input_method {
-
-// TODO(nona): Add more tests (crosbug.com/26334).
-
-TEST(IBusUiControllerTest, TestIsActive) {
- InputMethodDescriptors descriptors;
- EXPECT_FALSE(IsActiveForTesting("mozc", &descriptors));
- descriptors.push_back(
- InputMethodDescriptor("mozc", "name", "us", "en-US", false));
- EXPECT_TRUE(IsActiveForTesting("mozc", &descriptors));
- EXPECT_FALSE(IsActiveForTesting("mozc-jp", &descriptors));
- descriptors.push_back(
- InputMethodDescriptor("xkb:us::eng", "name", "us", "en-US", false));
- EXPECT_TRUE(IsActiveForTesting("xkb:us::eng", &descriptors));
- EXPECT_TRUE(IsActiveForTesting("mozc", &descriptors));
- EXPECT_FALSE(IsActiveForTesting("mozc-jp", &descriptors));
-}
-
-} // namespace input_method
-} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698