• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 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 = "network_MobileSuspendResume"
7PURPOSE = "Test cellular modem state after suspend/resume"
8CRITERIA = """
9    Check the cellular state of the device after suspend and resume.  Verify
10    that cellular 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"""
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "network"
17TEST_TYPE = "client"
18
19DOC = """
20    Verify that cellular can be enabled under all suspend/resume situations.
21"""
22
23# Run all scenarios twice, first with autoconnect off, then with it on
24job.run_test('network_MobileSuspendResume',
25             autoconnect=False, tag='autoconnect_off')
26job.run_test('network_MobileSuspendResume',
27             autoconnect=True, tag='autoconnect_on')
28