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