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

Side by Side Diff: chrome/browser/chromeos/input_method/ibus_controller_base_unittest.cc

Issue 12438013: Move InputMethod misc class from c/b/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/chromeos/input_method/ibus_controller_base.h" 7 #include "chrome/browser/chromeos/input_method/ibus_controller_base.h"
8 #include "chrome/browser/chromeos/input_method/input_method_config.h" 8 #include "chromeos/ime/input_method_config.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 namespace input_method { 12 namespace input_method {
13 13
14 namespace { 14 namespace {
15 15
16 // A mock class for testing SetInputMethodConfig(), AddObserver(), and 16 // A mock class for testing SetInputMethodConfig(), AddObserver(), and
17 // RemoveObserver() methods in IBusControllerBase. 17 // RemoveObserver() methods in IBusControllerBase.
18 class TestIBusController : public IBusControllerBase { 18 class TestIBusController : public IBusControllerBase {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 controller_->RemoveObserver(&observer2); 179 controller_->RemoveObserver(&observer2);
180 EXPECT_EQ(0U, controller_->GetObserverCount()); 180 EXPECT_EQ(0U, controller_->GetObserverCount());
181 } 181 }
182 182
183 TEST_F(IBusControllerBaseTest, TestGetCurrentProperties) { 183 TEST_F(IBusControllerBaseTest, TestGetCurrentProperties) {
184 EXPECT_EQ(0U, controller_->GetCurrentProperties().size()); 184 EXPECT_EQ(0U, controller_->GetCurrentProperties().size());
185 } 185 }
186 186
187 } // namespace input_method 187 } // namespace input_method
188 } // namespace chromeos 188 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698