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

Unified Diff: chrome/test/pyautolib/pyauto.py

Issue 12223125: Delete Instant pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/functional/instant.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyauto.py
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index dce9741ea025af71d62a3e028a09d3edcb26282a..32282a9984181386c68dc6448ee9651d88b27f1a 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -1966,28 +1966,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
}
self._GetResultFromJSONRequest(cmd_dict, windex=None)
- def GetInstantInfo(self, windex=0):
- """Return info about the instant overlay tab.
-
- Args:
- windex: The window index, default is 0.
-
- Returns:
- A dictionary.
- Examples:
- { u'enabled': True,
- u'active': True,
- u'current': True,
- u'loading': True,
- u'location': u'http://cnn.com/',
- u'showing': False,
- u'title': u'CNN.com - Breaking News'},
-
- { u'enabled': False }
- """
- cmd_dict = {'command': 'GetInstantInfo'}
- return self._GetResultFromJSONRequest(cmd_dict, windex=windex)['instant']
-
def GetSearchEngineInfo(self, windex=0):
"""Return info about search engines.
@@ -3691,29 +3669,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
else:
logging.warn('Heap-profiling is not supported in this OS.')
- def AppendSwitchASCIIToCommandLine(self, switch, value):
- """Appends --switch=value to the command line.
-
- NOTE: This doesn't change the startup commandline, i.e., flags used to
- launch the browser. Use ExtraChromeFlags() if you want to do that. Instead,
- use this if you want to alter flags dynamically, say to affect a feature
- that looks at the flags everytime, instead of only at program startup.
-
- Note that although this appends the switch, CommandLine::Get*() methods
- generally return only the most recently added value, so this effectively
- overrides any existing switch with the same name.
-
- Args:
- switch: the name of the switch to be set.
- value: the value to be set for the switch.
- """
- cmd_dict = {
- 'command': 'AppendSwitchASCIIToCommandLine',
- 'switch': switch,
- 'value': value,
- }
- self._GetResultFromJSONRequest(cmd_dict, windex=None)
-
def GetNTPThumbnails(self):
"""Return a list of info about the sites in the NTP most visited section.
SAMPLE:
« no previous file with comments | « chrome/test/functional/instant.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698