|
1 #*********************************************************************************** |
|
2 # |
|
3 # STIF test script file for testing VOD content client API. |
|
4 # |
|
5 #*********************************************************************************** |
|
6 |
|
7 [StifSettings] |
|
8 CapsModifier= IptvTestClientApiCapsMod.exe |
|
9 [EndStifSettings] |
|
10 |
|
11 [Define] |
|
12 INCLUDE c:\testframework\VCXConsts.inc |
|
13 INCLUDE c:\testframework\VCXErrors.inc |
|
14 INCLUDE c:\testframework\VCXVodContentApiTest.inc |
|
15 INCLUDE c:\testframework\VCXServiceNames.inc |
|
16 INCLUDE c:\testframework\VCXServiceUpdating.inc |
|
17 [Enddefine] |
|
18 |
|
19 #------------------------------------------------------------------------------------ |
|
20 # |
|
21 # Setup services in service database and delete the EPG db. |
|
22 # |
|
23 #------------------------------------------------------------------------------------ |
|
24 [Test] |
|
25 title ET11199 <not a test> Setup epg update test services |
|
26 |
|
27 create VCXTestUtilModule Util |
|
28 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP. |
|
29 Util CopyMethod "Internet" "Internet" "Internet" |
|
30 Util SetMethodPriority DEFAULT_DEST 3G_AP 0 |
|
31 Util SetUsedDestination DEFAULT_DEST |
|
32 // Disable connection dialog for "Internet" destination. |
|
33 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel |
|
34 Util SetDefaultIapCenrep |
|
35 delete Util |
|
36 |
|
37 pause 3000 |
|
38 create VCXServiceManagementApiTest IptvTest |
|
39 IptvTest DeleteServicesDb |
|
40 IptvTest Create |
|
41 IptvTest AddHardCodedService ASYNC SERVICE_0 3G_AP 1 0 // OOPS |
|
42 IptvTest AddHardCodedService ASYNC SERVICE_1 3G_AP 1 1 // Nokia |
|
43 IptvTest AddHardCodedService ASYNC SERVICE_2 3G_AP 1 2 // Rocketboom |
|
44 //IptvTest UpdateServiceField ASYNC 1 EAddress "http:\/\/193.65.182.78/invalid_feeds/invalid_feed_channel2.xml" |
|
45 smtest UpdateServiceField SYNC SERVICE_0 ESetIapList WLAN_AP 1 3G_AP 1 |
|
46 smtest UpdateServiceField SYNC SERVICE_1 ESetIapList WLAN_AP 1 3G_AP 1 |
|
47 smtest UpdateServiceField SYNC SERVICE_2 ESetIapList WLAN_AP 1 3G_AP 1 |
|
48 IptvTest GetServices 0 0 5000 |
|
49 IptvTest Destroy |
|
50 delete IptvTest |
|
51 [Endtest] |
|
52 |
|
53 #------------------------------------------------------------------------------------ |
|
54 # |
|
55 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
56 # from same CIptvVodContentClient -instance via WLAN |
|
57 # |
|
58 #------------------------------------------------------------------------------------ |
|
59 [Test] |
|
60 title ET11100 UpdateSame SERVICE_0 WLAN_AP |
|
61 pause 3000 |
|
62 create VCXTestUtilModule Util |
|
63 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0 |
|
64 Util CreateMobilecrashWatcher |
|
65 create VCXVodContentApiTest test |
|
66 test Create SERVICE_0 |
|
67 test SelectIap WLAN_AP |
|
68 loop LOOP_CNT_WLAN |
|
69 print LOOP_COUNTER |
|
70 test UpdateEcg |
|
71 allownextresult KErrNone |
|
72 allownextresult KIptvErrorEpgUpdateFailed |
|
73 allownextresult EIptvDlConnectionFailed |
|
74 waittestclass test |
|
75 pause PAUSE_SEC |
|
76 endloop |
|
77 test Destroy |
|
78 delete test |
|
79 Util CheckMobilecrashes |
|
80 delete Util |
|
81 [Endtest] |
|
82 |
|
83 #------------------------------------------------------------------------------------ |
|
84 # |
|
85 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
86 # from same CIptvVodContentClient -instance via WLAN |
|
87 # |
|
88 #------------------------------------------------------------------------------------ |
|
89 [Test] |
|
90 title ET11101 UpdateSame SERVICE_1 WLAN_AP |
|
91 create VCXTestUtilModule Util |
|
92 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0 |
|
93 Util CreateMobilecrashWatcher |
|
94 pause 3000 |
|
95 create VCXVodContentApiTest test |
|
96 test Create SERVICE_1 |
|
97 test SelectIap WLAN_AP |
|
98 loop LOOP_CNT_WLAN |
|
99 print LOOP_COUNTER |
|
100 test UpdateEcg |
|
101 allownextresult KErrNone |
|
102 allownextresult KIptvErrorEpgUpdateFailed |
|
103 allownextresult EIptvDlConnectionFailed |
|
104 waittestclass test |
|
105 pause PAUSE_SEC |
|
106 endloop |
|
107 test Destroy |
|
108 delete test |
|
109 Util CheckMobilecrashes |
|
110 delete Util |
|
111 [Endtest] |
|
112 |
|
113 #------------------------------------------------------------------------------------ |
|
114 # |
|
115 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
116 # from same CIptvVodContentClient -instance via WLAN |
|
117 # |
|
118 #------------------------------------------------------------------------------------ |
|
119 [Test] |
|
120 title ET11102 UpdateSame SERVICE_2 WLAN_AP |
|
121 create VCXTestUtilModule Util |
|
122 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0 |
|
123 Util CreateMobilecrashWatcher |
|
124 pause 3000 |
|
125 create VCXVodContentApiTest test |
|
126 test Create SERVICE_2 |
|
127 test SelectIap WLAN_AP |
|
128 loop LOOP_CNT_WLAN |
|
129 print LOOP_COUNTER |
|
130 test UpdateEcg |
|
131 allownextresult KErrNone |
|
132 allownextresult KIptvErrorEpgUpdateFailed |
|
133 allownextresult EIptvDlConnectionFailed |
|
134 waittestclass test |
|
135 pause PAUSE_SEC |
|
136 endloop |
|
137 test Destroy |
|
138 delete test |
|
139 Util CheckMobilecrashes |
|
140 delete Util |
|
141 [Endtest] |
|
142 |
|
143 #------------------------------------------------------------------------------------ |
|
144 # |
|
145 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
146 # from new CIptvVodContentClient -instance via WLAN |
|
147 # |
|
148 #------------------------------------------------------------------------------------ |
|
149 [Test] |
|
150 title ET11103 UpdateNew SERVICE_0 WLAN_AP |
|
151 create VCXTestUtilModule Util |
|
152 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0 |
|
153 Util CreateMobilecrashWatcher |
|
154 pause 3000 |
|
155 create VCXVodContentApiTest test |
|
156 loop LOOP_CNT_WLAN |
|
157 print LOOP_COUNTER |
|
158 test Create SERVICE_0 |
|
159 test SelectIap WLAN_AP |
|
160 test UpdateEcg |
|
161 allownextresult KErrNone |
|
162 allownextresult KIptvErrorEpgUpdateFailed |
|
163 allownextresult EIptvDlConnectionFailed |
|
164 waittestclass test |
|
165 test Destroy |
|
166 pause PAUSE_SEC |
|
167 endloop |
|
168 delete test |
|
169 Util CheckMobilecrashes |
|
170 delete Util |
|
171 [Endtest] |
|
172 |
|
173 #------------------------------------------------------------------------------------ |
|
174 # |
|
175 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
176 # from new CIptvVodContentClient -instance via WLAN |
|
177 # |
|
178 #------------------------------------------------------------------------------------ |
|
179 [Test] |
|
180 title ET11104 UpdateNew SERVICE_2 WLAN_AP |
|
181 create VCXTestUtilModule Util |
|
182 Util SetMethodPriority DEFAULT_DEST WLAN_AP 0 |
|
183 Util CreateMobilecrashWatcher |
|
184 pause 3000 |
|
185 create VCXVodContentApiTest test |
|
186 loop LOOP_CNT_WLAN |
|
187 print LOOP_COUNTER |
|
188 test Create SERVICE_2 |
|
189 test SelectIap WLAN_AP |
|
190 test UpdateEcg |
|
191 allownextresult KErrNone |
|
192 allownextresult KIptvErrorEpgUpdateFailed |
|
193 allownextresult EIptvDlConnectionFailed |
|
194 waittestclass test |
|
195 test Destroy |
|
196 pause PAUSE_SEC |
|
197 endloop |
|
198 delete test |
|
199 Util CheckMobilecrashes |
|
200 delete Util |
|
201 [Endtest] |
|
202 |
|
203 #------------------------------------------------------------------------------------ |
|
204 # |
|
205 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
206 # from same CIptvVodContentClient -instance via 3G |
|
207 # |
|
208 #------------------------------------------------------------------------------------ |
|
209 [Test] |
|
210 title ET11105 UpdateSame SERVICE_0 3G_AP |
|
211 create VCXTestUtilModule Util |
|
212 Util SetMethodPriority DEFAULT_DEST 3G_AP 0 |
|
213 Util CreateMobilecrashWatcher |
|
214 pause 3000 |
|
215 create VCXVodContentApiTest test |
|
216 test Create SERVICE_0 |
|
217 test SelectIap 3G_AP |
|
218 loop LOOP_CNT_3G |
|
219 print LOOP_COUNTER |
|
220 test UpdateEcg |
|
221 allownextresult KErrNone |
|
222 allownextresult KIptvErrorEpgUpdateFailed |
|
223 allownextresult EIptvDlConnectionFailed |
|
224 waittestclass test |
|
225 pause PAUSE_SEC |
|
226 endloop |
|
227 test Destroy |
|
228 delete test |
|
229 Util CheckMobilecrashes |
|
230 delete Util |
|
231 [Endtest] |
|
232 |
|
233 #------------------------------------------------------------------------------------ |
|
234 # |
|
235 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
236 # from same CIptvVodContentClient -instance via 3G |
|
237 # |
|
238 #------------------------------------------------------------------------------------ |
|
239 [Test] |
|
240 title ET11106 UpdateSame SERVICE_2 3G_AP |
|
241 create VCXTestUtilModule Util |
|
242 Util SetMethodPriority DEFAULT_DEST 3G_AP 0 |
|
243 Util CreateMobilecrashWatcher |
|
244 pause 3000 |
|
245 create VCXVodContentApiTest test |
|
246 test Create SERVICE_2 |
|
247 test SelectIap 3G_AP |
|
248 loop LOOP_CNT_3G |
|
249 print LOOP_COUNTER |
|
250 test UpdateEcg |
|
251 allownextresult KErrNone |
|
252 allownextresult KIptvErrorEpgUpdateFailed |
|
253 allownextresult EIptvDlConnectionFailed |
|
254 waittestclass test |
|
255 pause PAUSE_SEC |
|
256 endloop |
|
257 test Destroy |
|
258 delete test |
|
259 Util CheckMobilecrashes |
|
260 delete Util |
|
261 [Endtest] |
|
262 |
|
263 #------------------------------------------------------------------------------------ |
|
264 # |
|
265 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
266 # from new CIptvVodContentClient -instance via 3G |
|
267 # |
|
268 #------------------------------------------------------------------------------------ |
|
269 [Test] |
|
270 title ET11107 UpdateNew SERVICE_0 3G_AP |
|
271 create VCXTestUtilModule Util |
|
272 Util SetMethodPriority DEFAULT_DEST 3G_AP 0 |
|
273 Util CreateMobilecrashWatcher |
|
274 pause 3000 |
|
275 create VCXVodContentApiTest test |
|
276 loop LOOP_CNT_3G |
|
277 print LOOP_COUNTER |
|
278 test Create SERVICE_0 |
|
279 test SelectIap 3G_AP |
|
280 test UpdateEcg |
|
281 allownextresult KErrNone |
|
282 allownextresult KIptvErrorEpgUpdateFailed |
|
283 allownextresult EIptvDlConnectionFailed |
|
284 waittestclass test |
|
285 test Destroy |
|
286 pause PAUSE_SEC |
|
287 endloop |
|
288 delete test |
|
289 Util CheckMobilecrashes |
|
290 delete Util |
|
291 [Endtest] |
|
292 |
|
293 #------------------------------------------------------------------------------------ |
|
294 # |
|
295 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
296 # from new CIptvVodContentClient -instance via 3G |
|
297 # |
|
298 #------------------------------------------------------------------------------------ |
|
299 [Test] |
|
300 title ET11108 UpdateNew SERVICE_2 3G_AP |
|
301 create VCXTestUtilModule Util |
|
302 Util SetMethodPriority DEFAULT_DEST 3G_AP 0 |
|
303 Util SetDefaultIapCenrep |
|
304 Util CreateMobilecrashWatcher |
|
305 pause 3000 |
|
306 create VCXVodContentApiTest test |
|
307 loop LOOP_CNT_3G |
|
308 print LOOP_COUNTER |
|
309 test Create SERVICE_2 |
|
310 test SelectIap 3G_AP |
|
311 test UpdateEcg |
|
312 allownextresult KErrNone |
|
313 allownextresult KIptvErrorEpgUpdateFailed |
|
314 allownextresult EIptvDlConnectionFailed |
|
315 waittestclass test |
|
316 test Destroy |
|
317 pause PAUSE_SEC |
|
318 endloop |
|
319 delete test |
|
320 Util CheckMobilecrashes |
|
321 delete Util |
|
322 [Endtest] |