|
1 #*********************************************************************************** |
|
2 # |
|
3 # STIF test script file for testing vcxnssettingsengine.dll. |
|
4 # |
|
5 #*********************************************************************************** |
|
6 |
|
7 [Define] |
|
8 EFixedDrive 1 |
|
9 EMassStorageDrive 2 |
|
10 EPhoneMemoryDrive 3 |
|
11 EMemoryCardDrive 4 |
|
12 [Enddefine] |
|
13 |
|
14 #------------------------------------------------------------------------------------ |
|
15 # |
|
16 # CaseClass: core |
|
17 #------------------------------------------------------------------------------------ |
|
18 [Test] |
|
19 title VPSE01 <not a test> Setup |
|
20 create VCXTestUtilModule Util |
|
21 allowerrorcodes -1 |
|
22 Util DeleteDestination "testdest1" |
|
23 allowerrorcodes -1 |
|
24 Util DeleteDestination "testdest2" |
|
25 pause 1000 |
|
26 Util CreateDestination "testdest1" |
|
27 Util CreateDestination "testdest2" |
|
28 delete Util |
|
29 [Endtest] |
|
30 |
|
31 #------------------------------------------------------------------------------------ |
|
32 # |
|
33 # CaseClass: core |
|
34 #------------------------------------------------------------------------------------ |
|
35 [Test] |
|
36 title VPSE02 UsedMemory EFixedDrive |
|
37 create vcxnssettingsenginetest test |
|
38 test Create |
|
39 test SetUsedMemory EFixedDrive |
|
40 test GetUsedMemory |
|
41 delete test |
|
42 [Endtest] |
|
43 |
|
44 #------------------------------------------------------------------------------------ |
|
45 # |
|
46 # CaseClass: core |
|
47 #------------------------------------------------------------------------------------ |
|
48 [Test] |
|
49 title VPSE03 UsedMemory EMassStorageDrive |
|
50 create vcxnssettingsenginetest test |
|
51 test Create |
|
52 test SetUsedMemory EMassStorageDrive |
|
53 test GetUsedMemory |
|
54 delete test |
|
55 [Endtest] |
|
56 |
|
57 #------------------------------------------------------------------------------------ |
|
58 # |
|
59 # CaseClass: core |
|
60 #------------------------------------------------------------------------------------ |
|
61 [Test] |
|
62 title VPSE17 UsedMemory EPhoneMemoryDrive |
|
63 create vcxnssettingsenginetest test |
|
64 test Create |
|
65 test SetUsedMemory EMassStorageDrive |
|
66 test SetUsedMemory EPhoneMemoryDrive |
|
67 allowerrorcodes -20 |
|
68 test GetUsedMemory |
|
69 delete test |
|
70 [Endtest] |
|
71 |
|
72 #------------------------------------------------------------------------------------ |
|
73 # |
|
74 # CaseClass: core |
|
75 #------------------------------------------------------------------------------------ |
|
76 [Test] |
|
77 title VPSE18 UsedMemory EMemoryCardDrive |
|
78 create vcxnssettingsenginetest test |
|
79 test Create |
|
80 test SetUsedMemory EMemoryCardDrive |
|
81 test GetUsedMemory |
|
82 delete test |
|
83 [Endtest] |
|
84 |
|
85 #------------------------------------------------------------------------------------ |
|
86 # |
|
87 # CaseClass: core |
|
88 #------------------------------------------------------------------------------------ |
|
89 [Test] |
|
90 title VPSE04 UsedMemory id -1 |
|
91 create vcxnssettingsenginetest test |
|
92 test Create |
|
93 test SetUsedMemory -1 |
|
94 allownextresult -20 |
|
95 test GetUsedMemory |
|
96 delete test |
|
97 [Endtest] |
|
98 |
|
99 #------------------------------------------------------------------------------------ |
|
100 # |
|
101 # CaseClass: core |
|
102 #------------------------------------------------------------------------------------ |
|
103 [Test] |
|
104 title VPSE16 UsedMemory id 616 |
|
105 create vcxnssettingsenginetest test |
|
106 test Create |
|
107 test SetUsedMemory 616 |
|
108 allownextresult -20 |
|
109 test GetUsedMemory |
|
110 delete test |
|
111 [Endtest] |
|
112 |
|
113 #------------------------------------------------------------------------------------ |
|
114 # |
|
115 # CaseClass: core |
|
116 #------------------------------------------------------------------------------------ |
|
117 [Test] |
|
118 title VPSE05 ParentControl |
|
119 create vcxnssettingsenginetest test |
|
120 test Create |
|
121 test SetParentControl -1 |
|
122 test GetParentControl -1 |
|
123 test SetParentControl 0 |
|
124 test GetParentControl 0 |
|
125 test SetParentControl 1 |
|
126 test GetParentControl 1 |
|
127 test SetParentControl 99 |
|
128 test GetParentControl 99 |
|
129 test SetParentControl 100 |
|
130 test GetParentControl 100 |
|
131 test SetParentControl 101 |
|
132 test GetParentControl 101 |
|
133 test SetParentControl 1000 |
|
134 test GetParentControl 1000 |
|
135 delete test |
|
136 [Endtest] |
|
137 |
|
138 #------------------------------------------------------------------------------------ |
|
139 # |
|
140 # CaseClass: core |
|
141 #------------------------------------------------------------------------------------ |
|
142 [Test] |
|
143 title VPSE06 Thumbnails on & off |
|
144 create vcxnssettingsenginetest test |
|
145 test Create |
|
146 test SetVideoOnDemandThumbnails 1 |
|
147 test GetVideoOnDemandThumbnails 1 |
|
148 test SetVideoOnDemandThumbnails 0 |
|
149 test GetVideoOnDemandThumbnails 0 |
|
150 delete test |
|
151 [Endtest] |
|
152 |
|
153 #------------------------------------------------------------------------------------ |
|
154 # |
|
155 # CaseClass: core |
|
156 #------------------------------------------------------------------------------------ |
|
157 [Test] |
|
158 title VPSE07 Thumbnails invalid value |
|
159 create vcxnssettingsenginetest test |
|
160 test Create |
|
161 test SetVideoOnDemandThumbnails 0 |
|
162 test SetVideoOnDemandThumbnails -1 |
|
163 test GetVideoOnDemandThumbnails -1 |
|
164 delete test |
|
165 [Endtest] |
|
166 |
|
167 #------------------------------------------------------------------------------------ |
|
168 # |
|
169 # CaseClass: core |
|
170 #------------------------------------------------------------------------------------ |
|
171 [Test] |
|
172 title VPSE08 UsedSnap |
|
173 create vcxnssettingsenginetest test |
|
174 test Create |
|
175 test SetUsedSnapId "testdest1" |
|
176 test GetUsedSnapId "testdest1" |
|
177 test SetUsedSnapId "testdest2" |
|
178 test GetUsedSnapId "testdest2" |
|
179 delete test |
|
180 [Endtest] |
|
181 |
|
182 #------------------------------------------------------------------------------------ |
|
183 # |
|
184 # CaseClass: core |
|
185 #------------------------------------------------------------------------------------ |
|
186 [Test] |
|
187 title VPSE09 UsedSnap invalid id |
|
188 create vcxnssettingsenginetest test |
|
189 test Create |
|
190 test SetUsedSnapId "INVALID" |
|
191 test GetUsedSnapId |
|
192 delete test |
|
193 [Endtest] |
|
194 |
|
195 #------------------------------------------------------------------------------------ |
|
196 # |
|
197 # CaseClass: core |
|
198 #------------------------------------------------------------------------------------ |
|
199 [Test] |
|
200 title VPSE10 AllowUseGprs on & off |
|
201 create vcxnssettingsenginetest test |
|
202 test Create |
|
203 test SetAllowUseGprs 1 |
|
204 test GetAllowUseGprs 1 |
|
205 test SetAllowUseGprs 0 |
|
206 test GetAllowUseGprs 0 |
|
207 delete test |
|
208 [Endtest] |
|
209 |
|
210 #------------------------------------------------------------------------------------ |
|
211 # |
|
212 # CaseClass: core |
|
213 #------------------------------------------------------------------------------------ |
|
214 [Test] |
|
215 title VPSE11 AllowRoaming on & off |
|
216 create vcxnssettingsenginetest test |
|
217 test Create |
|
218 test SetAllowRoaming 1 |
|
219 test GetAllowRoaming 1 |
|
220 test SetAllowRoaming 0 |
|
221 test GetAllowRoaming 0 |
|
222 delete test |
|
223 [Endtest] |
|
224 |
|
225 #------------------------------------------------------------------------------------ |
|
226 # |
|
227 # CaseClass: core |
|
228 #------------------------------------------------------------------------------------ |
|
229 [Test] |
|
230 title VPSE15 PlayerVolume |
|
231 create vcxnssettingsenginetest test |
|
232 test Create |
|
233 test SetPlayerVolume 0 |
|
234 test GetPlayerVolume 0 |
|
235 test SetPlayerVolume -1 |
|
236 test GetPlayerVolume -1 |
|
237 test SetPlayerVolume 1 |
|
238 test GetPlayerVolume 1 |
|
239 test SetPlayerVolume 99 |
|
240 test GetPlayerVolume 99 |
|
241 test SetPlayerVolume 100 |
|
242 test GetPlayerVolume 100 |
|
243 test SetPlayerVolume 101 |
|
244 test GetPlayerVolume 101 |
|
245 test SetPlayerVolume 1000 |
|
246 test GetPlayerVolume 1000 |
|
247 delete test |
|
248 [Endtest] |