1 # Copyright (c) 2014 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_TapSettings" 7 PURPOSE = "Test that tap-to-click and tap dragging can be enabled/disabled." 8 CRITERIA = """ 9 This test will fail if, after playback of touch events, tap-to-click or tap 10 dragging does not work when supposed to or works when not supposed to. 11 """ 12 ATTRIBUTES = "suite:bvt-perbuild, suite:touch" 13 SUITE = "bvt-perbuild,touch" 14 TIME = "SHORT" 15 TEST_CATEGORY = "Functional" 16 TEST_CLASS = "touch" 17 TEST_TYPE = "client" 18 DEPENDENCIES = "touchpad" 19 20 DOC = """ 21 Uses javascript page to listen for mouse clicks and drags. If tap-to-click is 22 working, the click count will increase. If tap dragging is working, movement 23 will be detected during a click. Enables and disables tap-to-click and tap 24 dragging, checking whether they change. 25 """ 26 27 job.run_test('touch_TapSettings') 28