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_MouseScroll" 7PURPOSE = "Test that USB mouse scrolling occurs and in the correct direction." 8CRITERIA = """ 9This test will fail if, after playback of emulated mouse events, the scrolling 10does not match the expected direction or behavior. 11""" 12ATTRIBUTES = "suite:bvt-perbuild, suite:touch" 13TIME = "SHORT" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "touch" 16TEST_TYPE = "client" 17 18DOC = """ 19Uses a mouse description file to emulate a USB mouse. Plays back a single 20scroll wheel tick (both up and down) and measures the page scroll delta. 21Plays back a fast scroll and a slow scroll and compares them. 22""" 23 24job.run_test('touch_MouseScroll') 25