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