Home | History | Annotate | Download | only in cellular_DisconnectFailure
      1 # Copyright (c) 2013 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_DisconnectFailure.pseudomodem"
      7 PURPOSE = """
      8 Tests that a disconnect failure at the modemmanager level is handled properly
      9 by shill.
     10 
     11 """
     12 CRITERIA = """
     13 The test will fail if the cellular service exposed by shill is in an
     14 incorrect state upon certain failures of a Disconnect call.
     15 
     16 """
     17 
     18 ATTRIBUTES = "suite:cellular_pseudomodem"
     19 TIME = "MEDIUM"
     20 TEST_CATEGORY = "Functional"
     21 TEST_CLASS = "network"
     22 TEST_TYPE = "client"
     23 
     24 DOC = """
     25 The test uses the pseudo modem manager to simulate two failure scenarios of a
     26 Disconnect call: failure while the modem state is DISCONNECTING and failure
     27 while it is CONNECTED. The expected behavior of shill is to do nothing if the
     28 modem state is DISCONNECTING and to clean up the service otherwise.
     29 
     30 """
     31 
     32 # 3GPP
     33 job.run_test('cellular_DisconnectFailure', tag='3GPP')
     34 
     35 # CDMA
     36 job.run_test('cellular_DisconnectFailure',
     37              pseudomodem_family='CDMA',
     38              tag='CDMA')
     39