Home | History | Annotate | Download | only in policy_RestoreOnStartupURLs
      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 = "scunningham"
      6 NAME = "policy_RestoreOnStartupURLs"
      7 ATTRIBUTES = "suite:bvt-perbuild"
      8 SUITE = "bvt-perbuild"
      9 TIME = "SHORT"
     10 TEST_CATEGORY = "General"
     11 TEST_CLASS = "enterprise"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 Verify effects of RestoreOnStartupURLs policy on client behavior.
     16 
     17 This test verifies the effect of the RestoreOnStartupURLs user policy on
     18 Chrome OS client behavior and appearance. It excercises a range of valid
     19 policy values across three test cases.
     20 
     21 A test case shall pass when a single browser tab is opened for only the URLs
     22 specified in the policy value, and in the order specified (left to right).
     23 A test case shall fail if the above behavior is not enforced.
     24 
     25 Default useage example:
     26 $ test_that <IPAddress> policy_RestoreOnStartupURLs
     27 
     28 Runs all three test cases using the local AutoTest fake DM server, and with
     29 the default policy values defined by each test case.
     30 
     31 Arguments useage example:
     32 $ test_that <IPAddress> policy_RestoreOnStartupURLs --args="env=prod
     33 mode=single case=SingleUrl_1Tab value=http://www.irs.com"
     34 
     35 Runs a single test case (e.g., SingleUrl_1Tab) against the production
     36 environment, with an user-specified policy value of http://www.irs.com.
     37 
     38 See accompanying README file for additional usage instructions and examples.
     39 
     40 """
     41 
     42 job.run_test("policy_RestoreOnStartupURLs", args=args)
     43 
     44