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