1# Copyright 2017 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 = "ChromeOS Team"
6NAME = "cellular_SuspendResume.tmobile"
7PURPOSE = "Test 3g modem state after suspend/resume"
8CRITERIA = """
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"""
14ATTRIBUTES = "suite:cellular_ota_flaky"
15TIME = "SHORT"
16TEST_CATEGORY = "Functional"
17TEST_CLASS = "network"
18TEST_TYPE = "client"
19DEPENDENCIES = "carrier:tmobile"
20
21DOC = """
22    Verify that 3g can be enabled under all suspend/resume situations.
23"""
24
25# Run all scenarios twice, first with autoconnect off, then with it on
26job.run_test('cellular_SuspendResume',
27             autoconnect=False, tag='autoconnect_off')
28job.run_test('cellular_SuspendResume',
29             autoconnect=True, tag='autoconnect_on')
30