Home | History | Annotate | Download | only in touch_ScrollDirection
      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_ScrollDirection"
      7 PURPOSE = "Test that scrolling occurs and in the correct direction."
      8 CRITERIA = """
      9 This test will fail if, after playback of touch events, no scrolling is detected
     10 or if scrolling is in the wrong direction.
     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 Detects presence of touchscreen to determine whether Australian scrolling
     21 should be default.  Plays back touch movements and checks for scroll up or down.
     22 Toggles Australian scrolling and repeats.
     23 """
     24 
     25 job.run_test('touch_ScrollDirection')
     26