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

Unified Diff: chrome/test/functional/policy_test_cases.py

Issue 9791023: Allow setting of user and device policies in functional tests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments addressed. Created 8 years, 8 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_prefs_ui.py ('k') | chrome/test/pyautolib/asn1der.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/policy_test_cases.py
diff --git a/chrome/test/functional/policy_test_cases.py b/chrome/test/functional/policy_test_cases.py
index 18bc7b4051372d97905b9587cbe2f6e04d4a6d1b..e52c2910ac1e071f7d189ae30dd59d749594b5f9 100755
--- a/chrome/test/functional/policy_test_cases.py
+++ b/chrome/test/functional/policy_test_cases.py
@@ -18,7 +18,7 @@ class PolicyPrefsTestCases(object):
# Each policy has an entry with a tuple (Pref, Value, Pages, OS)
#
- # |Pref| is the preference key for simple policies that map directly to a
+ # |Pref| is the preference key for simple user policies that map directly to a
# preference (Refer to
# chrome/browser/policy/configuration_policy_handler_list.cc).
# Otherwise, set as None.
@@ -34,6 +34,9 @@ class PolicyPrefsTestCases(object):
# platforms are 'win', 'mac', 'linux', and 'chromeos'. The list can be
# empty to skip the policy or set to OS_ALL if applicable to all
# platforms.
+ #
+ # ChromeOS device policies are also listed but are currently not tested by
+ # policy_prefs_ui.py.
[INDEX_PREF, INDEX_VALUE, INDEX_PAGES, INDEX_OS] = range(4)
OS_ALL = ['win', 'mac', 'linux', 'chromeos']
policies = {
« no previous file with comments | « chrome/test/functional/policy_prefs_ui.py ('k') | chrome/test/pyautolib/asn1der.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698