Index: chrome/test/data/chromeos/virtual_keyboard/inputview/typing_test.js |
diff --git a/chrome/test/data/chromeos/virtual_keyboard/inputview/typing_test.js b/chrome/test/data/chromeos/virtual_keyboard/inputview/typing_test.js |
index 5f3d69afd1793c5143ef5a5563252812742ef169..a80a28fcc95d2fd741e1837d84b5f920cd3886c5 100644 |
--- a/chrome/test/data/chromeos/virtual_keyboard/inputview/typing_test.js |
+++ b/chrome/test/data/chromeos/virtual_keyboard/inputview/typing_test.js |
@@ -5,11 +5,24 @@ |
*/ |
/** |
- * Tests typing in the lowecase keyset. |
+ * Tests typing in the lowercase keyset. |
*/ |
function testLowercaseKeyset() { |
+ // Mouse events. |
mockMouseType('l'); |
mockMouseType('p'); |
- mockMouseType('e'); |
- mockMouseType('f'); |
+ |
+ // Touch events. |
+ mockTouchType('l'); |
+ mockTouchType('p'); |
+} |
+ |
+/** |
+ * Tests longpress on the keyboard. |
+ */ |
+function testLongpress() { |
+ // TODO(rsadam@): Add support for mock longpressing the non-default selection. |
+ mockLongpress('e', ['e', 'E'], 'e'); |
+ mockLongpress('a', ['a', 'A'], 'a'); |
+ // TODO(rsadam@): Test cancelling longpress. |
} |