blob: 11b36b685d8e4f3e204bad172d33cd4f256a0f3c [file] [log] [blame]
[
{
"os": [
"win",
"linux",
"mac",
"chromeos",
"android"
],
"simple_policy_pref_mapping_test": {
// User cloud policy tests
"pref_name": "chrome_data_region_setting",
"pref_location": "user_profile",
"policy_settings": {
"scope": "user",
"source": "cloud"
},
"default_value": 0,
"values_to_test": [
0,
1,
2
]
},
"policy_pref_mapping_tests": [
// User cloud policy tests (out of bounds)
{
"policies": {
"ChromeDataRegionSetting": -1
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "user",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"default_value": 0
}
}
},
{
"policies": {
"ChromeDataRegionSetting": 3
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "user",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"default_value": 0
}
}
},
// Machine cloud policy tests
{
"policies": {},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"default_value": 0
}
}
},
{
"policies": {
"ChromeDataRegionSetting": 0
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"value": 0
}
}
},
{
"policies": {
"ChromeDataRegionSetting": 1
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"value": 1
}
}
},
{
"policies": {
"ChromeDataRegionSetting": 2
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"value": 2
}
}
},
// Machine cloud policy tests (out of bounds)
{
"policies": {
"ChromeDataRegionSetting": -1
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"default_value": 0
}
}
},
{
"policies": {
"ChromeDataRegionSetting": 3
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "cloud"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"default_value": 0
}
}
},
// Non-cloud policy tests
{
"policies": {
"ChromeDataRegionSetting": 1
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "user",
"source": "active_directory"
}
},
"prefs": {
"chrome_data_region_setting": {
"default_value": 0
}
}
},
{
"policies": {
"ChromeDataRegionSetting": 1
},
"policies_settings": {
"ChromeDataRegionSetting": {
"scope": "machine",
"source": "active_directory"
}
},
"prefs": {
"chrome_data_region_setting": {
"location": "local_state",
"default_value": 0
}
}
}
]
}
]