1# Copyright (c) 2012 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 = "sque" 6NAME = "power_BacklightControl" 7PURPOSE = "Verify the backlight controller functions properly." 8CRITERIA = """ 9Fail if any of the following occur: 10 - The backlight cannot be turned all the way to max using powerd. 11 - The backlight cannot be turned all the way down to minimum and zero using 12 powerd. 13 - The screen cannot be turned on/off by setting backlight to 0 and nonzero, 14 respectively, using powerd. 15 - There are too many steps (> 16) between min and max brightness. 16""" 17TIME = "SHORT" 18TEST_CATEGORY = "Functional" 19TEST_CLASS = "power" 20TEST_TYPE = "client" 21 22DOC = """ 23This test verifies that the backlight controller can adjust brightness up and 24down over the full range, as well as turn screen on/off. 25""" 26 27job.run_test("power_BacklightControl") 28