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