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

Side by Side Diff: chrome/browser/chromeos/extensions/input_view_browsertest.cc

Issue 255823004: Adds shift and capslock tests to IME Keyboard tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ash/shell.h" 5 #include "ash/shell.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.h" 7 #include "chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.h"
8 #include "chrome/browser/extensions/crx_installer.h" 8 #include "chrome/browser/extensions/crx_installer.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/extensions/extension_test_notification_observer.h" 10 #include "chrome/browser/extensions/extension_test_notification_observer.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ime->ChangeInputMethod(id); 73 ime->ChangeInputMethod(id);
74 return extensionId; 74 return extensionId;
75 } 75 }
76 }; 76 };
77 77
78 IN_PROC_BROWSER_TEST_F(InputViewBrowserTest, TypingTest) { 78 IN_PROC_BROWSER_TEST_F(InputViewBrowserTest, TypingTest) {
79 std::string id = InstallIMEExtension(); 79 std::string id = InstallIMEExtension();
80 ASSERT_FALSE(id.empty()); 80 ASSERT_FALSE(id.empty());
81 RunTest(base::FilePath("typing_test.js"), InputViewConfig(id)); 81 RunTest(base::FilePath("typing_test.js"), InputViewConfig(id));
82 } 82 }
83
84 IN_PROC_BROWSER_TEST_F(InputViewBrowserTest, KeysetTransitionTest) {
85 std::string id = InstallIMEExtension();
86 ASSERT_FALSE(id.empty());
87 RunTest(base::FilePath("keyset_transition_test.js"), InputViewConfig(id));
88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698