1 # Copyright 2016 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 = 'scunningham' 6 NAME = 'policy_URLWhitelist.singlepage_allowed' 7 ATTRIBUTES = 'suite:bvt-perbuild' 8 TIME = 'SHORT' 9 TEST_CATEGORY = 'General' 10 TEST_CLASS = 'enterprise' 11 TEST_TYPE = 'client' 12 13 DOC = ''' 14 Verify effects of URLWhitelist policy. 15 16 This test case verifies the behavior of Chrome OS when URLWhitelist 17 user policy is set to a single URL pattern. 18 19 A test case shall pass iff only URLs that are in the URLWhitelist policy value 20 are allowed, and all other URLs are blocked. The test case shall fail if the 21 above behavior is not enforced. 22 23 ''' 24 25 job.run_test('policy_URLWhitelist', case='SinglePage_Allowed') 26