• 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_PowerManagementIdleSettings'
7TIME = 'SHORT'
8TEST_CATEGORY = 'Functional'
9TEST_CLASS = 'enterprise'
10TEST_TYPE = 'client'
11
12DOC = '''
13Verify effects of PowerManagementIdleSettings policy on client behavior.
14
15This test verifies the effect of the PowerManagementIdleSettings user policy
16on Chrome OS client behavior. It exercises a range of valid values for the
17IdleAction property using three test cases: NotSet_Sleep, DoNothing_Continue,
18and Logout_EndSession.
19
20The test shall pass if the device correctly changes the screen brightness
21(dim and off) after the specified delay times, and performs the specified
22IdleAction after the Idle time has elapsed. The test shall fail if any of the
23above behaviors are not enforced.
24
25This control file allows CloudDPC E2E tests to run any test case defined in
26this test via command-line.
27
28'''
29
30args_dict = utils.args_to_dict(args)
31
32job.run_test('policy_PowerManagementIdleSettings', **args_dict)
33