24 lines
		
	
	
		
			690 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			690 B
		
	
	
	
		
			Plaintext
		
	
	
	
| # Copyright 2016 The Chromium OS Authors. All rights reserved.
 | |
| # Use of this source code is governed by a BSD-style license that can be
 | |
| # found in the LICENSE file.
 | |
| 
 | |
| AUTHOR = "kathrelkeld"
 | |
| NAME = "touch_HasInput.stylus"
 | |
| PURPOSE = "Check whether a stylus is present as an input source."
 | |
| CRITERIA = """
 | |
| This test will fail if the device does not have stylus input.
 | |
| """
 | |
| ATTRIBUTES = "suite:touch"
 | |
| TIME = "SHORT"
 | |
| TEST_CATEGORY = "Functional"
 | |
| TEST_CLASS = "touch"
 | |
| TEST_TYPE = "client"
 | |
| DEPENDENCIES = "stylus"
 | |
| 
 | |
| DOC = """
 | |
| If there is no /dev/input/event* that is a stylus, test will fail.  Test
 | |
| should only be run on devices with a stylus.
 | |
| """
 | |
| 
 | |
| job.run_test('touch_HasInput', input_type='stylus')
 |