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

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

Issue 9999018: chrome/browser/chromeos/input_method/ refactoring [part 6 of 6] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
6 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h"
7 #include "testing/gtest/include/gtest/gtest.h"
8
9 namespace chromeos {
10 namespace input_method {
11
12 TEST(InputMethodManagerTest, TestInitialize) {
13 InputMethodManager::Initialize();
14 InputMethodManager* manager = InputMethodManager::GetInstance();
15 EXPECT_TRUE(manager);
16 InputMethodManager::Shutdown();
17 }
18
19 TEST(InputMethodManagerTest, TestInitializeForTesting) {
20 InputMethodManager::InitializeForTesting(new MockInputMethodManager);
21 InputMethodManager* manager = InputMethodManager::GetInstance();
22 EXPECT_TRUE(manager);
23 InputMethodManager::Shutdown();
24 }
25
26 } // namespace input_method
27 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698