• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2010 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 = "Chrome OS Team"
6NAME = "power_ProbeDriver.probe_ac"
7ATTRIBUTES = "suite:power_build"
8ATTRIBUTES = "suite:power_build"
9ATTRIBUTES = "suite:power_build"
10SUITE = "power_build"
11PURPOSE = "Confirm that AC driver is loaded and functioning."
12CRITERIA = """\
13Plug AC before run this test.
14
15This test will pass only if all of the following conditions occur:
16- Find exactly one AC.
17- AC is online.
18
19This test will fail if all of the following conditions occur:
20- Find one or more batteries.
21- One of batteries is discharging.
22"""
23TIME = "SHORT"
24TEST_CATEGORY = "Functional"
25TEST_CLASS = "power"
26TEST_TYPE = "client"
27
28DOC = """
29This is a sample test that probes sysfs and makes sure that AC driver
30is loaded and functioning.
31"""
32
33job.run_test('power_ProbeDriver', test_which='Mains')
34