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
18TIME = "MEDIUM"
19TEST_CATEGORY = "Functional"
20TEST_CLASS = "network"
21TEST_TYPE = "client"
22
23DOC = """
24The test uses the pseudo modem manager to simulate two failure scenarios of a
25Disconnect call: failure while the modem state is DISCONNECTING and failure
26while it is CONNECTED. The expected behavior of shill is to do nothing if the
27modem state is DISCONNECTING and to clean up the service otherwise.
28
29"""
30
31# 3GPP
32job.run_test('cellular_DisconnectFailure', tag='3GPP')
33
34# CDMA
35job.run_test('cellular_DisconnectFailure',
36             pseudomodem_family='CDMA',
37             tag='CDMA')
38