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