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

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: Rebased. Created 4 years, 1 month 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", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
2651 }, 2651 },
2652 2652
2653 "AllowScreenLock": { 2653 "AllowScreenLock": {
2654 "os": ["chromeos"], 2654 "os": ["chromeos"],
2655 "test_policy": { "AllowScreenLock": true }, 2655 "test_policy": { "AllowScreenLock": true },
2656 "pref_mappings": [ 2656 "pref_mappings": [
2657 { "pref": "allow_screen_lock"} 2657 { "pref": "allow_screen_lock"}
2658 ] 2658 ]
2659 }, 2659 },
2660 2660
2661 "PinUnlockMinimumLength": {
2662 "os": ["chromeos"],
2663 "test_policy": { "PinUnlockMinimumLength": 4 },
2664 "pref_mappings": [
2665 { "pref": "pin_unlock_minimum_length"}
2666 ]
2667 },
2668
2669 "PinUnlockMaximumLength": {
2670 "os": ["chromeos"],
2671 "test_policy": { "PinUnlockMaximumLength": 0 },
2672 "pref_mappings": [
2673 { "pref": "pin_unlock_maximum_length"}
2674 ]
2675 },
2676
2677 "PinUnlockAllowWeakPins": {
2678 "os": ["chromeos"],
2679 "test_policy": { "PinUnlockAllowWeakPins": true },
2680 "pref_mappings": [
2681 { "pref": "pin_unlock_allow_weak_pins"}
2682 ]
2683 },
2684
2661 "ArcCertificatesSyncMode": { 2685 "ArcCertificatesSyncMode": {
2662 "os": ["chromeos"], 2686 "os": ["chromeos"],
2663 "can_be_recommended": false, 2687 "can_be_recommended": false,
2664 "test_policy": { "ArcCertificatesSyncMode": 0 } 2688 "test_policy": { "ArcCertificatesSyncMode": 0 }
2665 }, 2689 },
2666 2690
2667 "ArcBackupRestoreEnabled": { 2691 "ArcBackupRestoreEnabled": {
2668 "os": ["chromeos"], 2692 "os": ["chromeos"],
2669 "can_be_recommended": false, 2693 "can_be_recommended": false,
2670 "test_policy": { "ArcBackupRestoreEnabled": false }, 2694 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2985 3009
2986 "AdditionalLaunchParameters": { 3010 "AdditionalLaunchParameters": {
2987 }, 3011 },
2988 3012
2989 "SuppressChromeFrameTurndownPrompt": { 3013 "SuppressChromeFrameTurndownPrompt": {
2990 }, 3014 },
2991 3015
2992 "SkipMetadataCheck": { 3016 "SkipMetadataCheck": {
2993 } 3017 }
2994 } 3018 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698