blob: 78fa5d4532e99cea987cf9df80f1d7fb3f615d77 [file] [log] [blame] [edit]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "ChromeOS Team"
NAME = "cellular_OutOfCreditsSubscriptionState"
PURPOSE = "Verify shill out-of-credits behavior using subscription state."
CRITERIA = """
This test will fail if one of the following conditions occurs:
- Shill does not mark a cellular service as out-of-credits when the modem
reports it as so.
- Shill does not clear the out-of-credits flag when the subscription state
transitions to provisioned after being out-of-credits.
"""
ATTRIBUTES = "suite:network3g_pseudomodem"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "network"
TEST_TYPE = "client"
DOC = """
Tests that shill marks a cellular service as out-of-credits according to the
modem subscription state by using a pseudomodem.
"""
job.run_test('cellular_OutOfCreditsSubscriptionState')