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