| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 AUTHOR = "Chrome OS Team" | 5 AUTHOR = "Chrome OS Team" |
| 6 NAME = "power_BatteryCharge" | 6 NAME = "power_BatteryCharge" |
| 7 PURPOSE = "Measure the time required to charge the battery." | 7 PURPOSE = "Measure the time required to charge the battery." |
| 8 CRITERIA = "This test is a benchmark." | 8 CRITERIA = "This test is a benchmark." |
| 9 TIME = "LONG" | 9 TIME = "LONG" |
| 10 TEST_CATEGORY = "Benchmark" | 10 TEST_CATEGORY = "Benchmark" |
| 11 TEST_CLASS = "power" | 11 TEST_CLASS = "power" |
| 12 TEST_TYPE = "client" | 12 TEST_TYPE = "client" |
| 13 | 13 |
| 14 DOC = """ | 14 DOC = """ |
| 15 This test enforces the following contraints: | 15 This test enforces the following contraints: |
| 16 - Initial battery charge < 5% | 16 - Initial battery charge < 5% |
| 17 - Device should be plugged in to an AC outlet | 17 - Device should be plugged in to an AC outlet |
| 18 - In 4 hours, the battery charge should increase by at least 94% of maximum | 18 - In 4 hours, the battery charge should increase by at least 94% of maximum |
| 19 | 19 |
| 20 This test depends on site_power_status.py, which is included in | 20 This test depends on power_status.py, which is included in |
| 21 client/common_lib/ in AutoTest. site_power_status.py has many status | 21 client/cros/ in AutoTest. power_status.py has many status |
| 22 initialization and parsing routines for battery status. | 22 initialization and parsing routines for battery status. |
| 23 """ | 23 """ |
| 24 | 24 |
| 25 job.run_test('power_BatteryCharge') | 25 job.run_test('power_BatteryCharge') |
| OLD | NEW |