• 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
13TIME = "SHORT"
14TEST_CATEGORY = "Functional"
15TEST_CLASS = "network"
16TEST_TYPE = "client"
17
18DOC = """
19Test the SIM locking functionality of shill.
20
21This test has the following test_cases:
22  - Attempt to enable SIM lock with incorrect sim-pin. Verify that the
23    attempt fails.
24  - Successfully pin-lock the SIM.
25  - Unlock a pin-locked SIM.
26  - Attempt to unlock a pin-locked SIM with incorrect sim-pin, until it gets
27    puk-locked.
28  - Unblock a puk-locked SIM.
29  - Attempt to unblock a puk-locked SIM with incorrect sim-puk, until the SIM
30    gets blocked. At this point, a sim-pin2 might be expected by some SIMs. This
31    test does not attempt to unlock the SIM using sim-pin2.
32  - Test the functionality to change sim-pin.
33
34"""
35
36job.run_test('cellular_SIMLocking')
37