|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //! @file |
|
17 // SWIS unit (integration) tests |
|
18 PRINT Run Silent install tests |
|
19 LOAD_SUITE tuiscriptadaptors |
|
20 |
|
21 |
|
22 //! @SYMTestCaseID API-SEC-SWI-CR-AWIR6FSGNJ-0001 |
|
23 //! @SYMTestCaseDesc Check expected callbacks happen |
|
24 //! @SYMREQ REQ5496 REQ5497 REQ5498 |
|
25 //! @SYMTestPriority Medium |
|
26 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
27 //! @SYMTestExpectedResults Correct callbacks occur |
|
28 //! @SYMDevelopedForRelease Mike |
|
29 |
|
30 START_TESTCASE API-SEC-SWI-CR-AWIR6FSGNJ-0001 |
|
31 |
|
32 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
33 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
34 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test1_h2 |
|
35 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
36 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
37 |
|
38 // 1 sec delay for DP ROM performance |
|
39 DELAY 1000 |
|
40 |
|
41 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
42 |
|
43 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
44 DELAY 7000 |
|
45 |
|
46 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test1_all |
|
47 // Do not need to cleanup because following test formats the MMC |
|
48 |
|
49 END_TESTCASE API-SEC-SWI-CR-AWIR6FSGNJ-0001 |
|
50 |
|
51 |
|
52 //! @SYMTestCaseID API-SEC-SWI-CR-AWIR6FSGNJ-0002 |
|
53 //! @SYMTestCaseDesc Tries to install a SISX file onto drive q, which is not present |
|
54 //! @SYMREQ REQ5499 |
|
55 //! @SYMTestPriority Medium |
|
56 //! @SYMTestActions Format MMC, and check actions after re-inserting MMC |
|
57 //! @SYMTestExpectedResults Correct callbacks occur |
|
58 //! @SYMDevelopedForRelease Mike |
|
59 |
|
60 START_TESTCASE API-SEC-SWI-CR-AWIR6FSGNJ-0002 |
|
61 |
|
62 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
63 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
64 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
65 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
66 |
|
67 // 1 sec delay for DP ROM performance |
|
68 DELAY 1000 |
|
69 |
|
70 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
71 |
|
72 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
73 DELAY 7000 |
|
74 |
|
75 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test2_all |
|
76 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
77 |
|
78 END_TESTCASE API-SEC-SWI-CR-AWIR6FSGNJ-0002 |
|
79 |
|
80 |
|
81 // Copy files into place on the pre-installed drives |
|
82 |
|
83 RUN_UTILS MKDIR c:\tswi |
|
84 RUN_UTILS MKDIR c:\tswi\preinstalled |
|
85 RUN_UTILS DELETEFILE k:\tswi\preinstalled\preinstalledpatch.txt |
|
86 RUN_UTILS COPYFILE z:\tswi\tuiscriptadaptors\data\preinstalledinstall.txt c:\tswi\preinstalled\preinstalledinstall.txt |
|
87 RUN_UTILS MAKEREADWRITE c:\tswi\preinstalled\preinstalledinstall.txt |
|
88 RUN_UTILS COPYFILE z:\tswi\tuiscriptadaptors\data\preinstalledinstall.txt c:\tswi\preinstalled\preinstalledpatch.txt |
|
89 RUN_UTILS MAKEREADWRITE c:\tswi\preinstalled\preinstalledpatch.txt |
|
90 |
|
91 |
|
92 //Install a base package through normal installation(tuiscriptadaptors). |
|
93 |
|
94 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tuiscriptadaptors\scripts\testpreinstalled.ini selfsigned_base |
|
95 |
|
96 |
|
97 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0001 |
|
98 //! @SYMTestCaseDesc Check expected callbacks happen when we have Base pkg and Swi-Daemon will check preinstall patch(PP) over it. |
|
99 //! @SYMDEF DEF105776 |
|
100 //! @SYMTestPriority Medium |
|
101 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
102 //! @SYMTestExpectedResults Correct callbacks occur |
|
103 //! @SYMDevelopedForRelease Naiad |
|
104 |
|
105 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0001 |
|
106 |
|
107 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
108 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
109 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test2_h2 |
|
110 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
111 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
112 |
|
113 // 1 sec delay for DP ROM performance |
|
114 DELAY 1000 |
|
115 |
|
116 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
117 |
|
118 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
119 DELAY 7000 |
|
120 |
|
121 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test3_all |
|
122 |
|
123 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0001 |
|
124 |
|
125 |
|
126 // Install a patch over base using normal installation (tuiscriptadaptors). |
|
127 |
|
128 // Install preinstalled patch on MMC. |
|
129 |
|
130 RUN_UTILS COPYFILE c:\tswi\preinstalled\preinstalledpatch.txt e:\tswi\preinstalled\preinstalledpatch.txt |
|
131 |
|
132 RUN_UTILS DELETEFILE c:\tswi\preinstalled\preinstalledpatch.txt |
|
133 |
|
134 RUN_TEST_STEP 100 tuiscriptadaptors InstallFHStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini preinstalled_patch_e |
|
135 |
|
136 RUN_UTILS COPYFILE z:\tswi\tuiscriptadaptors\data\preinstalledinstall.txt c:\tswi\preinstalled\preinstalledpatch.txt |
|
137 |
|
138 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0002 |
|
139 //! @SYMTestCaseDesc Check expected callbacks happen we have Base, PP over it and Swi-Daemon will check PP again with the same name. |
|
140 //! @SYMDEF DEF105776 |
|
141 //! @SYMTestPriority Medium |
|
142 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
143 //! @SYMTestExpectedResults Correct callbacks occur |
|
144 //! @SYMDevelopedForRelease Naiad |
|
145 |
|
146 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0002 |
|
147 |
|
148 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
149 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
150 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test2_h2 |
|
151 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
152 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
153 |
|
154 // 1 sec delay for DP ROM performance |
|
155 DELAY 1000 |
|
156 |
|
157 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
158 |
|
159 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
160 DELAY 7000 |
|
161 |
|
162 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test4_all |
|
163 |
|
164 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0002 |
|
165 |
|
166 |
|
167 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0003 |
|
168 //! @SYMTestCaseDesc Check expected callbacks happen when we have Base , PP over it and PP over it with different name using Swi-Daemon. |
|
169 //! @SYMDEF DEF105776 |
|
170 //! @SYMTestPriority Medium |
|
171 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
172 //! @SYMTestExpectedResults Correct callbacks occur |
|
173 //! @SYMDevelopedForRelease Naiad |
|
174 |
|
175 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0003 |
|
176 |
|
177 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
178 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
179 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test3_h2 |
|
180 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
181 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
182 |
|
183 // 1 sec delay for DP ROM performance |
|
184 DELAY 1000 |
|
185 |
|
186 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
187 |
|
188 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
189 DELAY 7000 |
|
190 |
|
191 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test5_all |
|
192 |
|
193 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0003 |
|
194 |
|
195 |
|
196 RUN_UTILS MKDIR e:\tswi |
|
197 RUN_UTILS MKDIR e:\tswi\preinstalled |
|
198 RUN_UTILS COPYFILE c:\tswi\preinstalled\preinstalledpatch.txt e:\tswi\preinstalled\preinstalledpatch.txt |
|
199 RUN_UTILS MAKEREADWRITE e:\tswi\preinstalled\preinstalledpatch.txt |
|
200 |
|
201 // Remove base app |
|
202 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tuiscriptadaptors\scripts\testpreinstalled.ini u_base |
|
203 |
|
204 |
|
205 // Install base package(SA) |
|
206 |
|
207 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tuiscriptadaptors\scripts\testaugmentations.ini augmentation_base |
|
208 |
|
209 |
|
210 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0004 |
|
211 //! @SYMTestCaseDesc Check expected callbacks happen when we have a Base pkg and Swi-Daemon will check SP over it. |
|
212 //! @SYMDEF DEF105776 |
|
213 //! @SYMTestPriority Medium |
|
214 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
215 //! @SYMTestExpectedResults Correct callbacks occur |
|
216 //! @SYMDevelopedForRelease Naiad |
|
217 |
|
218 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0004 |
|
219 |
|
220 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
221 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
222 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test4_h2 |
|
223 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
224 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
225 |
|
226 // 1 sec delay for DP ROM performance |
|
227 DELAY 1000 |
|
228 |
|
229 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
230 |
|
231 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
232 DELAY 7000 |
|
233 |
|
234 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test6_all |
|
235 |
|
236 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0004 |
|
237 |
|
238 |
|
239 // Really Install the SP from normal installation. |
|
240 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tuiscriptadaptors\scripts\testaugmentations.ini augmentation_A |
|
241 |
|
242 |
|
243 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0005 |
|
244 //! @SYMTestCaseDesc Check expected callbacks happen when we have Base,SP over it and Swi-Daemon will check SP again with the same name. |
|
245 //! @SYMDEF DEF105776 |
|
246 //! @SYMTestPriority Medium |
|
247 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
248 //! @SYMTestExpectedResults Correct callbacks occur |
|
249 //! @SYMDevelopedForRelease Naiad |
|
250 |
|
251 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0005 |
|
252 |
|
253 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
254 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
255 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test4_h2 |
|
256 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
257 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
258 |
|
259 // 1 sec delay for DP ROM performance |
|
260 DELAY 1000 |
|
261 |
|
262 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
263 |
|
264 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
265 DELAY 7000 |
|
266 |
|
267 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test4_all |
|
268 |
|
269 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0005 |
|
270 |
|
271 |
|
272 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0006 |
|
273 //! @SYMTestCaseDesc Check expected callbacks happen when we have Base,SP over it and Swi-Daemon will check SP again with different name. |
|
274 //! @SYMREQ DEF105776 |
|
275 //! @SYMTestPriority Medium |
|
276 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
277 //! @SYMTestExpectedResults Correct callbacks occur |
|
278 //! @SYMDevelopedForRelease Naiad |
|
279 |
|
280 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0006 |
|
281 |
|
282 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
283 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
284 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test5_h2 |
|
285 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
286 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
287 |
|
288 // 1 sec delay for DP ROM performance |
|
289 DELAY 1000 |
|
290 |
|
291 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
292 |
|
293 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
294 DELAY 7000 |
|
295 |
|
296 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test7_all |
|
297 |
|
298 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0006 |
|
299 |
|
300 |
|
301 // Uninstall the augmentation and base |
|
302 RUN_TEST_STEP 100 tuiscriptadaptors UninstallAugStep z:\tswi\tuiscriptadaptors\scripts\testaugmentations.ini u_augmentation_A |
|
303 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tuiscriptadaptors\scripts\testaugmentations.ini u_augmentation |
|
304 |
|
305 |
|
306 RUN_UTILS MKDIR e:\tswi |
|
307 RUN_UTILS MKDIR e:\tswi\preinstalled |
|
308 RUN_UTILS COPYFILE c:\tswi\preinstalled\preinstalledpatch.txt e:\tswi\preinstalled\preinstalledinstall.txt |
|
309 RUN_UTILS COPYFILE z:\tswi\tsis\data\Root5CA\dsa_len1\testpreinstalled_install_dsa_l1.sis e:\testpreinstalled_install_dsa_l1.sis |
|
310 |
|
311 |
|
312 // pre-installed normal application |
|
313 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tuiscriptadaptors\scripts\testpreinstalled.ini preinstalled_install |
|
314 |
|
315 |
|
316 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0007 |
|
317 //! @SYMTestCaseDesc Check expected callbacks happen when we have Base pkg (PA) and Swi-Daemon will check PP over it. |
|
318 //! @SYMDEF DEF105776 |
|
319 //! @SYMTestPriority Medium |
|
320 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
321 //! @SYMTestExpectedResults Correct callbacks occur |
|
322 //! @SYMDevelopedForRelease Naiad |
|
323 |
|
324 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0007 |
|
325 |
|
326 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
327 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
328 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test6_h2 |
|
329 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
330 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
331 |
|
332 // 1 sec delay for DP ROM performance |
|
333 DELAY 1000 |
|
334 |
|
335 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
336 |
|
337 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
338 DELAY 7000 |
|
339 |
|
340 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test8_all |
|
341 |
|
342 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0007 |
|
343 |
|
344 |
|
345 RUN_UTILS COPYFILE z:\tswi\tsis\data\Root5CA\dsa_len1\testpreinstalled_patch2_dsa_l1.sis e:\testpreinstalled_patch2_dsa_l1.sis |
|
346 RUN_UTILS MAKEREADWRITE e:\testpreinstalled_patch2_dsa_l1.sis |
|
347 RUN_UTILS MKDIR e:\tswi |
|
348 RUN_UTILS MKDIR e:\tswi\preinstalled |
|
349 RUN_UTILS COPYFILE z:\tswi\tuiscriptadaptors\data\preinstalledinstall.txt e:\tswi\preinstalled\preinstalledpatch2.txt |
|
350 RUN_UTILS MAKEREADWRITE e:\tswi\preinstalled\preinstalledpatch2.txt |
|
351 RUN_UTILS DELETEFILE e:\private\10202dce\81111209.sis |
|
352 |
|
353 // pre-installed patch |
|
354 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tuiscriptadaptors\scripts\testpreinstalled.ini preinstalled_patch2 |
|
355 |
|
356 |
|
357 //! @SYMTestCaseID API-SEC-SWIDummyPlugin-I-B-0008 |
|
358 //! @SYMTestCaseDesc Check expected callbacks happen when we have Base pkg (PA), PP over it and Swi-Daemon will check for PP again with same name. |
|
359 //! @SYMDEF DEF105776 |
|
360 //! @SYMTestPriority Medium |
|
361 //! @SYMTestActions Format MMC, copy pre-installed app to MMC, and check actions after re-inserting MMC |
|
362 //! @SYMTestExpectedResults Correct callbacks occur |
|
363 //! @SYMDevelopedForRelease Naiad |
|
364 |
|
365 START_TESTCASE API-SEC-SWIDummyPlugin-I-B-0008 |
|
366 |
|
367 RUN_TEST_STEP_RESULT -21 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
368 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
369 RUN_TEST_STEP 100 tuiscriptadaptors MmcCopyFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test6_h2 |
|
370 RUN_TEST_STEP 100 tuiscriptadaptors MmcResetTagsStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
371 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
372 |
|
373 // 1 sec delay for DP ROM performance |
|
374 DELAY 1000 |
|
375 |
|
376 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini E |
|
377 |
|
378 // Wait for the PlatSec* ERROR message, otherwise, testutilserver will get a E32User 46 error. |
|
379 DELAY 7000 |
|
380 |
|
381 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tuiscriptadaptors\scripts\tsilent.ini test4_all |
|
382 |
|
383 END_TESTCASE API-SEC-SWIDummyPlugin-I-B-0008 |
|
384 |
|
385 |
|
386 RUN_UTILS MKDIR e:\tswi |
|
387 RUN_UTILS MKDIR e:\tswi\preinstalled |
|
388 RUN_UTILS COPYFILE c:\tswi\preinstalled\preinstalledpatch.txt e:\tswi\preinstalled\preinstalledinstall.txt |
|
389 RUN_UTILS COPYFILE z:\tswi\tsis\data\Root5CA\dsa_len1\testpreinstalled_install_dsa_l1.sis e:\testpreinstalled_install_dsa_l1.sis |
|
390 |
|
391 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tuiscriptadaptors\scripts\testpreinstalled.ini u_preinstalled_install |
|
392 |
|
393 RUN_UTILS MAKEREADWRITE c:\tswi\preinstalled\preinstalledpatch.txt |
|
394 RUN_UTILS DELETEFILE c:\tswi\preinstalled\preinstalledpatch.txt |
|
395 |
|
396 // End of file |
|
397 |
|
398 // Ensure that SWIS shuts down after the above tests to make sure heap checks run |
|
399 RUN_TEST_STEP 5 tuiscriptadaptors SwisNotRunning |