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