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 ATTRIBUTES = "suite:regression"
      8 SUITE = "regression"
      9 TIME = "SHORT"
     10 TEST_CATEGORY = "General"
     11 TEST_CLASS = "enterprise"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 Verify effects of policy_URLWhitelist policy on client behavior & appearance.
     16 
     17 This test verifies the effect of the URLWhitelist user policy on Chrome OS
     18 client behavior and appearance. It exercises a range of policy values using
     19 three unique test cases, named: NotSet, SingleWhitelistedFile and
     20 MultipleWhitelistedFiles.
     21 See the test file for a full description of what each test case does.
     22 
     23 The test case shall pass if:
     24  -only the URLs that are part of the URLWhitelist policy value are not blocked.
     25  -all other URLs are blocked.
     26 The test case shall fail if the above behavior is not enforced.
     27 
     28 Usage example:
     29 $ test_that <IPAddress> policy_URLWhitelist --args="mode=single
     30 case=MultipleWhitelistedFiles nv=dm-test dms_name=xot-dmst
     31 username=test (a] crosprqa1.com password=test1234"
     32 
     33 This command runs a single test case (e.g., MultipleWhitelistedFiles) using
     34 the specified test DM Server environment, signing in with the specified
     35 username and password.
     36 
     37 """
     38 
     39 job.run_test("policy_URLWhitelist", args=args)
     40 
     41