Home | History | Annotate | Download | only in cellular_Smoke
      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 = "cellular_Smoke.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:cellular_pseudomodem"
     14 TIME = "SHORT"
     15 TEST_CATEGORY = "Functional"
     16 TEST_CLASS = "network"
     17 TEST_TYPE = "client"
     18 DOC = """
     19   Tests that 3G modem can connect to the network
     20 
     21   The test attempts to connect using the 3G network. The test then
     22   disconnects from the network, and verifies that the modem still
     23   responds to modem manager DBUS API calls.  It repeats the
     24   connect/disconnect sequence several times.
     25 """
     26 
     27 from autotest_lib.client.cros.cellular import test_environment
     28 
     29 # 3GPP
     30 test_env = test_environment.CellularPseudoMMTestEnvironment(
     31         pseudomm_args=({'family': '3GPP'},))
     32 job.run_test('cellular_Smoke', tag='pseudomodem_3GPP', test_env=test_env)
     33 
     34 # CDMA
     35 test_env = test_environment.CellularPseudoMMTestEnvironment(
     36         pseudomm_args=({'family': 'CDMA'},))
     37 job.run_test('cellular_Smoke', tag='pseudomodem_CDMA', test_env=test_env)
     38