• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = 'scunningham'
6NAME = 'policy_ForceGoogleSafeSearch'
7TIME = 'SHORT'
8TEST_CATEGORY = 'General'
9TEST_CLASS = 'enterprise'
10TEST_TYPE = 'client'
11
12DOC = '''
13Verify effect of ForceGoogleSafeSearch policy on client behavior.
14
15This test verifies the effect of the ForceGoogleSafeSearch user policy on
16Chrome OS client behavior. The test exercises all valid policy values across
17three test cases: NotSet_NotSafe, False_NotSafe, and True_Safe.
18
19A test case shall pass if the omnibox search URL appends (or does not
20append) a safe search parameter when the policy is set true (or is set
21false or not set). It shall fail if this behavior is not enforced.
22
23'''
24
25args_dict = utils.args_to_dict(args)
26
27job.run_test('policy_ForceGoogleSafeSearch', **args_dict)
28