Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: client/site_tests/power_BatteryCharge/control

Issue 6627029: Refactor site_power_status, power_strip modules into client/cros. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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')
OLDNEW
« no previous file with comments | « client/site_tests/power_Backlight/power_Backlight.py ('k') | client/site_tests/power_BatteryCharge/power_BatteryCharge.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698