• 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_3GModemControl"
7PURPOSE = "Verify commands sent to a modem manager are reflected in flimflam."
8CRITERIA = """
9This test will fail if modem manager state differs from flimflam state.
10"""
11TIME = "SHORT"
12TEST_CATEGORY = "Functional"
13TEST_CLASS = "network"
14TEST_TYPE = "client"
15
16DOC = """
17  Tests that commands sent to ModemManager or cromo are reflected in flimflam.
18
19  Issues many connect, disconnect, enable, and disable commands to ensure
20  that the modem state is always properly reflected in flimflam -- even
21  if the commands are sent to the modem manager instead of flimflam.
22"""
23
24from autotest_lib.client.cros.cellular import test_environment
25
26test_env = test_environment.CellularOTATestEnvironment()
27job.run_test('network_3GModemControl', test_env=test_env, autoconnect=False,
28             tag='no-autoconnect')
29job.run_test('network_3GModemControl', test_env=test_env, autoconnect=True,
30             tag='autoconnect')
31