| # Copyright (c) 2013 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 = "Chrome OS Team" |
| NAME = "power_BacklightSuspend" |
| PURPOSE = "Test the backlight's resume brightness feature." |
| CRITERIA = "This test is a benchmark." |
| TIME = "FAST" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "power" |
| TEST_TYPE = "client" |
| |
| # Added to usb_detect suite running on high-touch lab pool |
| # to temporarily check the test is healthy |
| # TODO (sontis, kalin): |
| # Move to bvt-perbuild after verifying test is WAI on usb_detect |
| ATTRIBUTES = "suite:usb_detect, suite:partners" |
| |
| DOC = """ |
| This test requests a brightness level to be set after resume. It then triggers |
| a suspend/resume and checks that the brightness has indeed been set to the |
| requested level. |
| """ |
| |
| job.run_test('power_BacklightSuspend') |