25 lines
		
	
	
		
			734 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			734 B
		
	
	
	
		
			Plaintext
		
	
	
	
# Copyright (c) 2012 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 = "sque"
 | 
						|
NAME = "power_AudioDetector"
 | 
						|
PURPOSE = "Verify the system does not suspend while playing audio."
 | 
						|
CRITERIA = """
 | 
						|
Fail if any of the following occur:
 | 
						|
  - The system suspends during audio playback.
 | 
						|
  - The powerd log does not contain logging to indicate that the audio detector
 | 
						|
    delayed suspend.
 | 
						|
"""
 | 
						|
TIME = "SHORT"
 | 
						|
TEST_CATEGORY = "Functional"
 | 
						|
TEST_CLASS = "power"
 | 
						|
TEST_TYPE = "client"
 | 
						|
ATTRIBUTES = "suite:bvt-perbuild"
 | 
						|
 | 
						|
DOC = """
 | 
						|
This test verifies that the system will not suspend while audio is playing.
 | 
						|
"""
 | 
						|
 | 
						|
job.run_test("power_AudioDetector")
 |