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

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: Fixed patch set 6 errors. 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", "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 2580 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 }, 2591 },
2592 2592
2593 "AllowScreenLock": { 2593 "AllowScreenLock": {
2594 "os": ["chromeos"], 2594 "os": ["chromeos"],
2595 "test_policy": { "AllowScreenLock": true }, 2595 "test_policy": { "AllowScreenLock": true },
2596 "pref_mappings": [ 2596 "pref_mappings": [
2597 { "pref": "allow_screen_lock"} 2597 { "pref": "allow_screen_lock"}
2598 ] 2598 ]
2599 }, 2599 },
2600 2600
2601 "PinUnlockMinimumLength": {
2602 "os": ["chromeos"],
2603 "test_policy": { "PinUnlockMinimumLength": 4 },
2604 "pref_mappings": [
2605 { "pref": "pin_unlock_minimum_length"}
2606 ]
2607 },
2608
2609 "PinUnlockMaximumLength": {
2610 "os": ["chromeos"],
2611 "test_policy": { "PinUnlockMaximumLength": 0 },
2612 "pref_mappings": [
2613 { "pref": "pin_unlock_maximum_length"}
2614 ]
2615 },
2616
2617 "PinUnlockAllowWeakPins": {
2618 "os": ["chromeos"],
2619 "test_policy": { "PinUnlockAllowWeakPins": false },
2620 "pref_mappings": [
2621 { "pref": "pin_unlock_allow_weak_pins"}
2622 ]
2623 },
2624
2601 "ArcCertificatesSyncMode": { 2625 "ArcCertificatesSyncMode": {
2602 "os": ["chromeos"], 2626 "os": ["chromeos"],
2603 "can_be_recommended": false, 2627 "can_be_recommended": false,
2604 "test_policy": { "ArcCertificatesSyncMode": 0 } 2628 "test_policy": { "ArcCertificatesSyncMode": 0 }
2605 }, 2629 },
2606 2630
2607 "ArcBackupRestoreEnabled": { 2631 "ArcBackupRestoreEnabled": {
2608 "os": ["chromeos"], 2632 "os": ["chromeos"],
2609 "can_be_recommended": false, 2633 "can_be_recommended": false,
2610 "test_policy": { "ArcBackupRestoreEnabled": false }, 2634 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2915 2939
2916 "AdditionalLaunchParameters": { 2940 "AdditionalLaunchParameters": {
2917 }, 2941 },
2918 2942
2919 "SuppressChromeFrameTurndownPrompt": { 2943 "SuppressChromeFrameTurndownPrompt": {
2920 }, 2944 },
2921 2945
2922 "SkipMetadataCheck": { 2946 "SkipMetadataCheck": {
2923 } 2947 }
2924 } 2948 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698