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

Side by Side Diff: chrome/test/functional/policy_test_cases.py

Issue 9704092: Adds a device policy to specify the set of initial urls for the demo user account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed issues and rebases to ToT. Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/proto/chrome_device_policy.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/proto/chrome_device_policy.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698