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 TIME = "SHORT" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "touch" 16 TEST_TYPE = "client" 17 DEPENDENCIES = "touchpad" 18 19 DOC = """ 20 Uses javascript page to listen for mouse clicks and drags. If tap-to-click is 21 working, the click count will increase. If tap dragging is working, movement 22 will be detected during a click. Enables and disables tap-to-click and tap 23 dragging, checking whether they change. 24 """ 25 26 job.run_test('touch_TapSettings') 27