| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 'DeviceUserWhitelist': ([], [], []), | 185 'DeviceUserWhitelist': ([], [], []), |
| 186 'DeviceGuestModeEnabled': (True, [], []), | 186 'DeviceGuestModeEnabled': (True, [], []), |
| 187 'DeviceShowUserNamesOnSignin': (True, [], []), | 187 'DeviceShowUserNamesOnSignin': (True, [], []), |
| 188 'DeviceDataRoamingEnabled': (True, [], []), | 188 'DeviceDataRoamingEnabled': (True, [], []), |
| 189 'DeviceMetricsReportingEnabled': (True, [], []), | 189 'DeviceMetricsReportingEnabled': (True, [], []), |
| 190 'DeviceEphemeralUsersEnabled': (True, [], []), | 190 'DeviceEphemeralUsersEnabled': (True, [], []), |
| 191 'DeviceIdleLogoutTimeout': (60000, [], []), | 191 'DeviceIdleLogoutTimeout': (60000, [], []), |
| 192 'DeviceIdleLogoutWarningDuration': (15000, [], []), | 192 'DeviceIdleLogoutWarningDuration': (15000, [], []), |
| 193 'DeviceLoginScreenSaverId': ('lcncmkcnkcdbbanbjakcencbaoegdjlp', [], []), | 193 'DeviceLoginScreenSaverId': ('lcncmkcnkcdbbanbjakcencbaoegdjlp', [], []), |
| 194 'DeviceLoginScreenSaverTimeout': (30000, [], []), | 194 'DeviceLoginScreenSaverTimeout': (30000, [], []), |
| 195 'DeviceStartUpUrls': ([ 'http://google.com' ], [], []), |
| 195 'DeviceAppPack': ([], [], []), | 196 'DeviceAppPack': ([], [], []), |
| 196 'DeviceAutoUpdateDisabled': (True, [], []), | 197 'DeviceAutoUpdateDisabled': (True, [], []), |
| 197 | 198 |
| 198 # Chrome Frame policies: | 199 # Chrome Frame policies: |
| 199 'ChromeFrameRendererSettings': (0, [], []), | 200 'ChromeFrameRendererSettings': (0, [], []), |
| 200 'RenderInChromeFrameList': ([ 'google.com' ], [], []), | 201 'RenderInChromeFrameList': ([ 'google.com' ], [], []), |
| 201 'RenderInHostList': ([ 'google.com' ], [], []), | 202 'RenderInHostList': ([ 'google.com' ], [], []), |
| 202 'ChromeFrameContentTypes': ([ 'text/xml' ], [], []), | 203 'ChromeFrameContentTypes': ([ 'text/xml' ], [], []), |
| 203 'GCFUserDataDir': ('${user_name}/test-frame', [], []), | 204 'GCFUserDataDir': ('${user_name}/test-frame', [], []), |
| 204 } | 205 } |
| OLD | NEW |