aboutsummaryrefslogtreecommitdiff
path: root/client/site_tests/touch_HasInput/control.touchpad
blob: a69dbdcf699e3f298d62befc5f6eef65cc5541a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2015 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_HasInput.touchpad"
PURPOSE = "Check whether a touchpad is present as an input source."
CRITERIA = """
This test will fail if the device does not have touchpad input.
"""
ATTRIBUTES = "suite:touch"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "touch"
TEST_TYPE = "client"
DEPENDENCIES = "touchpad"
PY_VERSION = 3

DOC = """
If there is no /dev/input/event* that is a touchpad, test will fail.  Test
should only be run on devices with a touchpad.
"""

job.run_test('touch_HasInput', input_type='touchpad')