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