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'
7TIME = 'SHORT'
8TEST_CATEGORY = 'General'
9TEST_CLASS = 'enterprise'
10TEST_TYPE = 'client'
11
12DOC = '''
13Verify effects of policy_URLWhitelist policy on client behavior.
14
15This test verifies the effect of the URLWhitelist user policy on Chrome OS
16client behavior. It exercises a range of policy values using three unique test
17cases, named: NotSet_Blocked, SinglePage_Allowed, and MultiplePages_Allowed.
18See the test file for a full description of what each test case does.
19
20A test case shall pass iff only URLs that are in the URLWhitelist policy value
21are allowed, and all other URLs are blocked. The test case shall fail if the
22above behavior is not enforced.
23
24'''
25
26args_dict = utils.args_to_dict(args)
27
28job.run_test('policy_URLWhitelist', **args_dict)
29