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

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

Issue 820133002: Reusing names of policy keys from policy_constants.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 11 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
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.",
4 4
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."],
6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.", 6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.", 8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.", 9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.",
10 "pref_mappings": [ 10 "pref_mappings": [
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 }, 268 },
269 269
270 "RemoteAccessHostUdpPortRange": { 270 "RemoteAccessHostUdpPortRange": {
271 "os": [], 271 "os": [],
272 "test_policy": { "RemoteAccessHostUdpPortRange": "12400-12409" }, 272 "test_policy": { "RemoteAccessHostUdpPortRange": "12400-12409" },
273 "pref_mappings": [ 273 "pref_mappings": [
274 { "pref": "remote_access.host_udp_port_range" } 274 { "pref": "remote_access.host_udp_port_range" }
275 ] 275 ]
276 }, 276 },
277 277
278 "RemoteAccessHostMatchUsername": {
279 "os": [],
280 "test_policy": { "RemoteAccessHostMatchUsername": true },
281 "pref_mappings": [
282 { "pref": "remote_access.host_match_username" }
283 ]
284 },
285
286 "RemoteAccessHostTokenUrl": {
287 "os": [],
288 "test_policy": { "RemoteAccessHostTokenUrl": "DO NOT SUBMIT - TODO test valu e" },
289 "pref_mappings": [
290 { "pref": "remote_access.host_token_url" }
291 ]
292 },
293
294 "RemoteAccessHostTokenValidationUrl": {
295 "os": [],
296 "test_policy": { "RemoteAccessHostTokenValidationUrl": "DO NOT SUBMIT - TODO test value" },
297 "pref_mappings": [
298 { "pref": "remote_access.host_token_validation_url" }
299 ]
300 },
301
302 "RemoteAccessHostTokenValidationCertificateIssuer": {
303 "os": [],
304 "test_policy": { "RemoteAccessHostTokenValidationCertificateIssuer": "DO NOT SUBMIT - TODO test value" },
305 "pref_mappings": [
306 { "pref": "remote_access.host_token_validation_certificate_issuer" }
307 ]
308 },
309
310 "RemoteAccessHostDebugOverridePolicies": {
311 "os": [],
312 "test_policy": { "RemoteAccessHostDebugOverridePolicies": true },
313 "pref_mappings": [
314 { "pref": "remote_access.host_debug_override_policies" }
315 ]
316 },
317
278 "PrintingEnabled": { 318 "PrintingEnabled": {
279 "os": ["win", "linux", "mac", "chromeos"], 319 "os": ["win", "linux", "mac", "chromeos"],
280 "test_policy": { "PrintingEnabled": false }, 320 "test_policy": { "PrintingEnabled": false },
281 "pref_mappings": [ 321 "pref_mappings": [
282 { "pref": "printing.enabled" } 322 { "pref": "printing.enabled" }
283 ] 323 ]
284 }, 324 },
285 325
286 "CloudPrintProxyEnabled": { 326 "CloudPrintProxyEnabled": {
287 "os": [], 327 "os": [],
(...skipping 2164 matching lines...) Expand 10 before | Expand all | Expand 10 after
2452 2492
2453 "AdditionalLaunchParameters": { 2493 "AdditionalLaunchParameters": {
2454 }, 2494 },
2455 2495
2456 "SuppressChromeFrameTurndownPrompt": { 2496 "SuppressChromeFrameTurndownPrompt": {
2457 }, 2497 },
2458 2498
2459 "SkipMetadataCheck": { 2499 "SkipMetadataCheck": {
2460 } 2500 }
2461 } 2501 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698