Home | History | Annotate | Download | only in network_3GSmokeTest
      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 
      5 AUTHOR = "ChromeOS Team"
      6 NAME = "network_3GSmokeTest.pseudomodem"
      7 PURPOSE = "Verify 3G modem can connect to the network."
      8 CRITERIA = """
      9 This 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 """
     13 ATTRIBUTES = "suite:network3g_pseudomodem"
     14 SUITE = "network3g_pseudomodem"
     15 TIME = "SHORT"
     16 TEST_CATEGORY = "Functional"
     17 TEST_CLASS = "network"
     18 TEST_TYPE = "client"
     19 DOC = """
     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 
     28 from autotest_lib.client.cros.cellular import test_environment
     29 
     30 # 3GPP
     31 test_env = test_environment.CellularPseudoMMTestEnvironment(
     32         pseudomm_args=({'family': '3GPP'},))
     33 job.run_test('network_3GSmokeTest', tag='pseudomodem_3GPP', test_env=test_env)
     34 
     35 # CDMA
     36 test_env = test_environment.CellularPseudoMMTestEnvironment(
     37         pseudomm_args=({'family': 'CDMA'},))
     38 job.run_test('network_3GSmokeTest', tag='pseudomodem_CDMA', test_env=test_env)
     39