| # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "kathrelkeld" |
| NAME = "touch_StylusTaps" |
| PURPOSE = "Test that stylus presses are interpreted as clicks." |
| CRITERIA = """ |
| This test will fail if, after playback of touch events, taps do not appear |
| on test page. |
| """ |
| ATTRIBUTES = "suite:touch" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "touch" |
| TEST_TYPE = "client" |
| DEPENDENCIES = "stylus" |
| |
| DOC = """ |
| Uses kernel playback and a javascript page to play and listen for stylus taps. |
| If all goes well, the click count will increase. |
| """ |
| |
| job.run_test('touch_StylusTaps') |