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