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