• 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_3GSmokeTest.pseudomodem"
7PURPOSE = "Verify 3G modem can connect to the network."
8CRITERIA = """
9This test will fail if one of the following conditions occur:
10  - 3G modem fails to connect to network
11  - the modem is not left in a working state
12"""
13ATTRIBUTES = "suite:network3g_pseudomodem"
14SUITE = "network3g_pseudomodem"
15TIME = "SHORT"
16TEST_CATEGORY = "Functional"
17TEST_CLASS = "network"
18TEST_TYPE = "client"
19DOC = """
20  Tests that 3G modem can connect to the network
21
22  The test attempts to connect using the 3G network. The test then
23  disconnects from the network, and verifies that the modem still
24  responds to modem manager DBUS API calls.  It repeats the
25  connect/disconnect sequence several times.
26"""
27
28from autotest_lib.client.cros.cellular import test_environment
29
30# 3GPP
31test_env = test_environment.CellularPseudoMMTestEnvironment(
32        pseudomm_args=({'family': '3GPP'},))
33job.run_test('network_3GSmokeTest', tag='pseudomodem_3GPP', test_env=test_env)
34
35# CDMA
36test_env = test_environment.CellularPseudoMMTestEnvironment(
37        pseudomm_args=({'family': 'CDMA'},))
38job.run_test('network_3GSmokeTest', tag='pseudomodem_CDMA', test_env=test_env)
39