# 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.touchscreen" PURPOSE = "Check whether a touchscreen 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 = "touchscreen" DOC = """ If there is no /dev/input/event* that is a touchscreen, test will fail. Test should only be run on devices with a touchscreen. """ job.run_test('touch_HasInput', input_type='touchscreen')