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

Side by Side Diff: chrome/test/data/policy/policy_test_cases.json

Issue 11117024: Add second batch of controlled setting indicators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser test. Created 8 years, 2 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
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
4 4
5 "pref": "The pref that this policy maps to, if any.", 5 "pref": "The pref that this policy maps to, if any.",
6 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 6 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
7 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.", 7 "test_policy": "A policy dictionary that should trigger the managed banner i n the settings UI. Usually just sets the current policy.",
8 "indicator_tests": [ 8 "indicator_tests": [
9 "A list of test cases verifying that the controlled setting indicators for |pref| correctly indicate whether its value is recommended or enforced by a cor responding policy. Each test case is a dictionary with the following format:", 9 "A list of test cases verifying that the controlled setting indicators for |pref| correctly indicate whether its value is recommended or enforced by a cor responding policy. Each test case is a dictionary with the following format:",
10 { "policy": "A policy dictionary that should affect |pref| when set as man datory or recommended policy.", 10 { "policy": "A policy dictionary that should affect |pref| when set as man datory or recommended policy.",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "test_policy": { "DefaultBrowserSettingEnabled": true }, 43 "test_policy": { "DefaultBrowserSettingEnabled": true },
44 "settings_pages": [], 44 "settings_pages": [],
45 "local_state": true, 45 "local_state": true,
46 "os": ["win", "mac", "linux"], 46 "os": ["win", "mac", "linux"],
47 47
48 "note": "TODO(joaodasilva): Couldn't verify on linux." 48 "note": "TODO(joaodasilva): Couldn't verify on linux."
49 }, 49 },
50 50
51 "ApplicationLocaleValue": { 51 "ApplicationLocaleValue": {
52 "pref": "intl.app_locale", 52 "pref": "intl.app_locale",
53 "can_be_recommended": true,
53 "test_policy": { "ApplicationLocaleValue": "fr" }, 54 "test_policy": { "ApplicationLocaleValue": "fr" },
54 "settings_pages": [], 55 "settings_pages": [],
55 "local_state": true, 56 "local_state": true,
56 "os": ["win"] 57 "os": ["win"]
57 }, 58 },
58 59
59 "AlternateErrorPagesEnabled": { 60 "AlternateErrorPagesEnabled": {
60 "pref": "alternate_error_pages.enabled", 61 "pref": "alternate_error_pages.enabled",
62 "can_be_recommended": true,
61 "test_policy": { "AlternateErrorPagesEnabled": false }, 63 "test_policy": { "AlternateErrorPagesEnabled": false },
64 "indicator_tests": [
65 { "policy": { "AlternateErrorPagesEnabled": false }}],
62 "settings_pages": ["chrome://settings-frame"], 66 "settings_pages": ["chrome://settings-frame"],
63 "os": ["win", "linux", "mac", "chromeos"] 67 "os": ["win", "linux", "mac", "chromeos"]
64 }, 68 },
65 69
66 "SearchSuggestEnabled": { 70 "SearchSuggestEnabled": {
67 "pref": "search.suggest_enabled", 71 "pref": "search.suggest_enabled",
72 "can_be_recommended": true,
68 "test_policy": { "SearchSuggestEnabled": false }, 73 "test_policy": { "SearchSuggestEnabled": false },
74 "indicator_tests": [
75 { "policy": { "SearchSuggestEnabled": false }}],
69 "settings_pages": ["chrome://settings-frame"], 76 "settings_pages": ["chrome://settings-frame"],
70 "os": ["win", "linux", "mac", "chromeos"] 77 "os": ["win", "linux", "mac", "chromeos"]
71 }, 78 },
72 79
73 "DnsPrefetchingEnabled": { 80 "DnsPrefetchingEnabled": {
74 "pref": "dns_prefetching.enabled", 81 "pref": "dns_prefetching.enabled",
82 "can_be_recommended": true,
75 "test_policy": { "DnsPrefetchingEnabled": false }, 83 "test_policy": { "DnsPrefetchingEnabled": false },
84 "indicator_tests": [
85 { "policy": { "DnsPrefetchingEnabled": false }}],
76 "settings_pages": ["chrome://settings-frame"], 86 "settings_pages": ["chrome://settings-frame"],
77 "os": ["win", "linux", "mac", "chromeos"] 87 "os": ["win", "linux", "mac", "chromeos"]
78 }, 88 },
79 89
80 "DisableSpdy": { 90 "DisableSpdy": {
81 "pref": "spdy.disabled", 91 "pref": "spdy.disabled",
82 "test_policy": { "DisableSpdy": true }, 92 "test_policy": { "DisableSpdy": true },
83 "settings_pages": [], 93 "settings_pages": [],
84 "os": ["win", "linux", "mac", "chromeos"] 94 "os": ["win", "linux", "mac", "chromeos"]
85 }, 95 },
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 "os": [] 1204 "os": []
1195 }, 1205 },
1196 1206
1197 "AdditionalLaunchParameters": { 1207 "AdditionalLaunchParameters": {
1198 "pref": null, 1208 "pref": null,
1199 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" }, 1209 "test_policy": { "AdditionalLaunchParameters": "--enable-media-stream" },
1200 "settings_pages": [], 1210 "settings_pages": [],
1201 "os": [] 1211 "os": []
1202 } 1212 }
1203 } 1213 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698