1 # Copyright (c) 2014 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 = "ChromeOS Team" 6 NAME = "network_MobileSuspendResume.hefty" 7 PURPOSE = "Test 3g modem state after suspend/resume" 8 CRITERIA = """ 9 Check the 3g state of the device after suspend and resume. Verify 10 that 3g can be enabled under all situations after resuming of device. 11 Verify that if autoconnect is turned on that the modem autoconnects 12 after resuming. 13 """ 14 ATTRIBUTES = "suite:network3g_att, suite:network3g_tmobile" 15 SUITE = "network3g_att, network3g_tmobile" 16 TIME = "SHORT" 17 TEST_CATEGORY = "Functional" 18 TEST_CLASS = "network" 19 TEST_TYPE = "client" 20 DEPENDENCIES = "modem:hefty" 21 22 DOC = """ 23 Verify that 3g can be enabled under all suspend/resume situations. 24 """ 25 26 # Run all scenarios twice, first with autoconnect off, then with it on 27 job.run_test('network_MobileSuspendResume', 28 autoconnect=False, tag='autoconnect_off-hefty') 29 job.run_test('network_MobileSuspendResume', 30 autoconnect=True, tag='autoconnect_on-hefty') 31