57
|
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 |
[Enddefine]
|
|
17 |
|
|
18 |
#------------------------------------------------------------------------------------
|
|
19 |
#
|
|
20 |
# Setup services in service database and delete the EPG db.
|
|
21 |
#
|
|
22 |
#------------------------------------------------------------------------------------
|
|
23 |
[Test]
|
|
24 |
title ET11599 <not a test> Setup database test services
|
|
25 |
|
|
26 |
create VCXTestUtilModule Util
|
|
27 |
// Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
|
|
28 |
Util CopyMethod "Internet" "Internet" "Internet"
|
|
29 |
Util SetMethodPriority DEFAULT_DEST 3G_AP 0
|
|
30 |
Util SetUsedDestination DEFAULT_DEST
|
|
31 |
// Disable connection dialog for "Internet" destination.
|
|
32 |
Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
|
|
33 |
Util SetDefaultIapCenrep
|
|
34 |
delete Util
|
|
35 |
|
|
36 |
pause PAUSE
|
|
37 |
create VCXServiceManagementApiTest ServUtil
|
|
38 |
ServUtil Create
|
|
39 |
ServUtil DeleteAllServices SYNC
|
|
40 |
ServUtil AddHardCodedService ASYNC SERVICE_0 3G_AP 1 0 // OOPS
|
|
41 |
ServUtil UpdateServiceField ASYNC SERVICE_0 ESetIapList WLAN_AP 1 3G_AP 1
|
|
42 |
ServUtil Destroy
|
|
43 |
delete ServUtil
|
|
44 |
pause 3000
|
|
45 |
[Endtest]
|
|
46 |
|
|
47 |
#------------------------------------------------------------------------------------
|
|
48 |
#
|
|
49 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
50 |
#
|
|
51 |
#------------------------------------------------------------------------------------
|
|
52 |
[Test]
|
|
53 |
title ET11500 GetEcgList DB is empty / does not existcreate
|
|
54 |
create VCXTestUtilModule Util
|
|
55 |
Util CreateMobilecrashWatcher
|
|
56 |
create VCXVodContentApiTest test
|
|
57 |
test DeleteEpgDb
|
|
58 |
test Create SERVICE_0
|
|
59 |
test SelectIap DEFAULT_AP
|
|
60 |
test GetEcgList 1 "" 0 10
|
|
61 |
waittestclass test
|
|
62 |
test GetEcgList 1 "" 0 10
|
|
63 |
test Destroy
|
|
64 |
delete test
|
|
65 |
Util CheckMobilecrashes
|
|
66 |
delete Util
|
|
67 |
[Endtest]
|
|
68 |
|
|
69 |
#------------------------------------------------------------------------------------
|
|
70 |
#
|
|
71 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
72 |
#
|
|
73 |
#------------------------------------------------------------------------------------
|
|
74 |
[Test]
|
|
75 |
title ET11501 EcgCategoryList DB is empty / does not exist
|
|
76 |
create VCXTestUtilModule Util
|
|
77 |
Util CreateMobilecrashWatcher
|
|
78 |
create VCXVodContentApiTest test
|
|
79 |
test DeleteEpgDb
|
|
80 |
test Create SERVICE_0
|
|
81 |
test SelectIap DEFAULT_AP
|
|
82 |
test EcgCategoryList 0
|
|
83 |
waittestclass test
|
|
84 |
test EcgCategoryList 0
|
|
85 |
test Destroy
|
|
86 |
delete test
|
|
87 |
Util CheckMobilecrashes
|
|
88 |
delete Util
|
|
89 |
[Endtest]
|
|
90 |
|
|
91 |
#------------------------------------------------------------------------------------
|
|
92 |
#
|
|
93 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
94 |
#
|
|
95 |
#------------------------------------------------------------------------------------
|
|
96 |
[Test]
|
|
97 |
title ET11502 EcgEcgAllList DB is empty / does not exist
|
|
98 |
create VCXTestUtilModule Util
|
|
99 |
Util CreateMobilecrashWatcher
|
|
100 |
create VCXVodContentApiTest test
|
|
101 |
test DeleteEpgDb
|
|
102 |
test Create SERVICE_0
|
|
103 |
test SelectIap DEFAULT_AP
|
|
104 |
test EcgEcgAllList "" 0 5
|
|
105 |
waittestclass test
|
|
106 |
test ContentDetailsList 0
|
|
107 |
test Destroy
|
|
108 |
delete test
|
|
109 |
Util CheckMobilecrashes
|
|
110 |
delete Util
|
|
111 |
[Endtest]
|
|
112 |
|
|
113 |
#------------------------------------------------------------------------------------
|
|
114 |
#
|
|
115 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
116 |
#
|
|
117 |
#------------------------------------------------------------------------------------
|
|
118 |
[Test]
|
|
119 |
title ET11503 CategoryDetails DB is empty / does not exist
|
|
120 |
create VCXTestUtilModule Util
|
|
121 |
Util CreateMobilecrashWatcher
|
|
122 |
create VCXVodContentApiTest test
|
|
123 |
test DeleteEpgDb
|
|
124 |
test Create SERVICE_0
|
|
125 |
test SelectIap DEFAULT_AP
|
|
126 |
// this starts ecg update
|
|
127 |
test CategoryDetails 1
|
|
128 |
waittestclass test
|
|
129 |
test CategoryDetails 1
|
|
130 |
test Destroy
|
|
131 |
delete test
|
|
132 |
Util CheckMobilecrashes
|
|
133 |
delete Util
|
|
134 |
[Endtest]
|
|
135 |
|
|
136 |
#------------------------------------------------------------------------------------
|
|
137 |
#
|
|
138 |
# Check that CIptvVodContentClient returns parentCategoryId correctly
|
|
139 |
#
|
|
140 |
#------------------------------------------------------------------------------------
|
|
141 |
[Test]
|
|
142 |
title ET11504 ParentCategory DB is empty / does not exist
|
|
143 |
create VCXTestUtilModule Util
|
|
144 |
Util CreateMobilecrashWatcher
|
|
145 |
create VCXVodContentApiTest test
|
|
146 |
test DeleteEpgDb
|
|
147 |
test Create SERVICE_0
|
|
148 |
test SelectIap DEFAULT_AP
|
|
149 |
test ParentCategory 0
|
|
150 |
waittestclass test
|
|
151 |
test ParentCategory 0
|
|
152 |
test Destroy
|
|
153 |
delete test
|
|
154 |
Util CheckMobilecrashes
|
|
155 |
delete Util
|
|
156 |
[Endtest]
|
|
157 |
|
|
158 |
#------------------------------------------------------------------------------------
|
|
159 |
#
|
|
160 |
# Check that CIptvVodContentClient parses data correctly from complex RSS XML file with multiple categories and ecg db.
|
|
161 |
#
|
|
162 |
#------------------------------------------------------------------------------------
|
|
163 |
[Test]
|
|
164 |
title ET11505 ContentDetailsList DB is empty / does not exist
|
|
165 |
create VCXTestUtilModule Util
|
|
166 |
Util CreateMobilecrashWatcher
|
|
167 |
create VCXVodContentApiTest test
|
|
168 |
test DeleteEpgDb
|
|
169 |
test Create SERVICE_0
|
|
170 |
test SelectIap DEFAULT_AP
|
|
171 |
// this will start ecg update
|
|
172 |
test ContentDetailsList 0
|
|
173 |
waittestclass test
|
|
174 |
test ContentDetailsList 0
|
|
175 |
test Destroy
|
|
176 |
delete test
|
|
177 |
Util CheckMobilecrashes
|
|
178 |
delete Util
|
|
179 |
[Endtest]
|
|
180 |
|
|
181 |
#------------------------------------------------------------------------------------
|
|
182 |
#
|
|
183 |
# Test CIptvVodContentClient::SetLastPositionL
|
|
184 |
#------------------------------------------------------------------------------------
|
|
185 |
[Test]
|
|
186 |
title ET11506 SetLastPosition DB is empty / does not exist
|
|
187 |
create VCXTestUtilModule Util
|
|
188 |
Util CreateMobilecrashWatcher
|
|
189 |
pause PAUSE
|
|
190 |
create VCXVodContentApiTest test
|
|
191 |
test DeleteEpgDb
|
|
192 |
test Create SERVICE_0
|
|
193 |
test SetLastPosition 0 0 0
|
|
194 |
test Destroy
|
|
195 |
delete test
|
|
196 |
Util CheckMobilecrashes
|
|
197 |
delete Util
|
|
198 |
[Endtest]
|