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

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 27 errors. Created 4 years 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2656 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 }, 2667 },
2668 2668
2669 "QuickUnlockTimeout": { 2669 "QuickUnlockTimeout": {
2670 "os": ["chromeos"], 2670 "os": ["chromeos"],
2671 "test_policy": { "QuickUnlockTimeout": 0 }, 2671 "test_policy": { "QuickUnlockTimeout": 0 },
2672 "pref_mappings": [ 2672 "pref_mappings": [
2673 { "pref": "quick_unlock_timeout"} 2673 { "pref": "quick_unlock_timeout"}
2674 ] 2674 ]
2675 }, 2675 },
2676 2676
2677 "PinUnlockMinimumLength": {
2678 "os": ["chromeos"],
2679 "test_policy": { "PinUnlockMinimumLength": 4 },
2680 "pref_mappings": [
2681 { "pref": "pin_unlock_minimum_length"}
2682 ]
2683 },
2684
2685 "PinUnlockMaximumLength": {
2686 "os": ["chromeos"],
2687 "test_policy": { "PinUnlockMaximumLength": 0 },
2688 "pref_mappings": [
2689 { "pref": "pin_unlock_maximum_length"}
2690 ]
2691 },
2692
2693 "PinUnlockWeakPinsAllowed": {
2694 "os": ["chromeos"],
2695 "test_policy": { "PinUnlockWeakPinsAllowed": true },
2696 "pref_mappings": [
2697 { "pref": "pin_unlock_weak_pins_allowed"}
2698 ]
2699 },
2700
2677 "ArcCertificatesSyncMode": { 2701 "ArcCertificatesSyncMode": {
2678 "os": ["chromeos"], 2702 "os": ["chromeos"],
2679 "can_be_recommended": false, 2703 "can_be_recommended": false,
2680 "test_policy": { "ArcCertificatesSyncMode": 0 } 2704 "test_policy": { "ArcCertificatesSyncMode": 0 }
2681 }, 2705 },
2682 2706
2683 "ArcBackupRestoreEnabled": { 2707 "ArcBackupRestoreEnabled": {
2684 "os": ["chromeos"], 2708 "os": ["chromeos"],
2685 "can_be_recommended": false, 2709 "can_be_recommended": false,
2686 "test_policy": { "ArcBackupRestoreEnabled": false }, 2710 "test_policy": { "ArcBackupRestoreEnabled": false },
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
3011 3035
3012 "AdditionalLaunchParameters": { 3036 "AdditionalLaunchParameters": {
3013 }, 3037 },
3014 3038
3015 "SuppressChromeFrameTurndownPrompt": { 3039 "SuppressChromeFrameTurndownPrompt": {
3016 }, 3040 },
3017 3041
3018 "SkipMetadataCheck": { 3042 "SkipMetadataCheck": {
3019 } 3043 }
3020 } 3044 }
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698