• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 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 = 'ncrews'
6NAME = 'policy_DeviceCharging'
7TIME = 'LONG'
8TEST_CATEGORY = 'General'
9TEST_CLASS = 'enterprise'
10TEST_TYPE = 'client'
11
12DOC = '''
13Verifies that the DeviceBatteryChargeMode policy works.
14
15This test is kicked off via policy_DeviceChargingServer server test. It requires
16a Servo v4 and Servo Micro attached to the DUT. Also, it requires that the
17battery is not full, and that the battery is above |MIN_BATTERY_LEVEL|, so that
18the policies can get fully tested. The server test should take care of this
19setup.
20'''
21
22args_dict = utils.args_to_dict(args)
23
24job.run_test('policy_DeviceCharging', **args_dict)
25