OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |