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

Side by Side Diff: chrome/test/functional/chromeos_power.py

Issue 6760013: GetBatteryInfo() battery automation hook. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add chromeos_power.py 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
(Empty)
1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import logging
7
8 import pyauto_functional
9 import pyauto
10
11
12 class ChromeosBasic(pyauto.PyUITest):
dennis_jeffrey 2011/03/29 15:21:31 Maybe change name of class to "ChromeosPower"?
13 """Tests for ChromeOS power library and daemon."""
14
15 def testBatteryInfo(self):
16 """Print some information about the battery."""
17 result = self.GetBatteryInfo()
18 self.assertTrue(result)
19 logging.debug(result)
20
21
22 if __name__ == '__main__':
23 pyauto_functional.Main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698