Katherine Threlkeld | 8cca8e8 | 2015-09-15 17:07:24 -0700 | [diff] [blame] | 1 | # Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | AUTHOR = "kathrelkeld" |
| 6 | NAME = "touch_HasInput.touchpad" |
| 7 | PURPOSE = "Check whether a touchpad is present as an input source." |
| 8 | CRITERIA = """ |
| 9 | This test will fail if the device does not have touchpad input. |
| 10 | """ |
Kalin Stoyanov | 30c05d5 | 2019-01-17 15:50:09 -0800 | [diff] [blame] | 11 | ATTRIBUTES = "suite:touch" |
Katherine Threlkeld | 8cca8e8 | 2015-09-15 17:07:24 -0700 | [diff] [blame] | 12 | TIME = "SHORT" |
| 13 | TEST_CATEGORY = "Functional" |
| 14 | TEST_CLASS = "touch" |
| 15 | TEST_TYPE = "client" |
| 16 | DEPENDENCIES = "touchpad" |
| 17 | |
| 18 | DOC = """ |
| 19 | If there is no /dev/input/event* that is a touchpad, test will fail. Test |
| 20 | should only be run on devices with a touchpad. |
| 21 | """ |
| 22 | |
| 23 | job.run_test('touch_HasInput', input_type='touchpad') |