Home | History | Annotate | Download | only in network_SIMLocking
      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 
      5 AUTHOR = "ChromeOS Team"
      6 NAME = "network_SIMLocking"
      7 PURPOSE = "Tests various SIM Lock related operations in software only."
      8 CRITERIA = """
      9 This test will fail if SIM locking/unlocking/changing operations are not
     10 handled as expected by shill / modemmanager.
     11 """
     12 
     13 ATTRIBUTES = "suite:network3g_pseudomodem"
     14 TIME = "SHORT"
     15 TEST_CATEGORY = "Functional"
     16 TEST_CLASS = "network"
     17 TEST_TYPE = "client"
     18 
     19 DOC = """
     20 Test the SIM locking functionality of shill.
     21 
     22 This 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 
     37 job.run_test('network_SIMLocking')
     38