• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "krishnargv"
6NAME = "policy_URLWhitelist"
7ATTRIBUTES = "suite:regression"
8SUITE = "regression"
9TIME = "SHORT"
10TEST_CATEGORY = "General"
11TEST_CLASS = "enterprise"
12TEST_TYPE = "client"
13
14DOC = """
15Verify effects of policy_URLWhitelist policy on client behavior & appearance.
16
17This test verifies the effect of the URLWhitelist user policy on Chrome OS
18client behavior and appearance. It exercises a range of policy values using
19three unique test cases, named: NotSet, SingleWhitelistedFile and
20MultipleWhitelistedFiles.
21See the test file for a full description of what each test case does.
22
23The test case shall pass if:
24 -only the URLs that are part of the URLWhitelist policy value are not blocked.
25 -all other URLs are blocked.
26The test case shall fail if the above behavior is not enforced.
27
28Usage example:
29$ test_that <IPAddress> policy_URLWhitelist --args="mode=single
30case=MultipleWhitelistedFiles nv=dm-test dms_name=xot-dmst
31username=test@crosprqa1.com password=test1234"
32
33This command runs a single test case (e.g., MultipleWhitelistedFiles) using
34the specified test DM Server environment, signing in with the specified
35username and password.
36
37"""
38
39job.run_test("policy_URLWhitelist", args=args)
40
41