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