• 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_SIMLocking.pseudomodem"
7PURPOSE = "Tests various SIM Lock related operations in software only."
8CRITERIA = """
9This test will fail if SIM locking/unlocking/changing operations are not
10handled as expected by shill / modemmanager.
11"""
12
13ATTRIBUTES = "suite:cellular_pseudomodem"
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "network"
17TEST_TYPE = "client"
18
19DOC = """
20Test the SIM locking functionality of shill.
21
22This test has the following test_cases:
23  - Attempt to enable SIM lock with incorrect sim-pin. Verify that the
24    attempt fails.
25  - Successfully pin-lock the SIM.
26  - Unlock a pin-locked SIM.
27  - Attempt to unlock a pin-locked SIM with incorrect sim-pin, until it gets
28    puk-locked.
29  - Unblock a puk-locked SIM.
30  - Attempt to unblock a puk-locked SIM with incorrect sim-puk, until the SIM
31    gets blocked. At this point, a sim-pin2 might be expected by some SIMs. This
32    test does not attempt to unlock the SIM using sim-pin2.
33  - Test the functionality to change sim-pin.
34
35"""
36
37job.run_test('cellular_SIMLocking')
38