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

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

Issue 2374303002: cros: Added a new function to quick unlock api for checking unfinished pins. (Closed)
Patch Set: Changed the function output. Created 4 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
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 2560 matching lines...) Expand 10 before | Expand all | Expand 10 after
2571 }, 2571 },
2572 2572
2573 "AllowScreenLock": { 2573 "AllowScreenLock": {
2574 "os": ["chromeos"], 2574 "os": ["chromeos"],
2575 "test_policy": { "AllowScreenLock": true }, 2575 "test_policy": { "AllowScreenLock": true },
2576 "pref_mappings": [ 2576 "pref_mappings": [
2577 { "pref": "allow_screen_lock"} 2577 { "pref": "allow_screen_lock"}
2578 ] 2578 ]
2579 }, 2579 },
2580 2580
2581 "PinUnlockMinimumLength": {
2582 "os": ["chromeos"],
2583 "test_policy": { "PinUnlockMinimumLength": 4 },
2584 "pref_mappings": [
2585 { "pref": "pin_unlock_minimum_length"}
2586 ]
2587 },
2588
2589 "PinUnlockMaximumLength": {
2590 "os": ["chromeos"],
2591 "test_policy": { "PinUnlockMaximumLength": 0 },
2592 "pref_mappings": [
2593 { "pref": "pin_unlock_maximum_length"}
2594 ]
2595 },
2596
2581 "ArcCertificatesSyncMode": { 2597 "ArcCertificatesSyncMode": {
2582 "os": ["chromeos"], 2598 "os": ["chromeos"],
2583 "can_be_recommended": false, 2599 "can_be_recommended": false,
2584 "test_policy": { "ArcCertificatesSyncMode": 0 } 2600 "test_policy": { "ArcCertificatesSyncMode": 0 }
2585 }, 2601 },
2586 2602
2587 "ArcBackupRestoreEnabled": { 2603 "ArcBackupRestoreEnabled": {
2588 "os": ["chromeos"], 2604 "os": ["chromeos"],
2589 "can_be_recommended": false, 2605 "can_be_recommended": false,
2590 "test_policy": { "ArcBackupRestoreEnabled": false }, 2606 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2895 2911
2896 "AdditionalLaunchParameters": { 2912 "AdditionalLaunchParameters": {
2897 }, 2913 },
2898 2914
2899 "SuppressChromeFrameTurndownPrompt": { 2915 "SuppressChromeFrameTurndownPrompt": {
2900 }, 2916 },
2901 2917
2902 "SkipMetadataCheck": { 2918 "SkipMetadataCheck": {
2903 } 2919 }
2904 } 2920 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698