• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "ChromeOS Team"
6NAME = "cellular_OutOfCreditsSubscriptionState"
7PURPOSE = "Verify shill out-of-credits behavior using subscription state."
8CRITERIA = """
9This test will fail if one of the following conditions occurs:
10  - Shill does not mark a cellular service as out-of-credits when the modem
11    reports it as so.
12  - Shill does not clear the out-of-credits flag when the subscription state
13    transitions to provisioned after being out-of-credits.
14"""
15ATTRIBUTES = "suite:network3g_pseudomodem"
16SUITE = "network3g_pseudomodem"
17TIME = "SHORT"
18TEST_CATEGORY = "Functional"
19TEST_CLASS = "network"
20TEST_TYPE = "client"
21DOC = """
22  Tests that shill marks a cellular service as out-of-credits according to the
23  modem subscription state by using a pseudomodem.
24"""
25
26job.run_test('cellular_OutOfCreditsSubscriptionState')
27