| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # This data is in a separate file so that src/chrome/app/policy/PRESUBMIT.py | 6 # This data is in a separate file so that src/chrome/app/policy/PRESUBMIT.py |
| 7 # can load it too without having to load pyautolib. | 7 # can load it too without having to load pyautolib. |
| 8 | 8 |
| 9 class PolicyPrefsTestCases(object): | 9 class PolicyPrefsTestCases(object): |
| 10 """A list of test cases for policy_prefs_ui.py.""" | 10 """A list of test cases for policy_prefs_ui.py.""" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 'DisablePrintPreview': (True, [], [ 'win', 'mac', 'linux' ]), | 169 'DisablePrintPreview': (True, [], [ 'win', 'mac', 'linux' ]), |
| 170 | 170 |
| 171 # ChromeOS-only policies: | 171 # ChromeOS-only policies: |
| 172 'ChromeOsLockOnIdleSuspend': (True, [ PERSONAL ], [ 'chromeos' ]), | 172 'ChromeOsLockOnIdleSuspend': (True, [ PERSONAL ], [ 'chromeos' ]), |
| 173 'PolicyRefreshRate': (300000, [], [ 'chromeos' ]), | 173 'PolicyRefreshRate': (300000, [], [ 'chromeos' ]), |
| 174 'OpenNetworkConfiguration': ('', [], [ 'chromeos' ]), | 174 'OpenNetworkConfiguration': ('', [], [ 'chromeos' ]), |
| 175 | 175 |
| 176 # ChromeOS Device policies: | 176 # ChromeOS Device policies: |
| 177 'DevicePolicyRefreshRate': (300000, [], []), | 177 'DevicePolicyRefreshRate': (300000, [], []), |
| 178 'ChromeOsReleaseChannel': ('stable-channel', [], []), | 178 'ChromeOsReleaseChannel': ('stable-channel', [], []), |
| 179 'ChromeOsReleaseChannelDelegated': (False, [], []), |
| 179 'DeviceOpenNetworkConfiguration': ('', [], []), | 180 'DeviceOpenNetworkConfiguration': ('', [], []), |
| 180 'ReportDeviceVersionInfo': (True, [], []), | 181 'ReportDeviceVersionInfo': (True, [], []), |
| 181 'ReportDeviceActivityTimes': (True, [], []), | 182 'ReportDeviceActivityTimes': (True, [], []), |
| 182 'ReportDeviceBootMode': (True, [], []), | 183 'ReportDeviceBootMode': (True, [], []), |
| 183 'DeviceAllowNewUsers': (True, [], []), | 184 'DeviceAllowNewUsers': (True, [], []), |
| 184 'DeviceUserWhitelist': ([], [], []), | 185 'DeviceUserWhitelist': ([], [], []), |
| 185 'DeviceGuestModeEnabled': (True, [], []), | 186 'DeviceGuestModeEnabled': (True, [], []), |
| 186 'DeviceShowUserNamesOnSignin': (True, [], []), | 187 'DeviceShowUserNamesOnSignin': (True, [], []), |
| 187 'DeviceDataRoamingEnabled': (True, [], []), | 188 'DeviceDataRoamingEnabled': (True, [], []), |
| 188 'DeviceMetricsReportingEnabled': (True, [], []), | 189 'DeviceMetricsReportingEnabled': (True, [], []), |
| 189 'DeviceEphemeralUsersEnabled': (True, [], []), | 190 'DeviceEphemeralUsersEnabled': (True, [], []), |
| 190 'DeviceIdleLogoutTimeout': (60000, [], []), | 191 'DeviceIdleLogoutTimeout': (60000, [], []), |
| 191 'DeviceIdleLogoutWarningDuration': (15000, [], []), | 192 'DeviceIdleLogoutWarningDuration': (15000, [], []), |
| 192 'DeviceLoginScreenSaverId': ('lcncmkcnkcdbbanbjakcencbaoegdjlp', [], []), | 193 'DeviceLoginScreenSaverId': ('lcncmkcnkcdbbanbjakcencbaoegdjlp', [], []), |
| 193 'DeviceLoginScreenSaverTimeout': (30000, [], []), | 194 'DeviceLoginScreenSaverTimeout': (30000, [], []), |
| 194 | 195 |
| 195 # Chrome Frame policies: | 196 # Chrome Frame policies: |
| 196 'ChromeFrameRendererSettings': (0, [], []), | 197 'ChromeFrameRendererSettings': (0, [], []), |
| 197 'RenderInChromeFrameList': ([ 'google.com' ], [], []), | 198 'RenderInChromeFrameList': ([ 'google.com' ], [], []), |
| 198 'RenderInHostList': ([ 'google.com' ], [], []), | 199 'RenderInHostList': ([ 'google.com' ], [], []), |
| 199 'ChromeFrameContentTypes': ([ 'text/xml' ], [], []), | 200 'ChromeFrameContentTypes': ([ 'text/xml' ], [], []), |
| 200 'GCFUserDataDir': ('${user_name}/test-frame', [], []), | 201 'GCFUserDataDir': ('${user_name}/test-frame', [], []), |
| 201 } | 202 } |
| OLD | NEW |