OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /** | 7 /** |
8 * Tests typing in the lowercase keyset. | 8 * Tests typing in the lowercase keyset. |
9 */ | 9 */ |
10 function testLowercaseKeyset() { | 10 function testLowercaseKeysetAsync(testDoneCallback) { |
11 // Mouse events. | 11 var test = function() { |
12 mockMouseType('l'); | 12 // Mouse events. |
13 mockMouseType('p'); | 13 mockMouseType('l'); |
| 14 mockMouseType('p'); |
14 | 15 |
15 // Touch events. | 16 // Touch events. |
16 mockTouchType('l'); | 17 mockTouchType('l'); |
17 mockTouchType('p'); | 18 mockTouchType('p'); |
| 19 } |
| 20 RunTest(test, testDoneCallback); |
18 } | 21 } |
OLD | NEW |