| Index: chrome/test/pyautolib/pyauto.py
|
| diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
|
| index 4084f3677bb82ea4f3c3f1121f2f5eb4ffd035b8..7d81e0a5505eb541b3be13288254f700d898a2ec 100755
|
| --- a/chrome/test/pyautolib/pyauto.py
|
| +++ b/chrome/test/pyautolib/pyauto.py
|
| @@ -5086,27 +5086,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
|
| }
|
| self._GetResultFromJSONRequest(cmd_dict, windex=None)
|
|
|
| - def GetUpdateInfo(self):
|
| - """Gets the status of the ChromeOS updater.
|
| -
|
| - Returns:
|
| - a dictionary.
|
| - Samples:
|
| - { u'status': u'idle',
|
| - u'release_track': u'beta-channel'}
|
| -
|
| - { u'status': u'downloading',
|
| - u'release_track': u'beta-channel',
|
| - u'download_progress': 0.1203236708350371, # 0.0 ~ 1.0
|
| - u'new_size': 152033593, # size of payload, in bytes
|
| - u'last_checked_time': 1302055709} # seconds since UNIX epoch
|
| -
|
| - Raises:
|
| - pyauto_errors.JSONInterfaceError if the automation call returns an error.
|
| - """
|
| - cmd_dict = { 'command': 'GetUpdateInfo' }
|
| - return self._GetResultFromJSONRequest(cmd_dict, windex=None)
|
| -
|
| def UpdateCheck(self):
|
| """Checks for a ChromeOS update. Blocks until finished updating.
|
|
|
| @@ -5116,23 +5095,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
|
| cmd_dict = { 'command': 'UpdateCheck' }
|
| self._GetResultFromJSONRequest(cmd_dict, windex=None)
|
|
|
| - def SetReleaseTrack(self, track):
|
| - """Sets the release track (channel) of the ChromeOS updater.
|
| -
|
| - Valid values for the track parameter are:
|
| - 'stable-channel', 'beta-channel', 'dev-channel'
|
| -
|
| - Raises:
|
| - pyauto_errors.JSONInterfaceError if the automation call returns an error.
|
| - """
|
| - assert track in ('stable-channel', 'beta-channel', 'dev-channel'), \
|
| - 'Attempt to set release track to unknown release track "%s".' % track
|
| - cmd_dict = {
|
| - 'command': 'SetReleaseTrack',
|
| - 'track': track,
|
| - }
|
| - self._GetResultFromJSONRequest(cmd_dict, windex=None)
|
| -
|
| def GetVolumeInfo(self):
|
| """Gets the volume and whether the device is muted.
|
|
|
|
|