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

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: Split up problems into warnings and errors. 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 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 }, 2628 },
2629 2629
2630 "AllowScreenLock": { 2630 "AllowScreenLock": {
2631 "os": ["chromeos"], 2631 "os": ["chromeos"],
2632 "test_policy": { "AllowScreenLock": true }, 2632 "test_policy": { "AllowScreenLock": true },
2633 "pref_mappings": [ 2633 "pref_mappings": [
2634 { "pref": "allow_screen_lock"} 2634 { "pref": "allow_screen_lock"}
2635 ] 2635 ]
2636 }, 2636 },
2637 2637
2638 "PinUnlockMinimumLength": {
2639 "os": ["chromeos"],
2640 "test_policy": { "PinUnlockMinimumLength": 4 },
2641 "pref_mappings": [
2642 { "pref": "pin_unlock_minimum_length"}
2643 ]
2644 },
2645
2646 "PinUnlockMaximumLength": {
2647 "os": ["chromeos"],
2648 "test_policy": { "PinUnlockMaximumLength": 0 },
2649 "pref_mappings": [
2650 { "pref": "pin_unlock_maximum_length"}
2651 ]
2652 },
2653
2654 "PinUnlockAllowWeakPins": {
2655 "os": ["chromeos"],
2656 "test_policy": { "PinUnlockAllowWeakPins": false },
jdufault 2016/10/31 22:03:08 We want this to default to false?
sammiequon 2016/11/01 18:08:32 Done.
2657 "pref_mappings": [
2658 { "pref": "pin_unlock_allow_weak_pins"}
2659 ]
2660 },
2661
2638 "ArcCertificatesSyncMode": { 2662 "ArcCertificatesSyncMode": {
2639 "os": ["chromeos"], 2663 "os": ["chromeos"],
2640 "can_be_recommended": false, 2664 "can_be_recommended": false,
2641 "test_policy": { "ArcCertificatesSyncMode": 0 } 2665 "test_policy": { "ArcCertificatesSyncMode": 0 }
2642 }, 2666 },
2643 2667
2644 "ArcBackupRestoreEnabled": { 2668 "ArcBackupRestoreEnabled": {
2645 "os": ["chromeos"], 2669 "os": ["chromeos"],
2646 "can_be_recommended": false, 2670 "can_be_recommended": false,
2647 "test_policy": { "ArcBackupRestoreEnabled": false }, 2671 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2962 2986
2963 "AdditionalLaunchParameters": { 2987 "AdditionalLaunchParameters": {
2964 }, 2988 },
2965 2989
2966 "SuppressChromeFrameTurndownPrompt": { 2990 "SuppressChromeFrameTurndownPrompt": {
2967 }, 2991 },
2968 2992
2969 "SkipMetadataCheck": { 2993 "SkipMetadataCheck": {
2970 } 2994 }
2971 } 2995 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698