0
|
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 |
|
|
18 |
// MOD_0004.101_1_NokiaTSY_[HW Set ACL status ON]
|
|
19 |
//
|
|
20 |
// Precondition:
|
|
21 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
22 |
// -PIN2 code must be verified before running this case
|
|
23 |
// (e.g. FastTrace -> send PMD message -> SEC_CODE_VERIFY_REQ -> SEC_CODE_PIN2)
|
|
24 |
//
|
|
25 |
// Script description:
|
|
26 |
// EAclStatusEnabled = ACL status
|
|
27 |
//
|
|
28 |
[Test]
|
|
29 |
title MOD_0004.101_1_NokiaTSY_[HW Set ACL status ON]
|
|
30 |
create NTT_Misc test
|
|
31 |
|
|
32 |
test InitializeIPCRequestTable
|
|
33 |
test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus
|
|
34 |
|
|
35 |
test RunIscTestCase 1104
|
|
36 |
test SyncIscTestCase
|
|
37 |
|
|
38 |
test SetACLStatus EAclStatusEnabled
|
|
39 |
|
|
40 |
// EMobilePhoneSetAPNControlListServiceStatus
|
|
41 |
allownextresult 0
|
|
42 |
waittestclass test
|
|
43 |
delete test
|
|
44 |
[Endtest]
|
|
45 |
|
|
46 |
// MOD_0004.102_1_NokiaTSY_[HW Set ACL status OFF]
|
|
47 |
//
|
|
48 |
// Precondition:
|
|
49 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
50 |
// -PIN2 code must be verified before running this case
|
|
51 |
// (e.g. FastTrace -> send PMD message -> SEC_CODE_VERIFY_REQ -> SEC_CODE_PIN2)
|
|
52 |
//
|
|
53 |
// Script description:
|
|
54 |
// EAclStatusDisabled = ACL status
|
|
55 |
//
|
|
56 |
[Test]
|
|
57 |
title MOD_0004.102_1_NokiaTSY_[HW Set ACL status OFF]
|
|
58 |
create NTT_Misc test
|
|
59 |
|
|
60 |
test InitializeIPCRequestTable
|
|
61 |
test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus
|
|
62 |
|
|
63 |
test RunIscTestCase 1105
|
|
64 |
test SyncIscTestCase
|
|
65 |
|
|
66 |
test SetACLStatus EAclStatusDisabled
|
|
67 |
|
|
68 |
// EMobilePhoneSetAPNControlListServiceStatus
|
|
69 |
allownextresult 0
|
|
70 |
waittestclass test
|
|
71 |
|
|
72 |
delete test
|
|
73 |
[Endtest]
|
|
74 |
|
|
75 |
// MOD_0004.103_1_NokiaTSY_[HW Get ACL status]
|
|
76 |
//
|
|
77 |
// Precondition:
|
|
78 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
79 |
//
|
|
80 |
// Script description:
|
|
81 |
// -N/A
|
|
82 |
//
|
|
83 |
[Test]
|
|
84 |
title MOD_0004.103_1_NokiaTSY_[HW Get ACL status]
|
|
85 |
create NTT_Misc test
|
|
86 |
|
|
87 |
test InitializeIPCRequestTable
|
|
88 |
test SetExpectedCompleteIPC EMobilePhoneGetAPNControlListServiceStatus
|
|
89 |
|
|
90 |
test RunIscTestCase 1106
|
|
91 |
test SyncIscTestCase
|
|
92 |
|
|
93 |
test GetACLStatus EAPNControlListServiceDisabled
|
|
94 |
|
|
95 |
allownextresult 0
|
|
96 |
waittestclass test
|
|
97 |
delete test
|
|
98 |
[Endtest]
|
|
99 |
|
|
100 |
// MOD_0004.104_1_NokiaTSY_[HW Write ACL Entry]
|
|
101 |
//
|
|
102 |
// Precondition:
|
|
103 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
104 |
//
|
|
105 |
// Script description:
|
|
106 |
// WritedByTestTool = APN string
|
|
107 |
//
|
|
108 |
[Test]
|
|
109 |
title MOD_0004.104_1_NokiaTSY_[HW Write ACL Entry]
|
|
110 |
create NTT_Misc test
|
|
111 |
|
|
112 |
test InitializeIPCRequestTable
|
|
113 |
test SetExpectedCompleteIPC EMobilePhoneAppendAPNName
|
|
114 |
|
|
115 |
// Waiting for solution for action MS07070540303 Problem when same message id having same tr id
|
|
116 |
//test RunIscTestCase 1107
|
|
117 |
//test SyncIscTestCase
|
|
118 |
|
|
119 |
test WriteACLEntry WritedByTestTool
|
|
120 |
allownextresult 0
|
|
121 |
waittestclass test
|
|
122 |
delete test
|
|
123 |
[Endtest]
|
|
124 |
|
|
125 |
// MOD_0004.105_1_NokiaTSY_[HW Write ACL Entry with empty name]
|
|
126 |
//
|
|
127 |
// Precondition:
|
|
128 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
129 |
//
|
|
130 |
// Script description:
|
|
131 |
// -N/A
|
|
132 |
//
|
|
133 |
[Test]
|
|
134 |
title MOD_0004.105_1_NokiaTSY_[HW Write ACL Entry with empty name]
|
|
135 |
create NTT_Misc test
|
|
136 |
|
|
137 |
test InitializeIPCRequestTable
|
|
138 |
test SetExpectedCompleteIPC EMobilePhoneAppendAPNName
|
|
139 |
|
|
140 |
// Waiting for solution for action MS07070540303 Problem when same message id having same tr id
|
|
141 |
//test RunIscTestCase 1108
|
|
142 |
//test SyncIscTestCase
|
|
143 |
|
|
144 |
test WriteACLEntry
|
|
145 |
allownextresult 0
|
|
146 |
waittestclass test
|
|
147 |
delete test
|
|
148 |
[Endtest]
|
|
149 |
|
|
150 |
// MOD_0004.106_1_NokiaTSY_[HW Delete ACL Entry]
|
|
151 |
//
|
|
152 |
// Precondition:
|
|
153 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
154 |
//
|
|
155 |
// Script description:
|
|
156 |
// 0 = index
|
|
157 |
//
|
|
158 |
[Test]
|
|
159 |
title MOD_0004.106_1_NokiaTSY_[HW Delete ACL Entry]
|
|
160 |
create NTT_Misc test
|
|
161 |
|
|
162 |
test InitializeIPCRequestTable
|
|
163 |
test SetExpectedCompleteIPC EMobilePhoneDeleteAPNName
|
|
164 |
|
|
165 |
// Waiting for solution for action MS07070540303 Problem when same message id having same tr id
|
|
166 |
//test RunIscTestCase 1109
|
|
167 |
//test SyncIscTestCase
|
|
168 |
|
|
169 |
test DeleteACLEntry 0
|
|
170 |
|
|
171 |
allownextresult 0
|
|
172 |
waittestclass test
|
|
173 |
delete test
|
|
174 |
[Endtest]
|
|
175 |
|
|
176 |
// MOD_0004.107_1_NokiaTSY_[HW Enumerate APN Entries]
|
|
177 |
//
|
|
178 |
// Precondition:
|
|
179 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
180 |
//
|
|
181 |
// Script description: Gets number of APN
|
|
182 |
// -N/A
|
|
183 |
//
|
|
184 |
[Test]
|
|
185 |
title MOD_0004.107_1_NokiaTSY_[HW Enumerate APN Entries]
|
|
186 |
create NTT_Misc test
|
|
187 |
|
|
188 |
test InitializeIPCRequestTable
|
|
189 |
test SetExpectedCompleteIPC EMobilePhoneEnumerateAPNEntries
|
|
190 |
|
|
191 |
test RunIscTestCase 1110
|
|
192 |
test SyncIscTestCase
|
|
193 |
|
|
194 |
// Return value from Complete is NOT checked during HW testing
|
|
195 |
// See corresponding simulated test case.
|
|
196 |
test EnumerateAPNEntries 0
|
|
197 |
allownextresult 0
|
|
198 |
waittestclass test
|
|
199 |
delete test
|
|
200 |
[Endtest]
|
|
201 |
|
|
202 |
// MOD_0004.108_1_NokiaTSY_[HW Get APN Name]
|
|
203 |
//
|
|
204 |
// Precondition:
|
|
205 |
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
|
|
206 |
//
|
|
207 |
// Script description:
|
|
208 |
// 1 = index
|
|
209 |
//
|
|
210 |
[Test]
|
|
211 |
title MOD_0004.108_1_NokiaTSY_[HW Get APN Name]
|
|
212 |
create NTT_Misc test
|
|
213 |
|
|
214 |
test InitializeIPCRequestTable
|
|
215 |
test SetExpectedCompleteIPC EMobilePhoneGetAPNname
|
|
216 |
|
|
217 |
test RunIscTestCase 1111
|
|
218 |
test SyncIscTestCase
|
|
219 |
|
|
220 |
// No value for complete given (return value is NOT checked during
|
|
221 |
// HW testing. See corresponding simulated test case.
|
|
222 |
test GetAPNName 0
|
|
223 |
allownextresult 0
|
|
224 |
waittestclass test
|
|
225 |
delete test
|
|
226 |
[Endtest]
|
|
227 |
|
|
228 |
// MOD_0004.114_1_NokiaTSY_[HW Set Always on Mode HPLMN,VPLMN,Active and NotActive]
|
|
229 |
//
|
|
230 |
// Precondition:
|
|
231 |
// - if tested in 05PR1 braches, enable CASW_ALWAYS_ON_PDP_CONTEXT
|
|
232 |
// flag
|
|
233 |
//
|
|
234 |
// Script description:
|
|
235 |
// - Modes HPLMN, VPLMN, Active and NotActive are tested.
|
|
236 |
//
|
|
237 |
|
|
238 |
[Test]
|
|
239 |
title MOD_0004.114_1_NokiaTSY_[HW Set Always on Mode HPLMN,VPLMN,Active and NotActive]
|
|
240 |
create NTT_Misc test
|
|
241 |
test InitializeIPCRequestTable
|
|
242 |
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
|
|
243 |
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
|
|
244 |
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
|
|
245 |
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
|
|
246 |
|
|
247 |
test RunIscTestCase 1112
|
|
248 |
test SyncIscTestCase
|
|
249 |
|
|
250 |
test SetAlwaysOnModeSelection HPLMN
|
|
251 |
allownextresult 0
|
|
252 |
waittestclass test
|
|
253 |
|
|
254 |
test RunIscTestCase 1113
|
|
255 |
test SyncIscTestCase
|
|
256 |
|
|
257 |
test SetAlwaysOnModeSelection VPLMN
|
|
258 |
allownextresult 0
|
|
259 |
waittestclass test
|
|
260 |
|
|
261 |
test RunIscTestCase 1114
|
|
262 |
test SyncIscTestCase
|
|
263 |
|
|
264 |
test SetAlwaysOnModeSelection Active
|
|
265 |
allownextresult 0
|
|
266 |
waittestclass test
|
|
267 |
|
|
268 |
test RunIscTestCase 1115
|
|
269 |
test SyncIscTestCase
|
|
270 |
|
|
271 |
test SetAlwaysOnModeSelection NotActive
|
|
272 |
allownextresult 0
|
|
273 |
waittestclass test
|
|
274 |
|
|
275 |
delete test
|
|
276 |
[Endtest]
|
|
277 |
|