1 # |
1 # |
2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 # All rights reserved. |
3 # All rights reserved. |
4 # This component and the accompanying materials are made available |
4 # This component and the accompanying materials are made available |
5 # under the terms of the License "Eclipse Public License v1.0" |
5 # under the terms of the License "Eclipse Public License v1.0" |
6 # which accompanies this distribution, and is available |
6 # which accompanies this distribution, and is available |
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
137 [sec/swi/scrtool/0022] |
137 [sec/swi/scrtool/0022] |
138 option = -c %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\unicodescr.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_unicode.xml |
138 option = -c %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\unicodescr.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_unicode.xml |
139 checkdbexists = %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\unicodescr.db |
139 checkdbexists = %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\unicodescr.db |
140 result=ENone |
140 result=ENone |
141 |
141 |
142 # preprovision application xml file does not have an attribute specified for ComponentProperty. |
142 # preprovision application xml file does not have an attribute specified. |
143 [sec/swi/scrtool/0023] |
143 [sec/swi/scrtool/0023] |
144 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_attribute_missing.xml |
144 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_attribute_missing.xml |
145 result=EParseError |
145 result=EParseError |
146 |
146 |
147 # preprovision for handling conditions. |
147 # preprovision for handling conditions. |
148 [sec/swi/scrtool/0024] |
148 [sec/swi/scrtool/0024] |
149 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_coverage.xml |
149 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_coverage.xml |
150 result=ENone |
150 result=ENone |
151 |
151 |
152 # Usage of -f and -p together: positive test |
152 # Usage of -f and -p together: positive test |
153 [sec/swi/scrtool/0025] |
153 [sec/swi/scrtool/0025] |
154 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_symbian.xml |
154 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_symbian.xml |
157 # Usage of -f and -p together: negative test - use nonexisting pre-provision XML |
157 # Usage of -f and -p together: negative test - use nonexisting pre-provision XML |
158 [sec/swi/scrtool/0026] |
158 [sec/swi/scrtool/0026] |
159 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_doesnotexist.xml |
159 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_doesnotexist.xml |
160 result=EFileNotPresent |
160 result=EFileNotPresent |
161 |
161 |
162 # Usage of -f and -p together: negative test - use nonexisting update_db XML |
162 # Usage of -f and -p together: negative test - use nonexisting update_db XML XML |
163 [sec/swi/scrtool/0027] |
163 [sec/swi/scrtool/0027] |
164 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_nonexisting.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_symbian.xml |
164 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_nonexisting.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_symbian.xml |
165 result=EFileNotPresent |
165 result=EFileNotPresent |
166 |
|
167 # Usage of -f and -p together: preprovision xml having registration information |
|
168 [sec/swi/scrtool/0028] |
|
169 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_appreginfo.xml |
|
170 result=ENone |
|
171 |
|
172 # Usage of -f and -p together: preprovision xml having null app uid |
|
173 [sec/swi/scrtool/0029] |
|
174 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_nullappuid.xml |
|
175 result=ESqlCorrupt |
|
176 |
|
177 # Usage of -f and -p together: preprovision xml with attribute missing for LocalizableInfo |
|
178 [sec/swi/scrtool/0030] |
|
179 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_appregattribmissing.xml |
|
180 result=EParseError |
|
181 |
|
182 # Usage of -f and -p together: preprovision xml with no application attributes |
|
183 [sec/swi/scrtool/0031] |
|
184 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_noappattrib.xml |
|
185 result=EParseError |
|
186 |
|
187 # Usage of -f and -p together: preprovision xml having null app file field |
|
188 [sec/swi/scrtool/0032] |
|
189 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_nullappfile.xml |
|
190 result=ESqlCorrupt |
|
191 |
|
192 # Usage of -f and -p together: preprovision xml having no caption and icon info |
|
193 [sec/swi/scrtool/0033] |
|
194 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_nocaptioniconinfo.xml |
|
195 result=ENone |
|
196 |
|
197 # Negative case Usage of preprovision xml having both Strvalue and Intvalue in AppProperty Table |
|
198 [sec/swi/scrtool/0034] |
|
199 option = -c create.db -f %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\update_db_test.xml -p %EPOCROOT%epoc32\winscw\c\tswi\tscrtool\data\preprovision_invalid_appproperty.xml |
|
200 result=EParseError |
|