1 # Copyright (c) 2013 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 = 'wiley (a] chromium.org' 6 TIME = 'SHORT' 7 NAME = 'network_WiFi_ConnectOnResume' 8 TEST_CATEGORY = 'Functional' 9 TEST_CLASS = 'network' 10 TEST_TYPE = 'Server' 11 DOC = """ 12 This test checks that the connection manager triggers scans and connects 13 to an AP on a resume from suspend despite not being connected before 14 suspend. 15 16 """ 17 18 19 def run(machine): 20 job.run_test('network_WiFi_ConnectOnResume', 21 host=hosts.create_host(machine), 22 raw_cmdline_args=args) 23 24 25 parallel_simple(run, machines) 26