|
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 delete Util |
|
35 |
|
36 pause 3000 |
|
37 create VCXServiceManagementApiTest IptvTest |
|
38 IptvTest DeleteServicesDb |
|
39 IptvTest Create |
|
40 IptvTest AddHardCodedService ASYNC SERVICE_0 3G_AP 1 0 // OOPS |
|
41 IptvTest AddHardCodedService ASYNC SERVICE_1 3G_AP 1 1 // Nokia |
|
42 IptvTest AddHardCodedService ASYNC SERVICE_2 3G_AP 1 2 // Rocketboom |
|
43 //IptvTest UpdateServiceField ASYNC 1 EAddress "http:\/\/193.65.182.78/invalid_feeds/invalid_feed_channel2.xml" |
|
44 IptvTest GetServices 0 0 5000 |
|
45 IptvTest Destroy |
|
46 delete IptvTest |
|
47 [Endtest] |
|
48 |
|
49 #------------------------------------------------------------------------------------ |
|
50 # |
|
51 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
52 # from same CIptvVodContentClient -instance via WLAN |
|
53 # |
|
54 #------------------------------------------------------------------------------------ |
|
55 [Test] |
|
56 title ET11100 UpdateSame SERVICE_0 WLAN_AP |
|
57 pause 3000 |
|
58 create VCXTestUtilModule Util |
|
59 Util CreateMobilecrashWatcher |
|
60 create VCXVodContentApiTest test |
|
61 test Create SERVICE_0 |
|
62 test SelectIap WLAN_AP |
|
63 loop LOOP_CNT_WLAN |
|
64 print LOOP_COUNTER |
|
65 test UpdateEcg |
|
66 allownextresult KErrNone |
|
67 allownextresult KIptvErrorEpgUpdateFailed |
|
68 allownextresult EIptvDlConnectionFailed |
|
69 waittestclass test |
|
70 pause PAUSE_SEC |
|
71 endloop |
|
72 test Destroy |
|
73 delete test |
|
74 Util CheckMobilecrashes |
|
75 delete Util |
|
76 [Endtest] |
|
77 |
|
78 #------------------------------------------------------------------------------------ |
|
79 # |
|
80 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
81 # from same CIptvVodContentClient -instance via WLAN |
|
82 # |
|
83 #------------------------------------------------------------------------------------ |
|
84 [Test] |
|
85 title ET11101 UpdateSame SERVICE_1 WLAN_AP |
|
86 create VCXTestUtilModule Util |
|
87 Util CreateMobilecrashWatcher |
|
88 pause 3000 |
|
89 create VCXVodContentApiTest test |
|
90 test Create SERVICE_1 |
|
91 test SelectIap WLAN_AP |
|
92 loop LOOP_CNT_WLAN |
|
93 print LOOP_COUNTER |
|
94 test UpdateEcg |
|
95 allownextresult KErrNone |
|
96 allownextresult KIptvErrorEpgUpdateFailed |
|
97 allownextresult EIptvDlConnectionFailed |
|
98 waittestclass test |
|
99 pause PAUSE_SEC |
|
100 endloop |
|
101 test Destroy |
|
102 delete test |
|
103 Util CheckMobilecrashes |
|
104 delete Util |
|
105 [Endtest] |
|
106 |
|
107 #------------------------------------------------------------------------------------ |
|
108 # |
|
109 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
110 # from same CIptvVodContentClient -instance via WLAN |
|
111 # |
|
112 #------------------------------------------------------------------------------------ |
|
113 [Test] |
|
114 title ET11102 UpdateSame SERVICE_2 WLAN_AP |
|
115 create VCXTestUtilModule Util |
|
116 Util CreateMobilecrashWatcher |
|
117 pause 3000 |
|
118 create VCXVodContentApiTest test |
|
119 test Create SERVICE_2 |
|
120 test SelectIap WLAN_AP |
|
121 loop LOOP_CNT_WLAN |
|
122 print LOOP_COUNTER |
|
123 test UpdateEcg |
|
124 allownextresult KErrNone |
|
125 allownextresult KIptvErrorEpgUpdateFailed |
|
126 allownextresult EIptvDlConnectionFailed |
|
127 waittestclass test |
|
128 pause PAUSE_SEC |
|
129 endloop |
|
130 test Destroy |
|
131 delete test |
|
132 Util CheckMobilecrashes |
|
133 delete Util |
|
134 [Endtest] |
|
135 |
|
136 #------------------------------------------------------------------------------------ |
|
137 # |
|
138 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
139 # from new CIptvVodContentClient -instance via WLAN |
|
140 # |
|
141 #------------------------------------------------------------------------------------ |
|
142 [Test] |
|
143 title ET11103 UpdateNew SERVICE_0 WLAN_AP |
|
144 create VCXTestUtilModule Util |
|
145 Util CreateMobilecrashWatcher |
|
146 pause 3000 |
|
147 create VCXVodContentApiTest test |
|
148 loop LOOP_CNT_WLAN |
|
149 print LOOP_COUNTER |
|
150 test Create SERVICE_0 |
|
151 test SelectIap WLAN_AP |
|
152 test UpdateEcg |
|
153 allownextresult KErrNone |
|
154 allownextresult KIptvErrorEpgUpdateFailed |
|
155 allownextresult EIptvDlConnectionFailed |
|
156 waittestclass test |
|
157 test Destroy |
|
158 pause PAUSE_SEC |
|
159 endloop |
|
160 delete test |
|
161 Util CheckMobilecrashes |
|
162 delete Util |
|
163 [Endtest] |
|
164 |
|
165 #------------------------------------------------------------------------------------ |
|
166 # |
|
167 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
168 # from new CIptvVodContentClient -instance via WLAN |
|
169 # |
|
170 #------------------------------------------------------------------------------------ |
|
171 [Test] |
|
172 title ET11104 UpdateNew SERVICE_2 WLAN_AP |
|
173 create VCXTestUtilModule Util |
|
174 Util CreateMobilecrashWatcher |
|
175 pause 3000 |
|
176 create VCXVodContentApiTest test |
|
177 loop LOOP_CNT_WLAN |
|
178 print LOOP_COUNTER |
|
179 test Create SERVICE_2 |
|
180 test SelectIap WLAN_AP |
|
181 test UpdateEcg |
|
182 allownextresult KErrNone |
|
183 allownextresult KIptvErrorEpgUpdateFailed |
|
184 allownextresult EIptvDlConnectionFailed |
|
185 waittestclass test |
|
186 test Destroy |
|
187 pause PAUSE_SEC |
|
188 endloop |
|
189 delete test |
|
190 Util CheckMobilecrashes |
|
191 delete Util |
|
192 [Endtest] |
|
193 |
|
194 #------------------------------------------------------------------------------------ |
|
195 # |
|
196 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
197 # from same CIptvVodContentClient -instance via 3G |
|
198 # |
|
199 #------------------------------------------------------------------------------------ |
|
200 [Test] |
|
201 title ET11105 UpdateSame SERVICE_0 3G_AP |
|
202 create VCXTestUtilModule Util |
|
203 Util CreateMobilecrashWatcher |
|
204 pause 3000 |
|
205 create VCXVodContentApiTest test |
|
206 test Create SERVICE_0 |
|
207 test SelectIap 3G_AP |
|
208 loop LOOP_CNT_3G |
|
209 print LOOP_COUNTER |
|
210 test UpdateEcg |
|
211 allownextresult KErrNone |
|
212 allownextresult KIptvErrorEpgUpdateFailed |
|
213 allownextresult EIptvDlConnectionFailed |
|
214 waittestclass test |
|
215 pause PAUSE_SEC |
|
216 endloop |
|
217 test Destroy |
|
218 delete test |
|
219 Util CheckMobilecrashes |
|
220 delete Util |
|
221 [Endtest] |
|
222 |
|
223 #------------------------------------------------------------------------------------ |
|
224 # |
|
225 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
226 # from same CIptvVodContentClient -instance via 3G |
|
227 # |
|
228 #------------------------------------------------------------------------------------ |
|
229 [Test] |
|
230 title ET11106 UpdateSame SERVICE_2 3G_AP |
|
231 create VCXTestUtilModule Util |
|
232 Util CreateMobilecrashWatcher |
|
233 pause 3000 |
|
234 create VCXVodContentApiTest test |
|
235 test Create SERVICE_2 |
|
236 test SelectIap 3G_AP |
|
237 loop LOOP_CNT_3G |
|
238 print LOOP_COUNTER |
|
239 test UpdateEcg |
|
240 allownextresult KErrNone |
|
241 allownextresult KIptvErrorEpgUpdateFailed |
|
242 allownextresult EIptvDlConnectionFailed |
|
243 waittestclass test |
|
244 pause PAUSE_SEC |
|
245 endloop |
|
246 test Destroy |
|
247 delete test |
|
248 Util CheckMobilecrashes |
|
249 delete Util |
|
250 [Endtest] |
|
251 |
|
252 #------------------------------------------------------------------------------------ |
|
253 # |
|
254 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
255 # from new CIptvVodContentClient -instance via 3G |
|
256 # |
|
257 #------------------------------------------------------------------------------------ |
|
258 [Test] |
|
259 title ET11107 UpdateNew SERVICE_0 3G_AP |
|
260 create VCXTestUtilModule Util |
|
261 Util CreateMobilecrashWatcher |
|
262 pause 3000 |
|
263 create VCXVodContentApiTest test |
|
264 loop LOOP_CNT_3G |
|
265 print LOOP_COUNTER |
|
266 test Create SERVICE_0 |
|
267 test SelectIap 3G_AP |
|
268 test UpdateEcg |
|
269 allownextresult KErrNone |
|
270 allownextresult KIptvErrorEpgUpdateFailed |
|
271 allownextresult EIptvDlConnectionFailed |
|
272 waittestclass test |
|
273 test Destroy |
|
274 pause PAUSE_SEC |
|
275 endloop |
|
276 delete test |
|
277 Util CheckMobilecrashes |
|
278 delete Util |
|
279 [Endtest] |
|
280 |
|
281 #------------------------------------------------------------------------------------ |
|
282 # |
|
283 # Check that CIptvVodContentClient::UpdateEcg() works if it is done repeatedly |
|
284 # from new CIptvVodContentClient -instance via 3G |
|
285 # |
|
286 #------------------------------------------------------------------------------------ |
|
287 [Test] |
|
288 title ET11108 UpdateNew SERVICE_2 3G_AP |
|
289 create VCXTestUtilModule Util |
|
290 Util CreateMobilecrashWatcher |
|
291 pause 3000 |
|
292 create VCXVodContentApiTest test |
|
293 loop LOOP_CNT_3G |
|
294 print LOOP_COUNTER |
|
295 test Create SERVICE_2 |
|
296 test SelectIap 3G_AP |
|
297 test UpdateEcg |
|
298 allownextresult KErrNone |
|
299 allownextresult KIptvErrorEpgUpdateFailed |
|
300 allownextresult EIptvDlConnectionFailed |
|
301 waittestclass test |
|
302 test Destroy |
|
303 pause PAUSE_SEC |
|
304 endloop |
|
305 delete test |
|
306 Util CheckMobilecrashes |
|
307 delete Util |
|
308 [Endtest] |