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