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 = 'scunningham' 6NAME = 'policy_ImagesBlockedForUrls' 7TIME = 'SHORT' 8TEST_CATEGORY = 'General' 9TEST_CLASS = 'enterprise' 10TEST_TYPE = 'client' 11 12DOC = ''' 13Verify effects of ImagesBlockedForUrls policy on client look and feel. 14 15This test verifies the effect of the ImagesBlockedForUrls user policy on 16Chrome OS client behavior and appearance when the DefaultImagesSetting policy 17is 1 or undefined. It exercises a range of policy values using four unique 18test cases: NotSet_Allow, 1Url_Block, 2Urls_Allow, and 3Urls_Block. See the 19test file for a full description of what each test case does. 20 21In general, a test case shall pass if the browser only blocks images on a test 22page that is in an domain listed in the ImagesBlockedForUrls policy. A test 23case shall fail if the browser allows images to be shown on a page where they 24should be blocked, or blocks images on a page where they should be shown. 25 26''' 27 28args_dict = utils.args_to_dict(args) 29 30job.run_test('policy_ImagesBlockedForUrls', **args_dict) 31