|
1 // |
|
2 // Copyright (c) 2010 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 |
|
17 LOAD_SUITE tdaemon |
|
18 LOAD_SUITE tuiscriptadaptors |
|
19 //! @file |
|
20 //! @SYMTestCaseID API-SEC-TDAEMON-0001 |
|
21 //! @SYMTestStatus 3. Released |
|
22 |
|
23 START_TESTCASE API-SEC-TDAEMON-0001 |
|
24 |
|
25 RUN_TEST_STEP 100 tdaemon DriveWatcherStep z:\tswi\tdaemon\scripts\tdaemon.ini DriveWatcher |
|
26 RUN_TEST_STEP 100 tdaemon DaemonStep z:\tswi\tdaemon\scripts\tdaemon.ini Daemon |
|
27 |
|
28 END_TESTCASE API-SEC-TDAEMON-0001 |
|
29 |
|
30 |
|
31 //! @SYMTestCaseID API-SEC-CR_405-5166-0001 |
|
32 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
33 //! @SYMDEF CR_405-5166 |
|
34 //! @SYMTestActions Install sis file(files distributed across C drive and emmc i.e 'X' Drive) and Format EMMC. |
|
35 //! @SYMTestExpectedResults Registry entries for the package gets cleaned |
|
36 |
|
37 START_TESTCASE API-SEC-CR_405-5166-0001 |
|
38 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_emmc |
|
39 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
40 DELAY 2000 |
|
41 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_after_emmc_format |
|
42 END_TESTCASE API-SEC-CR_405-5166-0001 |
|
43 |
|
44 |
|
45 //! @SYMTestCaseID API-SEC-CR_405-5166-0002 |
|
46 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
47 //! @SYMDEF CR_405-5166 |
|
48 //! @SYMTestActions Install sis file SA on c drive and then upgrade it with SP(files distributed across C drive and emmc i.e 'X' Drive) and Format EMMC. |
|
49 //! @SYMTestExpectedResults Registry entries for the SP package gets cleaned |
|
50 |
|
51 START_TESTCASE API-SEC-CR_405-5166-0002 |
|
52 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_c |
|
53 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSP_on_c_and_emmc |
|
54 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
55 DELAY 2000 |
|
56 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SP_after_emmc_format |
|
57 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
58 END_TESTCASE API-SEC-CR_405-5166-0002 |
|
59 |
|
60 |
|
61 //! @SYMTestCaseID API-SEC-CR_405-5166-0003 |
|
62 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
63 //! @SYMDEF CR_405-5166 |
|
64 //! @SYMTestActions Install sis file SA on c drive and then upgrade it with PU on emmc and Format EMMC. |
|
65 //! @SYMTestExpectedResults Registry entries for the complete package gets cleaned |
|
66 |
|
67 START_TESTCASE API-SEC-CR_405-5166-0003 |
|
68 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_c |
|
69 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallPU_on_emmc |
|
70 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
71 DELAY 2000 |
|
72 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_after_emmc_format |
|
73 RUN_TEST_STEP_RESULT -1 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
74 END_TESTCASE API-SEC-CR_405-5166-0003 |
|
75 |
|
76 //! @SYMTestCaseID API-SEC-CR_405-5166-0004 |
|
77 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
78 //! @SYMDEF CR_405-5166 |
|
79 //! @SYMTestActions Install sis file SA on c drive and then upgrade it with two SP's both on emmc and format emmc. |
|
80 //! @SYMTestExpectedResults Registry entries for bothe the sp's gets cleaned |
|
81 |
|
82 START_TESTCASE API-SEC-CR_405-5166-0004 |
|
83 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_c |
|
84 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSP_on_emmc |
|
85 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSP_on_c_and_emmc |
|
86 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
87 DELAY 2000 |
|
88 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_Two_SP_after_emmc_format |
|
89 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
90 END_TESTCASE API-SEC-CR_405-5166-0004 |
|
91 |
|
92 |
|
93 //! @SYMTestCaseID API-SEC-CR_405-5166-0005 |
|
94 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
95 //! @SYMDEF CR_405-5166 |
|
96 //! @SYMTestActions Unmount and mount emmc |
|
97 //! @SYMTestExpectedResults No change in registry entries. |
|
98 |
|
99 START_TESTCASE API-SEC-CR_405-5166-0005 |
|
100 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
101 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
102 END_TESTCASE API-SEC-CR_405-5166-0005 |
|
103 |
|
104 |
|
105 RUN_UTILS DeleteFile c:\private\102020DCA\firstbootmarkerfileforx |
|
106 RUN_UTILS DeleteFile x:\sys\install\formatmarker |
|
107 |
|
108 |
|
109 //! @SYMTestCaseID API-SEC-CR_405-5166-0006 |
|
110 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
111 //! @SYMDEF CR_405-5166 |
|
112 //! @SYMTestActions After first boot of the device , marker files gets created on system drive(one for each emmc) and emmc |
|
113 //! @SYMTestExpectedResults Marker files gets created on system drive(one for each emmc) and emmc successfuly |
|
114 |
|
115 START_TESTCASE API-SEC-CR_405-5166-0006 |
|
116 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_marker_files |
|
117 END_TESTCASE API-SEC-CR_405-5166-0006 |
|
118 |
|
119 |
|
120 //! @SYMTestCaseID API-SEC-CR_405-5166-0007 |
|
121 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
122 //! @SYMDEF CR_405-5166 |
|
123 //! @SYMTestActions Install sis file SA on c drive and t drive and format emmc. |
|
124 //! @SYMTestExpectedResults No impact on the package |
|
125 |
|
126 START_TESTCASE API-SEC-CR_405-5166-0007 |
|
127 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_c_and_T |
|
128 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
129 DELAY 2000 |
|
130 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_on_C_and_T_after_emmc_format |
|
131 RUN_TEST_STEP 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
132 END_TESTCASE API-SEC-CR_405-5166-0007 |
|
133 |
|
134 //! @SYMTestCaseID API-SEC-CR_405-5166-0008 |
|
135 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
136 //! @SYMDEF CR_405-5166 |
|
137 //! @SYMTestActions Install sis file SA on c , x and t drive then unmount T drive, format emmc and again mount x drive. |
|
138 //! @SYMTestExpectedResults Remove complete SA |
|
139 |
|
140 START_TESTCASE API-SEC-CR_405-5166-0008 |
|
141 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_distributed_drives |
|
142 RUN_TEST_STEP 100 tuiscriptadaptors MmcUnMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini T |
|
143 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
144 DELAY 2000 |
|
145 RUN_TEST_STEP 100 tuiscriptadaptors MmcMountStep z:\tswi\tuiscriptadaptors\scripts\drives.ini T |
|
146 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_on_C_E_and_T_after_emmc_format |
|
147 RUN_TEST_STEP_RESULT -1 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
148 END_TESTCASE API-SEC-CR_405-5166-0008 |
|
149 |
|
150 //! @SYMTestCaseID API-SEC-CR_405-5166-0009 |
|
151 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
152 //! @SYMDEF CR_405-5166 |
|
153 //! @SYMTestActions Install sis file SA on c , x and t drive then format emmc drive. |
|
154 //! @SYMTestExpectedResults Remove complete SA |
|
155 |
|
156 START_TESTCASE API-SEC-CR_405-5166-0009 |
|
157 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_distributed_drives |
|
158 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
159 DELAY 2000 |
|
160 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_on_C_E_and_T_after_emmc_format |
|
161 RUN_TEST_STEP_RESULT -1 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
162 END_TESTCASE API-SEC-CR_405-5166-0009 |
|
163 |
|
164 //! @SYMTestCaseID API-SEC-CR_405-5166-0010 |
|
165 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
166 //! @SYMDEF CR_405-5166 |
|
167 //! @SYMTestActions Install sis file SA on c , x and format T drive. |
|
168 //! @SYMTestExpectedResults Remove complete SA |
|
169 |
|
170 START_TESTCASE API-SEC-CR_405-5166-0010 |
|
171 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_emmc |
|
172 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini T |
|
173 DELAY 2000 |
|
174 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_after_T_dive_format |
|
175 RUN_TEST_STEP tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
176 END_TESTCASE API-SEC-CR_405-5166-0010 |
|
177 |
|
178 //! @SYMTestCaseID API-SEC-CR_405-5166-0011 |
|
179 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
180 //! @SYMDEF CR_405-5166 |
|
181 //! @SYMTestActions Install sis file SA(NR) on c , x and t drive then format emmc drive. |
|
182 //! @SYMTestExpectedResults Remove complete SA |
|
183 |
|
184 START_TESTCASE API-SEC-CR_405-5166-0011 |
|
185 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSANR_on_distributed_drives |
|
186 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
187 DELAY 2000 |
|
188 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_on_C_E_and_T_after_emmc_format |
|
189 RUN_TEST_STEP_RESULT -1 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
190 END_TESTCASE API-SEC-CR_405-5166-0011 |
|
191 |
|
192 //! @SYMTestCaseID API-SEC-CR_405-5166-0012 |
|
193 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
194 //! @SYMDEF CR_405-5166 |
|
195 //! @SYMTestActions Install sis file SA(NR) on c drive and t drive and format emmc. |
|
196 //! @SYMTestExpectedResults No impact on the package |
|
197 |
|
198 START_TESTCASE API-SEC-CR_405-5166-0012 |
|
199 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSANR_on_c_and_T |
|
200 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
201 DELAY 2000 |
|
202 RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SA_on_C_and_T_after_emmc_format |
|
203 RUN_TEST_STEP_RESULT -5 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
204 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini T |
|
205 RUN_TEST_STEP_RESULT -1 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
206 END_TESTCASE API-SEC-CR_405-5166-0012 |
|
207 |
|
208 //! @SYMTestCaseID API-SEC-CR_405-5166-0013 |
|
209 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
210 //! @SYMDEF CR_405-5166 |
|
211 //! @SYMTestActions Install a sis file SP(eclipsing) on c drive and x drive and format emmc. |
|
212 //! @SYMTestExpectedResults SP should be removed amd we will revert back to stubs |
|
213 |
|
214 START_TESTCASE API-SEC-CR_405-5166-0013 |
|
215 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallEclipsingSA_on_c_and_emmc |
|
216 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
217 DELAY 2000 |
|
218 RUN_TEST_STEP_RESULT -5 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Eclipsing |
|
219 END_TESTCASE API-SEC-CR_405-5166-0013 |
|
220 |
|
221 //! @SYMTestCaseID API-SEC-CR_405-5166-0014 |
|
222 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
223 //! @SYMDEF CR_405-5166 |
|
224 //! @SYMTestActions Install a sis file SP(eclipsing) on c drive and x drive and format emmc. |
|
225 //! @SYMTestExpectedResults SP should be removed amd we will revert back to stubs |
|
226 |
|
227 START_TESTCASE API-SEC-CR_405-5166-0014 |
|
228 RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallEclipsingPU_on_c_and_emmc |
|
229 RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
230 DELAY 2000 |
|
231 RUN_TEST_STEP_RESULT -5 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Eclipsing |
|
232 END_TESTCASE API-SEC-CR_405-5166-0014 |
|
233 |
|
234 //! @SYMTestCaseID API-SEC-CR_405-5166-0008 |
|
235 //! @SYMTestCaseDesc CR_405-5166: SIS Registry: Cleans the registry entries for the packages installed on emmc i.e 'X' Drive |
|
236 //! @SYMDEF CR_405-5166 |
|
237 //! @SYMTestActions Install sis file SA on emmc drive and then upgrade it with SP both on c drive and format emmc. |
|
238 //! @SYMTestExpectedResults Registry entries for the complete package gets cleaned |
|
239 |
|
240 //START_TESTCASE API-SEC-CR_405-5166-0008 |
|
241 //RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSA_on_emmc |
|
242 //RUN_TEST_STEP 100 tuiscriptadaptors InstallStep z:\tswi\tdaemon\scripts\tdaemon.ini InstallSP_on_c |
|
243 //RUN_TEST_STEP 100 tuiscriptadaptors MmcFormatStep z:\tswi\tuiscriptadaptors\scripts\drives.ini X |
|
244 //RUN_TEST_STEP 100 tuiscriptadaptors MmcCheckFilesStep z:\tswi\tdaemon\scripts\tdaemon.ini Check_files_exists_for_SASP_after_emmc_format |
|
245 //RUN_TEST_STEP_RESULT -1 100 tuiscriptadaptors UninstallStep z:\tswi\tdaemon\scripts\tdaemon.ini u_Install |
|
246 //END_TESTCASE API-SEC-CR_405-5166-0008 |
|
247 |