• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "kathrelkeld"
6NAME = "touch_HasInput.touchscreen"
7PURPOSE = "Check whether a touchscreen is present as an input source."
8CRITERIA = """
9This test will fail if the device does not have touchpad input.
10"""
11ATTRIBUTES = "suite:touch"
12TIME = "SHORT"
13TEST_CATEGORY = "Functional"
14TEST_CLASS = "touch"
15TEST_TYPE = "client"
16DEPENDENCIES = "touchscreen"
17
18DOC = """
19If there is no /dev/input/event* that is a touchscreen, test will fail.  Test
20should only be run on devices with a touchscreen.
21"""
22
23job.run_test('touch_HasInput', input_type='touchscreen')
24