| # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "ChromeOS Team" |
| NAME = "network_3GModemPresent.pseudomodem" |
| PURPOSE = "Verify 3G modem is visible to Flimflam." |
| CRITERIA = """ |
| This test will fail if neither Cromo nor ModemManager is exporting a modem |
| device via flimflam. |
| """ |
| SUITE = "network3g_pseudomodem" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "network" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| Tests that a 3G modem is available. |
| |
| The test attempts to find a flimflam device corresponding to a |
| cellular modem. |
| |
| """ |
| |
| # 3GPP |
| job.run_test('network_3GModemPresent', |
| pseudo_modem=True, |
| tag='pseudomodem_3GPP') |
| |
| # CDMA |
| job.run_test('network_3GModemPresent', |
| pseudo_modem=True, |
| pseudomodem_family='CDMA', |
| tag='pseudomodem_CDMA') |