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_ScrollDirection"
7PURPOSE = "Test that scrolling occurs and in the correct direction."
8CRITERIA = """
9This test will fail if, after playback of touch events, no scrolling is detected
10or if scrolling is in the wrong direction.
11"""
12ATTRIBUTES = "suite:touch"
13TIME = "SHORT"
14TEST_CATEGORY = "Functional"
15TEST_CLASS = "touch"
16TEST_TYPE = "client"
17DEPENDENCIES = "touchpad"
18
19DOC = """
20Detects presence of touchscreen to determine whether Australian scrolling
21should be default.  Plays back touch movements and checks for scroll up or down.
22Toggles Australian scrolling and repeats.
23"""
24
25job.run_test('touch_ScrollDirection')
26