|
1 //* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 //* All rights reserved. |
|
3 //* This component and the accompanying materials are made available |
|
4 //* under the terms of the License "Eclipse Public License v1.0" |
|
5 //* which accompanies this distribution, and is available |
|
6 //* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 //* |
|
8 //* Initial Contributors: |
|
9 //* Nokia Corporation - initial contribution. |
|
10 //* |
|
11 //* Contributors: |
|
12 //* |
|
13 //* Description: |
|
14 //* |
|
15 |
|
16 |
|
17 // MOD_0012.001_1_NokiaTSY_[HW Powering SIM on] |
|
18 // |
|
19 // Precondition: |
|
20 // - Cellular side APDU functionality must be up and running in all following cases |
|
21 // - Doesn't need any modifications from tester |
|
22 // |
|
23 // Script description: |
|
24 // - N/A |
|
25 // |
|
26 [Test] |
|
27 title MOD_0012.001_1_NokiaTSY_[HW Powering SIM on] |
|
28 create NTT_WIM test |
|
29 test PoweringSimOn |
|
30 allownextresult 0 |
|
31 waittestclass test |
|
32 delete test |
|
33 [Endtest] |
|
34 |
|
35 // MOD_0012.002_1_NokiaTSY_[HW Powering SIM off] |
|
36 // |
|
37 // Precondition: |
|
38 // - Cellular side APDU functionality must be up and running in all following cases |
|
39 // - Doesn't need any modifications from tester |
|
40 // |
|
41 // Script description: |
|
42 // - N/A |
|
43 // |
|
44 [Test] |
|
45 title MOD_0012.002_1_NokiaTSY_[HW Powering SIM off] |
|
46 create NTT_WIM test |
|
47 test PoweringSimOff |
|
48 allownextresult 0 |
|
49 waittestclass test |
|
50 delete test |
|
51 [Endtest] |
|
52 |
|
53 // MOD_0012.003_1_NokiaTSY_[HW SIM Warm Reset] |
|
54 // |
|
55 // Precondition: |
|
56 // - Cellular side APDU functionality must be up and running in all following cases |
|
57 // - Doesn't need any modifications from tester |
|
58 // |
|
59 // Script description: |
|
60 // - N/A |
|
61 // |
|
62 [Test] |
|
63 title MOD_0012.003_1_NokiaTSY_[HW SIM Warm Reset] |
|
64 create NTT_WIM test |
|
65 test SIMWarmReset |
|
66 allownextresult 0 |
|
67 waittestclass test |
|
68 delete test |
|
69 [Endtest] |
|
70 |
|
71 // MOD_0012.004_1_NokiaTSY_[HW Getting Answer to Reset Status] |
|
72 // |
|
73 // Precondition: |
|
74 // - Cellular side APDU functionality must be up and running in all following cases |
|
75 // - Doesn't need any modifications from tester |
|
76 // |
|
77 // Script description: |
|
78 // - N/A |
|
79 // |
|
80 [Test] |
|
81 title MOD_0012.004_1_NokiaTSY_[HW Getting Answer to Reset Status] |
|
82 create NTT_WIM test |
|
83 test GetAnswerToResetStatus |
|
84 allownextresult 0 |
|
85 waittestclass test |
|
86 delete test |
|
87 [Endtest] |
|
88 |
|
89 // MOD_0012.005_1_NokiaTSY_[HW Getting SIM Card Reader Status] |
|
90 // |
|
91 // Precondition: |
|
92 // - Cellular side APDU functionality must be up and running in all following cases |
|
93 // - Doesn't need any modifications from tester |
|
94 // |
|
95 // Script description: |
|
96 // - N/A |
|
97 // |
|
98 [Test] |
|
99 title MOD_0012.005_1_NokiaTSY_[HW Getting SIM Card Reader Status] |
|
100 create NTT_WIM test |
|
101 test GetSIMCardReaderStatus |
|
102 allownextresult 0 |
|
103 waittestclass test |
|
104 delete test |
|
105 [Endtest] |
|
106 |
|
107 // MOD_0012.006_1_NokiaTSY_[HW Sending APDU] |
|
108 // |
|
109 // Precondition: |
|
110 // - Cellular side APDU functionality must be up and running in all following cases |
|
111 // - Doesn't need any modifications from tester |
|
112 // |
|
113 // Script description: |
|
114 // - Send Application Data Unit (APDU) |
|
115 // - Parameters: |
|
116 // 0xA0 |
|
117 // 0xA4 select file |
|
118 // 0x01 select child DF |
|
119 // 0x00 |
|
120 // 0x02 data field length |
|
121 // 0x6F file identifier |
|
122 // 0x7E file identifier |
|
123 // |
|
124 [Test] |
|
125 title MOD_0012.006_1_NokiaTSY_[HW Sending APDU] |
|
126 create NTT_WIM test |
|
127 test SendAPDU 1 160 164 1 0 2 111 126 |
|
128 allownextresult 0 |
|
129 waittestclass test |
|
130 delete test |
|
131 [Endtest] |
|
132 |
|
133 // MOD_0012.007_1_NokiaTSY_[HW Sending APDU request Send APDU] |
|
134 // |
|
135 // Precondition: |
|
136 // - Cellular side APDU functionality must be up and running in all following cases |
|
137 // - Doesn't need any modifications from tester |
|
138 // |
|
139 // Script description: |
|
140 // - Send Application Data Unit (APDU) request |
|
141 // |
|
142 [Test] |
|
143 title MOD_0012.007_1_NokiaTSY_[HW Sending APDU request Send APDU] |
|
144 create NTT_WIM test |
|
145 // 0x4F |
|
146 // 0x00 |
|
147 // 0x01 |
|
148 // 0x00 |
|
149 // 0x07 |
|
150 // 0xA0 |
|
151 // 0xA4 select file |
|
152 // 0x01 select child DF |
|
153 // 0x00 |
|
154 // 0x02 data field length |
|
155 // 0x6F file identifier |
|
156 // 0x7E file identifier |
|
157 test SendAPDURequest 79 0 1 0 7 160 164 1 0 2 111 126 |
|
158 allownextresult 0 |
|
159 waittestclass test |
|
160 delete test |
|
161 [Endtest] |
|
162 |