|
1 // Copyright (c) 2010 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 "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 // IPv6 integration tests of network-initiated conditions. |
|
15 // NOTE: this test suite is the same as te_spudnetworkside, in that it runs the same tests |
|
16 // however all tests run with an IPv6 configuration. May seem like overkill however |
|
17 // as the flow is created before activation, its important to make sure that it |
|
18 // is cleaned up properly in the event of an error. |
|
19 |
|
20 //! @file te_pdplayer_ip6.script |
|
21 |
|
22 RUN_UTILS MkDir c:\simtsy\ |
|
23 RUN_UTILS MkDir c:\private\ |
|
24 RUN_UTILS MkDir c:\private\101F7989\ |
|
25 RUN_UTILS MkDir c:\private\101F7989\esock\ |
|
26 RUN_UTILS MakeReadWrite c:\simtsy\config.txt |
|
27 RUN_UTILS MakeReadWrite c:\config.txt |
|
28 RUN_UTILS MakeReadWrite c:\loopback.ini |
|
29 RUN_UTILS DeleteFile c:\simtsy\config.txt |
|
30 RUN_UTILS DeleteFile c:\config.txt |
|
31 RUN_UTILS DeleteFile c:\loopback.ini |
|
32 |
|
33 RUN_UTILS CopyFile z:\testdata\configs\te_pdplayer_ip6_simtsy_config.txt c:\simtsy\config.txt |
|
34 RUN_UTILS CopyFile z:\TestData\Configs\te_pdplayer_ip6_simtsy_config.txt c:\config.txt |
|
35 RUN_UTILS CopyFile z:\TestData\Configs\te_pdplayer_ip6_loopbackcsy.ini c:\loopback.ini |
|
36 |
|
37 // Configure CommDB for the tests |
|
38 run_script z:\testdata\scripts\te_esock_test_unloadesockforced.script |
|
39 ced -i z:\testdata\configs\te_pdplayer_ip6.cfg |
|
40 run_script z:\testdata\scripts\te_esock_test_loadesock.script |
|
41 |
|
42 LOAD_SUITE te_spudnetworkside |
|
43 |
|
44 |
|
45 // TestSection suffix numbers correspond to SIM TSY's test section numbers. i.e. PrimaryActivationFails201 uses SIM TSYs test201 |
|
46 |
|
47 // |
|
48 // Sanity check tests: before testing the error cases, we test the success cases to make sure the system is OK. |
|
49 // |
|
50 |
|
51 START_TESTCASE CBS-PDPLAYER-IP6-0001 |
|
52 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0001 |
|
53 //! @SYMTestCaseDesc Sanity check: successfully activate Primary context. |
|
54 //! @SYMFssID PDP Layer / Primary PDP Context Creation |
|
55 //! @SYMTestActions Explicitly Start() a socket. SIM TSY, etc successfully activate the primary context. |
|
56 //! @SYMTestExpectedResults Primary PDP context is activated: RConnection::Start on SPUD returns KErrNone. |
|
57 //! @SYMTestPriority Critical |
|
58 //! @SYMTestStatus Implemented |
|
59 //! @SYMTestType CIT |
|
60 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimary z:\testdata\configs\te_pdplayer_ip6.ini PrimaryActivationOk1 |
|
61 DELAY 3000 |
|
62 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
63 END_TESTCASE CBS-PDPLAYER-IP6-0001 |
|
64 |
|
65 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
66 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
67 |
|
68 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
69 //START_TESTCASE CBS-PDPLAYER-IP6-0002 |
|
70 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0002 |
|
71 //! @SYMTestCaseDesc Sanity check: successfully activate Secondary context. |
|
72 //! @SYMFssID PDP Layer / Secondary PDP Context Creation |
|
73 //! @SYMTestActions Implicitly Start() a socket bound to its secondary context. Set QoS on the socket, prompting GUQoS to activate secondary context. |
|
74 //! @SYMTestExpectedResults Both the primary & secondary contexts are activated. EQoSEventAddPolicy and EQoSEventConfirm are received by the test app. |
|
75 //! @SYMTestPriority Critical |
|
76 //! @SYMTestStatus Implemented |
|
77 //! @SYMTestType CIT |
|
78 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryActivationOk1 |
|
79 //DELAY 3000 |
|
80 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
81 //END_TESTCASE CBS-PDPLAYER-IP6-0002 |
|
82 |
|
83 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
84 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
85 |
|
86 |
|
87 // |
|
88 // Operation errors: Creation, TFT, QoS, Activation, Deactivation, Deletion errors. |
|
89 // |
|
90 START_TESTCASE CBS-PDPLAYER-IP6-0003 |
|
91 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0003 |
|
92 //! @SYMTestCaseDesc Activation of Primary fails. |
|
93 //! @SYMFssID PDP Layer / Primary PDP Context Creation |
|
94 //! @SYMTestActions Explicitly start Spud. SIM TSY returns an error on activation of the primary context. |
|
95 //! @SYMTestExpectedResults Spud cannot be started: RConnection::Start returns an error. |
|
96 //! @SYMTestPriority Critical |
|
97 //! @SYMTestStatus Implemented |
|
98 //! @SYMTestType CIT |
|
99 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimary z:\testdata\configs\te_pdplayer_ip6.ini PrimaryActivationFails201 |
|
100 DELAY 3000 |
|
101 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
102 END_TESTCASE CBS-PDPLAYER-IP6-0003 |
|
103 |
|
104 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
105 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
106 |
|
107 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
108 //START_TESTCASE CBS-PDPLAYER-IP6-0004 |
|
109 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0004 |
|
110 //! @SYMTestCaseDesc Activation of Secondary fails. |
|
111 //! @SYMFssID PDP Layer / Secondary PDP Context Creation |
|
112 //! @SYMTestActions Implicitly start SPUD by opening a socket bound to the secondary context. Set QoS on the socket, prompting GUQoS to activate secondary context. SIM TSY errors secondary context activation request. |
|
113 //! @SYMTestExpectedResults EQoSEventAddPolicy and EQoSEventFailure are received by the test app. |
|
114 //! @SYMTestPriority Critical |
|
115 //! @SYMTestStatus Implemented |
|
116 //! @SYMTestType CIT |
|
117 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryActivationFails301 |
|
118 //DELAY 3000 |
|
119 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
120 //END_TESTCASE CBS-PDPLAYER-IP6-0004 |
|
121 |
|
122 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
123 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
124 |
|
125 |
|
126 START_TESTCASE CBS-PDPLAYER-IP6-0005 |
|
127 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0005 |
|
128 //! @SYMTestCaseDesc Network deletes Activated Primary. |
|
129 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
130 //! @SYMTestActions Activate the primary context only by explicitly starting Spud. After a pause, SIM.TSY deletes the primary context. |
|
131 //! @SYMTestExpectedResults Spud is started successfully - the RConnection is started with KErrNone. KLinkLayerClosed / KErrDisconnected notification is received by the test app. |
|
132 //! @SYMTestPriority Critical |
|
133 //! @SYMTestStatus Implemented |
|
134 //! @SYMTestType CIT |
|
135 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimaryEvent z:\testdata\configs\te_pdplayer_ip6.ini PrimaryQoSEventDelete1 |
|
136 DELAY 3000 |
|
137 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
138 END_TESTCASE CBS-PDPLAYER-IP6-0005 |
|
139 |
|
140 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
141 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
142 |
|
143 |
|
144 START_TESTCASE CBS-PDPLAYER-IP6-0006 |
|
145 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0006 |
|
146 //! @SYMTestCaseDesc The QoS parameter changes on the Primary PDP Context. |
|
147 //! @SYMFssID PDP Layer / Network initiated PDP Context Modification |
|
148 //! @SYMTestActions Explicitly start the SPUD interface to activate the primary context, use sim.tsy to trigger the QoS parameter changes on the Primary PDP Context. |
|
149 //! @SYMTestExpectedResults SPUD starts successfully. SPUD receives the QoS parameter change event successfully. RConnection times out and returns the error code KErrTimedOut. |
|
150 //! @SYMTestPriority Critical |
|
151 //! @SYMTestStatus Implemented |
|
152 //! @SYMTestType CIT |
|
153 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimaryEvent z:\testdata\configs\te_pdplayer_ip6.ini ENetworkQoSChangePrimary |
|
154 DELAY 3000 |
|
155 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
156 END_TESTCASE CBS-PDPLAYER-IP6-0006 |
|
157 |
|
158 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
159 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
160 |
|
161 |
|
162 START_TESTCASE CBS-PDPLAYER-IP6-0007 |
|
163 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0007 |
|
164 //! @SYMTestCaseDesc Triggers the Primary PDP Context deletion before the lower NIF is up. |
|
165 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
166 //! @SYMTestActions Explicitly start the SPUD interface to activate the primary context, it fails then deletes the Primary Context. |
|
167 //! @SYMTestExpectedResults Spud start fails. RConnection::Start returns the error. |
|
168 //! @SYMTestPriority Critical |
|
169 //! @SYMTestStatus Implemented |
|
170 //! @SYMTestType CIT |
|
171 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimary z:\testdata\configs\te_pdplayer_ip6.ini PrimaryDeleteBeforeLowerNif |
|
172 DELAY 3000 |
|
173 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
174 END_TESTCASE CBS-PDPLAYER-IP6-0007 |
|
175 |
|
176 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
177 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
178 |
|
179 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
180 //START_TESTCASE CBS-PDPLAYER-IP6-0008 |
|
181 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0008 |
|
182 //! @SYMTestCaseDesc Triggers the Secondary PDP Context deletion before the lower NIF is up. |
|
183 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
184 //! @SYMTestActions Activate the primary and the secondary contexts by opening a socket & setting QoS on it,fails to creat the secondary context. |
|
185 //! @SYMTestExpectedResults EQoSEventAddPolicy, EQoSEventFailure are received by the test app. |
|
186 //! @SYMTestPriority Critical |
|
187 //! @SYMTestStatus Implemented |
|
188 //! @SYMTestType CIT |
|
189 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryDeleteBeforeLowerNif |
|
190 //DELAY 3000 |
|
191 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
192 //END_TESTCASE CBS-PDPLAYER-IP6-0008 |
|
193 |
|
194 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
195 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
196 |
|
197 |
|
198 START_TESTCASE CBS-PDPLAYER-IP6-0009 |
|
199 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0009 |
|
200 //! @SYMTestCaseDesc Failure to Start a lower NIF for primary context (LinkLayerDown from lower NIF) |
|
201 //! @SYMFssID PDP Layer /Primary PDP Context Creation |
|
202 //! @SYMTestActions Explicitly start SPUD. Spud starts the lower NIF for the primary context. Lower NIF reports LinkLayerDown with an error. |
|
203 //! @SYMTestExpectedResults Spud start fails. RConnection::Start returns the error. |
|
204 //! @SYMTestPriority Critical |
|
205 //! @SYMTestStatus Implemented |
|
206 //! @SYMTestType CIT |
|
207 RUN_TEST_STEP 120 te_spudnetworkside CSpudPrimary z:\testdata\configs\te_spudnetworkside_platsec.ini PrimaryLowerNifStartFails210 |
|
208 DELAY 3000 |
|
209 RUN_TEST_STEP 30 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
210 END_TESTCASE CBS-PDPLAYER-IP6-0009 |
|
211 |
|
212 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
213 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
214 |
|
215 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
216 //START_TESTCASE CBS-PDPLAYER-IP6-0010 |
|
217 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0010 |
|
218 //! @SYMTestCaseDesc Failure to Start a lower NIF for secondary context (LinkLayerDown from lower NIF) |
|
219 //! @SYMFssID PDP Layer /Secondary PDP Context Creation |
|
220 //! @SYMTestActions Request activation of the secondary PDP context by opening a socket & setting QoS on it. Spud start the lower NIF for the secondary context. Lower NIF reports LinkLayerDown with error. |
|
221 //! @SYMTestExpectedResults The primary context is activated, secondary is not. EQoSEventAddPolicy and EQoSEventFailure with the error code are received by the test app. |
|
222 //! @SYMTestPriority Critical |
|
223 //! @SYMTestStatus Implemented |
|
224 //! @SYMTestType CIT |
|
225 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_spudnetworkside_platsec.ini SecondaryLowerNifStartFails310 |
|
226 //DELAY 3000 |
|
227 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
228 //END_TESTCASE CBS-PDPLAYER-IP6-0010 |
|
229 |
|
230 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
231 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
232 |
|
233 START_TESTCASE CBS-PDPLAYER-IP6-0011 |
|
234 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0011 |
|
235 //! @SYMTestCaseDesc Test Etel suspension of primary context |
|
236 //! @SYMFssID PDP Layer /Network initiated PDP Context Modification |
|
237 //! @SYMTestActions Create/send data on a socket with no QoS parameters (therefore a primary context), and read from the opposite loopback port. Suspend the context. Send more data and attempt to read from the opposite port. Resume the context. Send more data and attempt to read from the opposite port. |
|
238 //! @SYMTestExpectedResults The read on the loopback comm port should work before the context is suspended, and after it is resumed. It should time-out when the context is suspended. |
|
239 //! @SYMTestPriority Critical |
|
240 //! @SYMTestStatus Implemented |
|
241 //! @SYMTestType CIT |
|
242 RUN_TEST_STEP 120 te_spudnetworkside CSpudSuspendContext z:\testdata\configs\te_pdplayer_ip6.ini PrimaryContextSuspendAndResume |
|
243 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
244 DELAY 3000 |
|
245 END_TESTCASE CBS-PDPLAYER-IP6-0011 |
|
246 |
|
247 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
248 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
249 |
|
250 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
251 //START_TESTCASE CBS-PDPLAYER-IP6-0012 |
|
252 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0012 |
|
253 //! @SYMTestCaseDesc Test Etel suspension of secondary context |
|
254 //! @SYMFssID PDP Layer /Network initiated PDP Context Modification |
|
255 //! @SYMTestActions Create/send data on a socket with QoS parameters (therefore a secondary context), and read from the opposite loopback port. Suspend the context. Send more data and attempt to read from the opposite port. Resume the context. Send more data and attempt to read from the opposite port. |
|
256 //! @SYMTestExpectedResults The read on the loopback comm port should work before the context is suspended, and after it is resumed. It should time-out when the context is suspended. |
|
257 //! @SYMTestPriority Critical |
|
258 //! @SYMTestStatus Implemented |
|
259 //! @SYMTestType CIT |
|
260 //RUN_TEST_STEP 120 te_spudnetworkside CSpudSuspendContext z:\testdata\configs\te_pdplayer_ip6.ini SecondaryContextSuspendAndResume |
|
261 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
262 //DELAY 3000 |
|
263 //END_TESTCASE CBS-PDPLAYER-IP6-0012 |
|
264 |
|
265 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
266 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
267 |
|
268 |
|
269 START_TESTCASE CBS-PDPLAYER-IP6-0013 |
|
270 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0013 |
|
271 //! @SYMTestCaseDesc Primary PDP context activation fails |
|
272 //! @SYMFssID PDP Layer /Primary PDP Context Creation |
|
273 //! @SYMTestActions Primary PDP context activation fails by modifying the TFT values |
|
274 //! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic. |
|
275 //! @SYMTestPriority Critical |
|
276 //! @SYMTestStatus Implemented |
|
277 //! @SYMTestType CIT |
|
278 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimary z:\testdata\configs\te_pdplayer_ip6.ini PrimaryActivationFails18 |
|
279 DELAY 3000 |
|
280 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
281 END_TESTCASE CBS-PDPLAYER-IP6-0013 |
|
282 |
|
283 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
284 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
285 |
|
286 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
287 //START_TESTCASE CBS-PDPLAYER-IP6-0014 |
|
288 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0014 |
|
289 //! @SYMTestCaseDesc Secondary PDP context: Setting TFT fails |
|
290 //! @SYMFssID PDP Layer /Secondary PDP Context Creation |
|
291 //! @SYMTestActions Setting TFT values on secondary PDP context fails due to using incorrect TFT values |
|
292 //! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic. |
|
293 //! @SYMTestPriority Critical |
|
294 //! @SYMTestStatus Implemented |
|
295 //! @SYMTestType CIT |
|
296 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryActivationFails19 |
|
297 //DELAY 3000 |
|
298 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
299 //END_TESTCASE CBS-PDPLAYER-IP6-0014 |
|
300 |
|
301 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
302 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
303 |
|
304 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
305 //START_TESTCASE CBS-PDPLAYER-IP6-0015 |
|
306 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0015 |
|
307 //! @SYMTestCaseDesc Secondary PDP context: Setting requested QoS parameters fails |
|
308 //! @SYMFssID PDP Layer /Secondary PDP Context Creation |
|
309 //! @SYMTestActions Setting QoS parameters on secondary PDP context fails due to using incorrect QoS parameter values |
|
310 //! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic. |
|
311 //! @SYMTestPriority Critical |
|
312 //! @SYMTestStatus Implemented |
|
313 //! @SYMTestType CIT |
|
314 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryActivationFails20 |
|
315 //DELAY 3000 |
|
316 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
317 //END_TESTCASE CBS-PDPLAYER-IP6-0015 |
|
318 |
|
319 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
320 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
321 |
|
322 |
|
323 START_TESTCASE CBS-PDPLAYER-IP6-0016 |
|
324 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0016 |
|
325 //! @SYMTestCaseDesc Primary PDP context deletion fails |
|
326 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
327 //! @SYMTestActions Primary PDP context deletion fails by modifying the TFT values |
|
328 //! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic. |
|
329 //! @SYMTestPriority Critical |
|
330 //! @SYMTestStatus Implemented |
|
331 //! @SYMTestType CIT |
|
332 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimary z:\testdata\configs\te_pdplayer_ip6.ini PrimaryDeletionFails21 |
|
333 DELAY 8000 |
|
334 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
335 END_TESTCASE CBS-PDPLAYER-IP6-0016 |
|
336 |
|
337 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
338 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
339 |
|
340 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
341 //START_TESTCASE CBS-PDPLAYER-IP6-0017 |
|
342 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0017 |
|
343 //! @SYMTestCaseDesc Secondary PDP context deletion fails |
|
344 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
345 //! @SYMTestActions Secondary PDP context deletion fails by modifying the TFT values |
|
346 //! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic. |
|
347 //! @SYMTestPriority Critical |
|
348 //! @SYMTestStatus Implemented |
|
349 //! @SYMTestType CIT |
|
350 //RUN_TEST_STEP 60 te_spudnetworkside CSpudSecondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryDeletionFails22 |
|
351 //DELAY 8000 |
|
352 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
353 //END_TESTCASE CBS-PDPLAYER-IP6-0017 |
|
354 |
|
355 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
356 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
357 |
|
358 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
359 //START_TESTCASE CBS-PDPLAYER-IP6-0018 |
|
360 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0018 |
|
361 //! @SYMTestCaseDesc Network deletes a primary context |
|
362 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
363 //! @SYMTestActions Starts a secondary context by creating a socket with QoS, starts a rawipnif instance opposite the secondary context, deletes the primary context then sends data on the primary context's socket. |
|
364 //! @SYMTestExpectedResults Since the primary context is down, the data is sent on the secondary context, and is received by the rawipnif instance opposite the secondary context. |
|
365 //! @SYMTestPriority Critical |
|
366 //! @SYMTestStatus Implemented |
|
367 //! @SYMTestType CIT |
|
368 //RUN_TEST_STEP 600 te_spudnetworkside CSpudDeletePrimary z:\testdata\configs\te_pdplayer_ip6.ini PrimaryQoSEventDeleteWithSecondary |
|
369 //DELAY 3000 |
|
370 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
371 //END_TESTCASE CBS-PDPLAYER-IP6-0018 |
|
372 |
|
373 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
374 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
375 |
|
376 |
|
377 START_TESTCASE CBS-PDPLAYER-IP6-0019 |
|
378 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0019 |
|
379 //! @SYMTestCaseDesc Call RConnection::Stop while SPUDFSM is initialising the phone |
|
380 //! @SYMFssId PDP Layer /Secondary PDP Context Creation |
|
381 //! @SYMTestActions Cause RPhone::Initialise to take a very long time to complete, and call RConnection::Stop while it is running |
|
382 //! @SYMTestExpectedResults Connection stops successfully. |
|
383 //! @SYMTestPriority Critical |
|
384 //! @SYMTestStatus Implemented |
|
385 //! @SYMTestType CIT |
|
386 RUN_TEST_STEP 120 te_spudnetworkside CSpudPrimayStartingStop z:\testdata\configs\te_pdplayer_ip6.ini PrimarySlowInitialisePhone |
|
387 DELAY 3000 |
|
388 END_TESTCASE CBS-PDPLAYER-IP6-0019 |
|
389 |
|
390 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
391 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
392 |
|
393 START_TESTCASE CBS-PDPLAYER-IP6-0020 |
|
394 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0020 |
|
395 //! @SYMTestCaseDesc Sanity check: successfully activate many primary contexts. |
|
396 //! @SYMFssID PDP Layer /Primary PDP Context Creation |
|
397 //! @SYMTestActions Explicitly start the SPUD interfaces. SIM TSY, etc successfully activate the primary contexts. |
|
398 //! @SYMTestExpectedResults The Primary PDP contexts are activated, SPUD started: RConnection::Start on the SPUDs returns KErrNone. |
|
399 //! @SYMTestPriority Critical |
|
400 //! @SYMTestStatus Implemented |
|
401 //! @SYMTestType CIT |
|
402 RUN_TEST_STEP 100 te_spudnetworkside CSpudMultiPrimary z:\testdata\configs\te_pdplayer_ip6.ini MultiPrimaryActivationOk1 |
|
403 DELAY 3000 |
|
404 RUN_TEST_STEP 100 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
405 END_TESTCASE CBS-PDPLAYER-IP6-0020 |
|
406 |
|
407 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
408 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
409 |
|
410 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
411 //START_TESTCASE CBS-PDPLAYER-IP6-0021 |
|
412 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0021 |
|
413 //! @SYMTestCaseDesc Set requested Qos (SSD, IM CN SI) on a Secondary PDP context. |
|
414 //! @SYMFssID PDP Layer /Secondary PDP Context Creation |
|
415 //! @SYMTestActions Activate the primary and the secondary contexts by opening a socket & setting requested Qos (SSD = Speech, SI = True, IM CN SI = True) on secondary PDP context |
|
416 //! @SYMTestExpectedResults Both the primary & secondary contexts are activated. EQoSEventAddPolicy and EQoSEventConfirm are received by the test app. |
|
417 //! @SYMTestPriority Critical |
|
418 //! @SYMTestStatus Implemented |
|
419 //RUN_TEST_STEP 60 te_spudnetworkside CSpudQosR5Secondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryR5ActivationOk1 |
|
420 //DELAY 3000 |
|
421 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
422 //END_TESTCASE CBS-PDPLAYER-IP6-0021 |
|
423 |
|
424 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
425 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
426 |
|
427 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
428 //START_TESTCASE CBS-PDPLAYER-IP6-0022 |
|
429 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0022 |
|
430 //! @SYMTestCaseDesc Secondary PDP context: Setting requested QoS parameters fails |
|
431 //! @SYMFssID PDP Layer /Secondary PDP Context Creation |
|
432 //! @SYMTestActions Setting QoS parameters on secondary PDP context fails due to using incorrect QoS parameter values |
|
433 //! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic. |
|
434 //! @SYMTestPriority Critical |
|
435 //! @SYMTestStatus Implemented |
|
436 //RUN_TEST_STEP 60 te_spudnetworkside CSpudQosR5Secondary z:\testdata\configs\te_pdplayer_ip6.ini SecondaryR5ActivationFails20 |
|
437 //DELAY 3000 |
|
438 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
439 //END_TESTCASE CBS-PDPLAYER-IP6-0022 |
|
440 |
|
441 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
442 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
443 |
|
444 // Uncomment when IPv6 on Secondary PDP contexts is sorted. |
|
445 //START_TESTCASE CBS-PDPLAYER-IP6-0023 |
|
446 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0023 |
|
447 //! @SYMTestCaseDesc Network deletes a primary context where SI is set on Secondary PDP context. |
|
448 //! @SYMFssID PDP Layer / PDP Context Deactivation |
|
449 //! @SYMTestActions Starts a secondary context by creating a socket with QoS, starts a rawipnif instance opposite the secondary context, deletes the primary context then sends data on the primary context's socket. |
|
450 //! @SYMTestExpectedResults Since the primary context is down, the data is sent on the secondary context, and is received by the rawipnif instance opposite the secondary context. |
|
451 //! @SYMTestPriority Critical |
|
452 //! @SYMTestStatus Implemented |
|
453 //! @SYMTestType CIT |
|
454 //RUN_TEST_STEP 600 te_spudnetworkside CSpudDeletePrimaryR5Qos z:\testdata\configs\te_pdplayer_ip6.ini PrimaryQoSR5EventDeleteWithSecondary |
|
455 //DELAY 3000 |
|
456 //RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
457 //END_TESTCASE CBS-PDPLAYER-IP6-0023 |
|
458 |
|
459 //run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
460 //run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
461 |
|
462 START_TESTCASE CBS-PDPLAYER-IP6-0024 |
|
463 //! @SYMTestCaseID CBS-PDPLAYER-IP6-0024 |
|
464 //! @SYMTestCaseDesc Sanity check: Primary context Progress Test |
|
465 //! @SYMFssID PDP Layer /Primary PDP Context Creation |
|
466 //! @SYMTestActions Explicitly start the SPUD interface. SIM TSY, etc successfully activate the primary context. Check the Progress. |
|
467 //! @SYMTestExpectedResults Primary PDP context is activated, SPUD is started: RConnection::Start on SPUD returns KErrNone. Check the Progress of connection. |
|
468 //! @SYMTestPriority Critical |
|
469 //! @SYMTestStatus Implemented |
|
470 //! @SYMTestType CIT |
|
471 RUN_TEST_STEP 60 te_spudnetworkside CSpudPrimaryContextEventProgress z:\testdata\configs\te_pdplayer_ip6.ini PrimaryActivationOk1 |
|
472 DELAY 3000 |
|
473 RUN_TEST_STEP 60 te_spudnetworkside CESockCheck z:\testdata\configs\te_pdplayer_ip6.ini ESockCheck |
|
474 END_TESTCASE CBS-PDPLAYER-IP6-0024 |
|
475 |
|
476 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
477 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
478 |
|
479 RUN_UTILS MakeReadWrite c:\simtsy\config.txt |
|
480 RUN_UTILS MakeReadWrite c:\config.txt |
|
481 RUN_UTILS DeleteFile c:\simtsy\config.txt |
|
482 RUN_UTILS DeleteFile c:\config.txt |
|
483 RUN_UTILS DeleteFile c:\loopback.ini |