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

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

Issue 10905223: Converted policy_prefs_ui.py pyauto test to a browser_test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/policy_test_cases.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 bcffdf550737bb4580ae99a8eb77374f0b9d7c0e..ba7a1f2e74ff111ccf845c7cb5b5c5b6a7c10a17 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -4440,25 +4440,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
}
return self._GetResultFromJSONRequest(cmd_dict, windex=None)
- def GetPolicyDefinitionList(self):
- """Gets a dictionary of existing policies mapped to their definitions.
-
- SAMPLE OUTPUT:
- {
- 'ShowHomeButton': ['bool', false],
- 'DefaultSearchProviderSearchURL': ['str', false],
- ...
- }
-
- Returns:
- A dictionary mapping each policy name to its value type and a Boolean flag
- indicating whether it is a device policy.
- """
- cmd_dict = {
- 'command': 'GetPolicyDefinitionList'
- }
- return self._GetResultFromJSONRequest(cmd_dict)
-
def RefreshPolicies(self):
"""Refreshes all the available policy providers.
« no previous file with comments | « chrome/test/functional/policy_test_cases.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698