author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 07 Jan 2010 13:38:45 +0200 | |
changeset 6 | 0173bcd7697c |
parent 2 | 4122176ea935 |
permissions | -rw-r--r-- |
0 | 1 |
// |
2 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
// All rights reserved. |
|
4 |
// This component and the accompanying materials are made available |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
// under the terms of "Eclipse Public License v1.0" |
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 |
// |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
// Description: |
0 | 15 |
// |
16 |
//! @file |
|
17 |
//! @SYMTestSuiteName pbase-f32-sfsrv-publicapi-any |
|
18 |
//! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
19 |
//! @SYMScriptAuthor Dmitri Trofimov, Sergei Tveritin |
|
20 |
//! @SYMCreationDate 11/12/2006 |
|
21 |
//! @SYMScriptDescription The test script contains API tests for the following functions of T_ParsePtr class: |
|
22 |
//! T_ParsePtr(); |
|
23 |
//! TInt PopDir(); |
|
24 |
//! TInt AddDir(const TDesC &aName); |
|
25 |
//! const TDesC &FullName() const; |
|
26 |
//! TPtrC Drive() const; |
|
27 |
//! TPtrC Path() const; |
|
28 |
//! TPtrC DriveAndPath() const; |
|
29 |
//! TPtrC Name() const; |
|
30 |
//! TPtrC Ext() const; |
|
31 |
//! TPtrC NameAndExt() const; |
|
32 |
//! TBool DrivePresent() const; |
|
33 |
//! TBool PathPresent() const; |
|
34 |
//! TBool NamePresent() const; |
|
35 |
//! TBool ExtPresent() const; |
|
36 |
//! TBool NameOrExtPresent() const; |
|
37 |
//! TBool IsRoot() const; |
|
38 |
//! TBool IsWild() const; |
|
39 |
//! TBool IsKMatchOne() const; |
|
40 |
//! TBool IsKMatchAny() const; |
|
41 |
//! TBool IsNameWild() const; |
|
42 |
//! TBool IsExtWild() const; |
|
43 |
||
44 |
||
45 |
LOAD_SUITE T_SfSrv |
|
46 |
//DELAY 5000 |
|
47 |
||
48 |
||
49 |
||
50 |
||
51 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0001 |
|
52 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0001 |
|
53 |
//! @SYMAPI T_ParsePtr |
|
54 |
//! @SYMTestCaseDesc FullName() test. |
|
55 |
//! Uses API elements: FullName() |
|
56 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
57 |
//! 2. Call FullName(). Expecting 'c:\dir1\dir2\filename.ext' |
|
58 |
//! 3. Delete TParsePtr object. |
|
59 |
//! |
|
60 |
//! @SYMTestStatus Implemented |
|
61 |
//! @SYMTestPriority Critical |
|
62 |
//! @SYMTestExpectedResults The value returned by FullName() is the same as expected. |
|
63 |
//! @SYMTestType CIT |
|
64 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
65 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
66 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0001command2Set |
|
67 |
COMMAND TParsePtr1 FullName PBASE-F32-ParseBase-PublicApi-0001command3FullName |
|
68 |
COMMAND TParsePtr1 ~ |
|
69 |
END_TEST_BLOCK |
|
70 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0001 |
|
71 |
||
72 |
||
73 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0002 |
|
74 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0002 |
|
75 |
//! @SYMAPI T_ParsePtr |
|
76 |
//! @SYMTestCaseDesc Drive() test where drive is present. |
|
77 |
//! Uses API elements: Drive() |
|
78 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
79 |
//! 2. Call Drive(). Expecting 'c:' on return. |
|
80 |
//! 3. Delete TParsePtr object. |
|
81 |
//! |
|
82 |
//! @SYMTestStatus Implemented |
|
83 |
//! @SYMTestPriority Critical |
|
84 |
//! @SYMTestExpectedResults Value returned by Drive() is the same as expected. |
|
85 |
//! @SYMTestType CIT |
|
86 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
87 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
88 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0002command2Set |
|
89 |
COMMAND TParsePtr1 Drive PBASE-F32-ParseBase-PublicApi-0002command3Drive |
|
90 |
COMMAND TParsePtr1 ~ |
|
91 |
END_TEST_BLOCK |
|
92 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0002 |
|
93 |
||
94 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0003 |
|
95 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0003 |
|
96 |
//! @SYMAPI T_ParsePtr |
|
97 |
//! @SYMTestCaseDesc Drive() test where drive is not present. |
|
98 |
//! Uses API elements: Drive() |
|
99 |
//! @SYMTestActions 1. Create TParsePtr object passing 'filename.ext'. |
|
100 |
//! 2. Call Drive(). Expecting empty string. |
|
101 |
//! 3. Delete TParsePtr object. |
|
102 |
//! |
|
103 |
//! @SYMTestStatus Implemented |
|
104 |
//! @SYMTestPriority Critical |
|
105 |
//! @SYMTestExpectedResults Value returned by Drive() is the same as expected. |
|
106 |
//! @SYMTestType CIT |
|
107 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
108 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
109 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0003command2Set |
|
110 |
COMMAND TParsePtr1 Drive PBASE-F32-ParseBase-PublicApi-0003command3Drive |
|
111 |
COMMAND TParsePtr1 ~ |
|
112 |
END_TEST_BLOCK |
|
113 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0003 |
|
114 |
||
115 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0005 |
|
116 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0005 |
|
117 |
//! @SYMAPI T_ParsePtr |
|
118 |
//! @SYMTestCaseDesc Path() test where path is present. |
|
119 |
//! Uses API elements: {USE_SET} Path() |
|
120 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
121 |
//! 2. Call Path(). Expecting '\dir1\dir2\' on return. |
|
122 |
//! 3. Delete TParsePtr object. |
|
123 |
//! |
|
124 |
//! @SYMTestStatus Implemented |
|
125 |
//! @SYMTestPriority Critical |
|
126 |
//! @SYMTestExpectedResults Value returned by Path() is the same as expected. |
|
127 |
//! @SYMTestType CIT |
|
128 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
129 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
130 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0005command2Set |
|
131 |
COMMAND TParsePtr1 Path PBASE-F32-ParseBase-PublicApi-0005command3Path |
|
132 |
COMMAND TParsePtr1 ~ |
|
133 |
END_TEST_BLOCK |
|
134 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0005 |
|
135 |
||
136 |
||
137 |
||
138 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0006 |
|
139 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0006 |
|
140 |
//! @SYMAPI T_ParsePtr |
|
141 |
//! @SYMTestCaseDesc Path() test where path is not present. |
|
142 |
//! Uses API elements: Path() |
|
143 |
//! @SYMTestActions 1. Create TParsePtr object passing 'filename.ext'. |
|
144 |
//! 2. Call Path(). Expecting ''(empty string) on return. |
|
145 |
//! 3. Delete TParsePtr object. |
|
146 |
//! |
|
147 |
//! @SYMTestStatus Implemented |
|
148 |
//! @SYMTestPriority Critical |
|
149 |
//! @SYMTestExpectedResults Value returned by Path() is the same as expected. |
|
150 |
//! @SYMTestType CIT |
|
151 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
152 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
153 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0006command2Set |
|
154 |
COMMAND TParsePtr1 Path PBASE-F32-ParseBase-PublicApi-0006command3Path |
|
155 |
COMMAND TParsePtr1 ~ |
|
156 |
END_TEST_BLOCK |
|
157 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0006 |
|
158 |
||
159 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0007 |
|
160 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0007 |
|
161 |
//! @SYMAPI T_ParsePtr |
|
162 |
//! @SYMTestCaseDesc DriveAndPath() test where passing full path with drive and filename. |
|
163 |
//! Uses API elements: DriveAndPath() |
|
164 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
165 |
//! 2. Call DriveAndPath(). Expecting 'c:\dir1\dir2\' on return. |
|
166 |
//! 3. Delete TParsePtr object. |
|
167 |
//! |
|
168 |
//! @SYMTestStatus Implemented |
|
169 |
//! @SYMTestPriority Critical |
|
170 |
//! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected. |
|
171 |
//! @SYMTestType CIT |
|
172 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
173 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
174 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0007command2Set |
|
175 |
COMMAND TParsePtr1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0007command3DriveAndPath |
|
176 |
COMMAND TParsePtr1 ~ |
|
177 |
END_TEST_BLOCK |
|
178 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0007 |
|
179 |
||
180 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0008 |
|
181 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0008 |
|
182 |
//! @SYMAPI T_ParsePtr |
|
183 |
//! @SYMTestCaseDesc DriveAndPath() test with passing only filename. |
|
184 |
//! Uses API elements: DriveAndPath() |
|
185 |
//! @SYMTestActions 1. Create TParsePtr object passing 'filename.ext'. |
|
186 |
//! 2. Call DriveAndPath(). Expecting empty string. |
|
187 |
//! 3. Delete TParsePtr object. |
|
188 |
//! |
|
189 |
//! @SYMTestStatus Implemented |
|
190 |
//! @SYMTestPriority Critical |
|
191 |
//! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected. |
|
192 |
//! @SYMTestType CIT |
|
193 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
194 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
195 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0008command2Set |
|
196 |
COMMAND TParsePtr1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0008command3DriveAndPath |
|
197 |
COMMAND TParsePtr1 ~ |
|
198 |
END_TEST_BLOCK |
|
199 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0008 |
|
200 |
||
201 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0009 |
|
202 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0009 |
|
203 |
//! @SYMAPI T_ParsePtr |
|
204 |
//! @SYMTestCaseDesc DriveAndPath() test with passing path and filename, but without drive letter. |
|
205 |
//! Uses API elements: DriveAndPath() |
|
206 |
//! @SYMTestActions 1. Create TParsePtr object passing '\dir1\filename.ext'. |
|
207 |
//! 2. Call DriveAndPath(). Expecting '\dir1\' on return. |
|
208 |
//! 3. Delete TParsePtr object. |
|
209 |
//! |
|
210 |
//! @SYMTestStatus Implemented |
|
211 |
//! @SYMTestPriority Critical |
|
212 |
//! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected. |
|
213 |
//! @SYMTestType CIT |
|
214 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
215 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
216 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0009command2Set |
|
217 |
COMMAND TParsePtr1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0009command3DriveAndPath |
|
218 |
COMMAND TParsePtr1 ~ |
|
219 |
END_TEST_BLOCK |
|
220 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0009 |
|
221 |
||
222 |
||
223 |
||
224 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0010 |
|
225 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0010 |
|
226 |
//! @SYMAPI T_ParsePtr |
|
227 |
//! @SYMTestCaseDesc Name() test passing complete path with filename and drive letter. |
|
228 |
//! Uses API elements: Name() |
|
229 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
230 |
//! 2. Call Name(). Expecting 'filename' on return. |
|
231 |
//! 3. Delete TParsePtr object. |
|
232 |
//! |
|
233 |
//! @SYMTestStatus Implemented |
|
234 |
//! @SYMTestPriority Critical |
|
235 |
//! @SYMTestExpectedResults Value returned by Name() is the same as expected. |
|
236 |
//! @SYMTestType CIT |
|
237 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
238 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
239 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0010command2Set |
|
240 |
COMMAND TParsePtr1 Name PBASE-F32-ParseBase-PublicApi-0010command3Name |
|
241 |
COMMAND TParsePtr1 ~ |
|
242 |
END_TEST_BLOCK |
|
243 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0010 |
|
244 |
||
245 |
||
246 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0011 |
|
247 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0011 |
|
248 |
//! @SYMAPI T_ParsePtr |
|
249 |
//! @SYMTestCaseDesc Name() test on path without filename. |
|
250 |
//! Uses API elements: Name() |
|
251 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\'. |
|
252 |
//! 2. Call Name(). Expecting ''(empty string) on return. |
|
253 |
//! 3. Delete TParsePtr object. |
|
254 |
//! |
|
255 |
//! @SYMTestStatus Implemented |
|
256 |
//! @SYMTestPriority Critical |
|
257 |
//! @SYMTestExpectedResults Value returned by Name() is the same as expected. |
|
258 |
//! @SYMTestType CIT |
|
259 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
260 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
261 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0011command2Set |
|
262 |
COMMAND TParsePtr1 Name PBASE-F32-ParseBase-PublicApi-0011command3Name |
|
263 |
COMMAND TParsePtr1 ~ |
|
264 |
END_TEST_BLOCK |
|
265 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0011 |
|
266 |
||
267 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0012 |
|
268 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0012 |
|
269 |
//! @SYMAPI T_ParsePtr |
|
270 |
//! @SYMTestCaseDesc Ext() test passing complete path with filename with extension and drive letter. |
|
271 |
//! Uses API elements: Ext() |
|
272 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
273 |
//! 2. Call Ext(). Expecting '.ext' on return. |
|
274 |
//! 3. Delete TParsePtr object. |
|
275 |
//! |
|
276 |
//! @SYMTestStatus Implemented |
|
277 |
//! @SYMTestPriority Critical |
|
278 |
//! @SYMTestExpectedResults Value returned by Ext() is the same as expected. |
|
279 |
//! @SYMTestType CIT |
|
280 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
281 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
282 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0012command2Set |
|
283 |
COMMAND TParsePtr1 Ext PBASE-F32-ParseBase-PublicApi-0012command3Ext |
|
284 |
COMMAND TParsePtr1 ~ |
|
285 |
END_TEST_BLOCK |
|
286 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0012 |
|
287 |
||
288 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0013 |
|
289 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0013 |
|
290 |
//! @SYMAPI T_ParsePtr |
|
291 |
//! @SYMTestCaseDesc Ext() test passing complete path with filename without extension. |
|
292 |
//! Uses API elements: Ext() |
|
293 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename'. |
|
294 |
//! 2. Call Ext(). Expecting '' on return. |
|
295 |
//! 3. Delete TParsePtr object. |
|
296 |
//! |
|
297 |
//! @SYMTestStatus Implemented |
|
298 |
//! @SYMTestPriority Critical |
|
299 |
//! @SYMTestExpectedResults Value returned by Ext() is the same as expected. |
|
300 |
//! @SYMTestType CIT |
|
301 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
302 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
303 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0013command2Set |
|
304 |
COMMAND TParsePtr1 Ext PBASE-F32-ParseBase-PublicApi-0013command3Ext |
|
305 |
COMMAND TParsePtr1 ~ |
|
306 |
END_TEST_BLOCK |
|
307 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0013 |
|
308 |
||
309 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0014 |
|
310 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0014 |
|
311 |
//! @SYMAPI T_ParsePtr |
|
312 |
//! @SYMTestCaseDesc Ext() test passing complete path without filename and extension. |
|
313 |
//! Uses API elements: Ext() |
|
314 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\'. |
|
315 |
//! 2. Call Ext(). Expecting '' on return. |
|
316 |
//! 3. Delete TParsePtr object. |
|
317 |
//! |
|
318 |
//! @SYMTestStatus Implemented |
|
319 |
//! @SYMTestPriority Critical |
|
320 |
//! @SYMTestExpectedResults Value returned by Ext() is the same as expected. |
|
321 |
//! @SYMTestType CIT |
|
322 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
323 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
324 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0014command2Set |
|
325 |
COMMAND TParsePtr1 Ext PBASE-F32-ParseBase-PublicApi-0014command3Ext |
|
326 |
COMMAND TParsePtr1 ~ |
|
327 |
END_TEST_BLOCK |
|
328 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0014 |
|
329 |
||
330 |
||
331 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0015 |
|
332 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0015 |
|
333 |
//! @SYMAPI T_ParsePtr |
|
334 |
//! @SYMTestCaseDesc NameAndExt() test where name and extension is present. |
|
335 |
//! Uses API elements: NameAndExt(). |
|
336 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
337 |
//! 2. Call NameAndExt(). Expecting 'filename.ext' on return. |
|
338 |
//! 3. Delete TParsePtr object. |
|
339 |
//! |
|
340 |
//! @SYMTestStatus Implemented |
|
341 |
//! @SYMTestPriority Critical |
|
342 |
//! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected. |
|
343 |
//! @SYMTestType CIT |
|
344 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
345 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
346 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0015command2Set |
|
347 |
COMMAND TParsePtr1 NameAndExt PBASE-F32-ParseBase-PublicApi-0015command3NameAndExt |
|
348 |
COMMAND TParsePtr1 ~ |
|
349 |
END_TEST_BLOCK |
|
350 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0015 |
|
351 |
||
352 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0016 |
|
353 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0016 |
|
354 |
//! @SYMAPI T_ParsePtr |
|
355 |
//! @SYMTestCaseDesc NameAndExt() test where name and extension is not present. |
|
356 |
//! Uses API elements: NameAndExt(). |
|
357 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\'. |
|
358 |
//! 2. Call NameAndExt(). Expecting ''(empty string) on return. |
|
359 |
//! 3. Delete TParsePtr object. |
|
360 |
//! |
|
361 |
//! @SYMTestStatus Implemented |
|
362 |
//! @SYMTestPriority Critical |
|
363 |
//! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected. |
|
364 |
//! @SYMTestType CIT |
|
365 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
366 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
367 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0016command2Set |
|
368 |
COMMAND TParsePtr1 NameAndExt PBASE-F32-ParseBase-PublicApi-0016command3NameAndExt |
|
369 |
COMMAND TParsePtr1 ~ |
|
370 |
END_TEST_BLOCK |
|
371 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0016 |
|
372 |
||
373 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0017 |
|
374 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0017 |
|
375 |
//! @SYMAPI T_ParsePtr |
|
376 |
//! @SYMTestCaseDesc NameAndExt() test with full path and filename, but without extension |
|
377 |
//! Uses API elements: NameAndExt(). |
|
378 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename'. |
|
379 |
//! 2. Call NameAndExt(). Expecting 'filename' on return. |
|
380 |
//! 3. Delete TParsePtr object. |
|
381 |
//! |
|
382 |
//! @SYMTestStatus Implemented |
|
383 |
//! @SYMTestPriority Critical |
|
384 |
//! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected. |
|
385 |
//! @SYMTestType CIT |
|
386 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
387 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
388 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0017command2Set |
|
389 |
COMMAND TParsePtr1 NameAndExt PBASE-F32-ParseBase-PublicApi-0017command3NameAndExt |
|
390 |
COMMAND TParsePtr1 ~ |
|
391 |
END_TEST_BLOCK |
|
392 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0017 |
|
393 |
||
394 |
||
395 |
||
396 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0018 |
|
397 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0018 |
|
398 |
//! @SYMAPI T_ParsePtr |
|
399 |
//! @SYMTestCaseDesc DrivePresent() test where drive is present. |
|
400 |
//! Uses API elements: DrivePresent(). |
|
401 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
402 |
//! 2. Call DrivePresent(). Expecting TRUE on return. |
|
403 |
//! 3. Delete TParsePtr object. |
|
404 |
//! |
|
405 |
//! @SYMTestStatus Implemented |
|
406 |
//! @SYMTestPriority Critical |
|
407 |
//! @SYMTestExpectedResults Value returned by DrivePresent() is the same as expected. |
|
408 |
//! @SYMTestType CIT |
|
409 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
410 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
411 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0018command2Set |
|
412 |
COMMAND TParsePtr1 DrivePresent PBASE-F32-ParseBase-PublicApi-0018command3DrivePresent |
|
413 |
COMMAND TParsePtr1 ~ |
|
414 |
END_TEST_BLOCK |
|
415 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0018 |
|
416 |
||
417 |
||
418 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0019 |
|
419 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0019 |
|
420 |
//! @SYMAPI T_ParsePtr |
|
421 |
//! @SYMTestCaseDesc DrivePresent() test, where drive is not present. |
|
422 |
//! Uses API elements: DrivePresent(). |
|
423 |
//! @SYMTestActions 1. Create TParsePtr object passing '\dir1\dir2\filename.ext'. |
|
424 |
//! 2. Call DrivePresent(). Expecting FALSE on return. |
|
425 |
//! 3. Delete TParsePtr object. |
|
426 |
//! |
|
427 |
//! @SYMTestStatus Implemented |
|
428 |
//! @SYMTestPriority Critical |
|
429 |
//! @SYMTestExpectedResults Value returned by DrivePresent() is the same as expected. |
|
430 |
//! @SYMTestType CIT |
|
431 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
432 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
433 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0019command2Set |
|
434 |
COMMAND TParsePtr1 DrivePresent PBASE-F32-ParseBase-PublicApi-0019command3DrivePresent |
|
435 |
COMMAND TParsePtr1 ~ |
|
436 |
END_TEST_BLOCK |
|
437 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0019 |
|
438 |
||
439 |
||
440 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0020 |
|
441 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0020 |
|
442 |
//! @SYMAPI T_ParsePtr |
|
443 |
//! @SYMTestCaseDesc PathPresent() test, where path is present. |
|
444 |
//! Uses API elements: PathPresent(). |
|
445 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
446 |
//! 2. Call PathPresent(). Expecting TRUE on return . |
|
447 |
//! 3. Delete TParsePtr object. |
|
448 |
//! |
|
449 |
//! @SYMTestStatus Implemented |
|
450 |
//! @SYMTestPriority Critical |
|
451 |
//! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected. |
|
452 |
//! @SYMTestType CIT |
|
453 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
454 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
455 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0020command2Set |
|
456 |
COMMAND TParsePtr1 PathPresent PBASE-F32-ParseBase-PublicApi-0020command3PathPresent |
|
457 |
COMMAND TParsePtr1 ~ |
|
458 |
END_TEST_BLOCK |
|
459 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0020 |
|
460 |
||
461 |
||
462 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0021 |
|
463 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0021 |
|
464 |
//! @SYMAPI T_ParsePtr |
|
465 |
//! @SYMTestCaseDesc PathPresent() test, where path is not present. |
|
466 |
//! Uses API elements: PathPresent(). |
|
467 |
//! @SYMTestActions 1. Create TParsePtr object passing 'filename.ext'. |
|
468 |
//! 2. Call PathPresent(). Expecting FALSE on return. |
|
469 |
//! 3. Delete TParsePtr object. |
|
470 |
//! |
|
471 |
//! @SYMTestStatus Implemented |
|
472 |
//! @SYMTestPriority Critical |
|
473 |
//! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected. |
|
474 |
//! @SYMTestType CIT |
|
475 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
476 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
477 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0021command2Set |
|
478 |
COMMAND TParsePtr1 PathPresent PBASE-F32-ParseBase-PublicApi-0021command2PathPresent |
|
479 |
COMMAND TParsePtr1 ~ |
|
480 |
END_TEST_BLOCK |
|
481 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0021 |
|
482 |
||
483 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0022 |
|
484 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0022 |
|
485 |
//! @SYMAPI T_ParsePtr |
|
486 |
//! @SYMTestCaseDesc PathPresent() test with wildcard as path |
|
487 |
//! Uses API elements: PathPresent(). |
|
488 |
//! @SYMTestActions 1. Create TParsePtr object passing '*\filename.ext'. |
|
489 |
//! 2. Delete TParsePtr object. |
|
490 |
//! |
|
491 |
//! @SYMTestStatus Implemented |
|
492 |
//! @SYMTestPriority Critical |
|
493 |
//! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected. |
|
494 |
//! @SYMTestType CIT |
|
495 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
496 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
497 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0022command2Set |
|
498 |
COMMAND TParsePtr1 ~ |
|
499 |
END_TEST_BLOCK !PanicCode=24 !PanicString="FSCLIENT panic" |
|
500 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0022 |
|
501 |
||
502 |
||
503 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0023 |
|
504 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0023 |
|
505 |
//! @SYMAPI T_ParsePtr |
|
506 |
//! @SYMTestCaseDesc NamePresent() test, where name is present. |
|
507 |
//! Uses API elements: NamePresent(). |
|
508 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext'. |
|
509 |
//! 2. Call NamePresent(). Expecting TRUE on return. |
|
510 |
//! 3. Delete TParsePtr object. |
|
511 |
//! |
|
512 |
//! @SYMTestStatus Implemented |
|
513 |
//! @SYMTestPriority Critical |
|
514 |
//! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected. |
|
515 |
//! @SYMTestType CIT |
|
516 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
517 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
518 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0023command2Set |
|
519 |
COMMAND TParsePtr1 NamePresent PBASE-F32-ParseBase-PublicApi-0023command3NamePresent |
|
520 |
COMMAND TParsePtr1 ~ |
|
521 |
END_TEST_BLOCK |
|
522 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0023 |
|
523 |
||
524 |
||
525 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0024 |
|
526 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0024 |
|
527 |
//! @SYMAPI T_ParsePtr |
|
528 |
//! @SYMTestCaseDesc NamePresent() test, where name is not present. |
|
529 |
//! Uses API elements: NamePresent(). |
|
530 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\' |
|
531 |
//! 2. Call NamePresent(). Expecting FALSE on return. |
|
532 |
//! 3. Delete TParsePtr object. |
|
533 |
//! |
|
534 |
//! @SYMTestStatus Implemented |
|
535 |
//! @SYMTestPriority Critical |
|
536 |
//! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected. |
|
537 |
//! @SYMTestType CIT |
|
538 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
539 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
540 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0024command2Set |
|
541 |
COMMAND TParsePtr1 NamePresent PBASE-F32-ParseBase-PublicApi-0024command2NamePresent |
|
542 |
COMMAND TParsePtr1 ~ |
|
543 |
END_TEST_BLOCK |
|
544 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0024 |
|
545 |
||
546 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0025 |
|
547 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0025 |
|
548 |
//! @SYMAPI T_ParsePtr |
|
549 |
//! @SYMTestCaseDesc NamePresent() test with wildcards in name. |
|
550 |
//! Uses API elements: NamePresent(). |
|
551 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*.ext'. |
|
552 |
//! 2. Call NamePresent(). Expecting TRUE on return. |
|
553 |
//! 3. Delete TParsePtr object. |
|
554 |
//! |
|
555 |
//! @SYMTestStatus Implemented |
|
556 |
//! @SYMTestPriority Critical |
|
557 |
//! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected. |
|
558 |
//! @SYMTestType CIT |
|
559 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
560 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
561 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0025command2Set |
|
562 |
COMMAND TParsePtr1 NamePresent PBASE-F32-ParseBase-PublicApi-0025command3NamePresent |
|
563 |
COMMAND TParsePtr1 ~ |
|
564 |
END_TEST_BLOCK |
|
565 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0025 |
|
566 |
||
567 |
||
568 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0026 |
|
569 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0026 |
|
570 |
//! @SYMAPI T_ParsePtr |
|
571 |
//! @SYMTestCaseDesc ExtPresent() test, where extension is present. |
|
572 |
//! Uses API elements: ExtPresent(). |
|
573 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext' |
|
574 |
//! 2. Call ExtPresent(). Expecting TRUE on return. |
|
575 |
//! 3 Delete TParsePtr object. |
|
576 |
//! |
|
577 |
//! @SYMTestStatus Implemented |
|
578 |
//! @SYMTestPriority Critical |
|
579 |
//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected. |
|
580 |
//! @SYMTestType CIT |
|
581 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
582 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
583 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0026command2Set |
|
584 |
COMMAND TParsePtr1 ExtPresent PBASE-F32-ParseBase-PublicApi-0026command3ExtPresent |
|
585 |
COMMAND TParsePtr1 ~ |
|
586 |
END_TEST_BLOCK |
|
587 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0026 |
|
588 |
||
589 |
||
590 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0027 |
|
591 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0027 |
|
592 |
//! @SYMAPI T_ParsePtr |
|
593 |
//! @SYMTestCaseDesc ExtPresent() test where extension is not present. |
|
594 |
//! Uses API elements: ExtPresent(). |
|
595 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename' |
|
596 |
//! 2. Call ExtPresent(). Expecting FALSE on return. |
|
597 |
//! 3. Delete TParsePtr object. |
|
598 |
//! |
|
599 |
//! @SYMTestStatus Implemented |
|
600 |
//! @SYMTestPriority Critical |
|
601 |
//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected. |
|
602 |
//! @SYMTestType CIT |
|
603 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
604 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
605 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0027command2Set |
|
606 |
COMMAND TParsePtr1 ExtPresent PBASE-F32-ParseBase-PublicApi-0027command2ExtPresent |
|
607 |
COMMAND TParsePtr1 ~ |
|
608 |
END_TEST_BLOCK |
|
609 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0027 |
|
610 |
||
611 |
||
612 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0028 |
|
613 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0028 |
|
614 |
//! @SYMAPI T_ParsePtr |
|
615 |
//! @SYMTestCaseDesc ExtPresent() test with wildcards in name. |
|
616 |
//! Uses API elements: ExtPresent(). |
|
617 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*.ext' |
|
618 |
//! 2. Call ExtPresent(). Expecting FALSE on return. |
|
619 |
//! 3. Delete TParsePtr object. |
|
620 |
//! |
|
621 |
//! @SYMTestStatus Implemented |
|
622 |
//! @SYMTestPriority Critical |
|
623 |
//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected. |
|
624 |
//! @SYMTestType CIT |
|
625 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
626 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
627 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0028command2Set |
|
628 |
COMMAND TParsePtr1 ExtPresent PBASE-F32-ParseBase-PublicApi-0028command3ExtPresent |
|
629 |
COMMAND TParsePtr1 ~ |
|
630 |
END_TEST_BLOCK |
|
631 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0028 |
|
632 |
||
633 |
||
634 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0029 |
|
635 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0029 |
|
636 |
//! @SYMAPI T_ParsePtr |
|
637 |
//! @SYMTestCaseDesc ExtPresent() test with wildcards in extension. |
|
638 |
//! Uses API elements: ExtPresent(). |
|
639 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.*' |
|
640 |
//! 2. Call ExtPresent(). Expecting FALSE on return. |
|
641 |
//! 3. Delete TParsePtr object. |
|
642 |
//! |
|
643 |
//! @SYMTestStatus Implemented |
|
644 |
//! @SYMTestPriority Critical |
|
645 |
//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected. |
|
646 |
//! @SYMTestType CIT |
|
647 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
648 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
649 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0029command2Set |
|
650 |
COMMAND TParsePtr1 ExtPresent PBASE-F32-ParseBase-PublicApi-0029command3ExtPresent |
|
651 |
COMMAND TParsePtr1 ~ |
|
652 |
END_TEST_BLOCK |
|
653 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0029 |
|
654 |
||
655 |
||
656 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0030 |
|
657 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0030 |
|
658 |
//! @SYMAPI T_ParsePtr |
|
659 |
//! @SYMTestCaseDesc NameOrExtPresent() test where name and extension present. |
|
660 |
//! Uses API elements: NameOrExtPresent(). |
|
661 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext' |
|
662 |
//! 2. Call NameOrExtPresent(). Expecting TRUE on return. |
|
663 |
//! 3. Delete TParsePtr object. |
|
664 |
//! |
|
665 |
//! @SYMTestStatus Implemented |
|
666 |
//! @SYMTestPriority Critical |
|
667 |
//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected. |
|
668 |
//! @SYMTestType CIT |
|
669 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
670 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
671 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0030command2Set |
|
672 |
COMMAND TParsePtr1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0030command3NameOrExtPresent |
|
673 |
COMMAND TParsePtr1 ~ |
|
674 |
END_TEST_BLOCK |
|
675 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0030 |
|
676 |
||
677 |
||
678 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0031 |
|
679 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0031 |
|
680 |
//! @SYMAPI T_ParsePtr |
|
681 |
//! @SYMAPI T_ParsePtr |
|
682 |
//! @SYMTestCaseDesc NameOrExtPresent() test where name and extension is not present. |
|
683 |
//! Uses API elements: NameOrExtPresent(). |
|
684 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\' |
|
685 |
//! 2. Call NameOrExtPresent(). Expecting FALSE on return. |
|
686 |
//! 3. Delete TParsePtr object. |
|
687 |
//! |
|
688 |
//! @SYMTestStatus Implemented |
|
689 |
//! @SYMTestPriority Critical |
|
690 |
//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected. |
|
691 |
//! @SYMTestType CIT |
|
692 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
693 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
694 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0031command2Set |
|
695 |
COMMAND TParsePtr1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0031command2NameOrExtPresent |
|
696 |
COMMAND TParsePtr1 ~ |
|
697 |
END_TEST_BLOCK |
|
698 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0031 |
|
699 |
||
700 |
||
701 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0032 |
|
702 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0032 |
|
703 |
//! @SYMAPI T_ParsePtr |
|
704 |
//! @SYMTestCaseDesc NameOrExtPresent() test with wildcards in name. |
|
705 |
//! Uses API elements: NameOrExtPresent(). |
|
706 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*.ext' |
|
707 |
//! 2. Call NameOrExtPresent(). Expecting TRUE on return. |
|
708 |
//! 3. Delete TParsePtr object. |
|
709 |
//! |
|
710 |
//! @SYMTestStatus Implemented |
|
711 |
//! @SYMTestPriority Critical |
|
712 |
//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected. |
|
713 |
//! @SYMTestType CIT |
|
714 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
715 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
716 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0032command2Set |
|
717 |
COMMAND TParsePtr1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0032command3NameOrExtPresent |
|
718 |
COMMAND TParsePtr1 ~ |
|
719 |
END_TEST_BLOCK |
|
720 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0032 |
|
721 |
||
722 |
||
723 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0033 |
|
724 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0033 |
|
725 |
//! @SYMAPI T_ParsePtr |
|
726 |
//! @SYMTestCaseDesc NameOrExtPresent() test with wildcards in extension. |
|
727 |
//! Uses API elements: NameOrExtPresent(). |
|
728 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.*' |
|
729 |
//! 2. Call NameOrExtPresent(). Expecting TRUE on return. |
|
730 |
//! 3. Delete TParsePtr object. |
|
731 |
//! |
|
732 |
//! @SYMTestStatus Implemented |
|
733 |
//! @SYMTestPriority Critical |
|
734 |
//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected. |
|
735 |
//! @SYMTestType CIT |
|
736 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
737 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
738 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0033command2Set |
|
739 |
COMMAND TParsePtr1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0033command3NameOrExtPresent |
|
740 |
COMMAND TParsePtr1 ~ |
|
741 |
END_TEST_BLOCK |
|
742 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0033 |
|
743 |
||
744 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0034 |
|
745 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0034 |
|
746 |
//! @SYMAPI T_ParsePtr |
|
747 |
//! @SYMTestCaseDesc NameOrExtPresent() test whre wildcard as filename and extension. |
|
748 |
//! Uses API elements: NameOrExtPresent(). |
|
749 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*' |
|
750 |
//! 2. Call NameOrExtPresent(). Expecting TRUE on return. |
|
751 |
//! 3. Delete TParsePtr object. |
|
752 |
//! |
|
753 |
//! @SYMTestStatus Implemented |
|
754 |
//! @SYMTestPriority Critical |
|
755 |
//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected. |
|
756 |
//! @SYMTestType CIT |
|
757 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
758 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
759 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0034command2Set |
|
760 |
COMMAND TParsePtr1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0034command3NameOrExtPresent |
|
761 |
COMMAND TParsePtr1 ~ |
|
762 |
END_TEST_BLOCK |
|
763 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0034 |
|
764 |
||
765 |
||
766 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0035 |
|
767 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0035 |
|
768 |
//! @SYMAPI T_ParsePtr |
|
769 |
//! @SYMTestCaseDesc IsRoot() test where path is root. |
|
770 |
//! Uses API elements: IsRoot(). |
|
771 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\' |
|
772 |
//! 2. Call IsRoot(). Expecting TRUE on return. |
|
773 |
//! 3. Delete TParsePtr object. |
|
774 |
//! |
|
775 |
//! @SYMTestStatus Implemented |
|
776 |
//! @SYMTestPriority Critical |
|
777 |
//! @SYMTestExpectedResults Value returned by IsRoot() is the same as expected. |
|
778 |
//! @SYMTestType CIT |
|
779 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
780 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
781 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0035command2Set |
|
782 |
COMMAND TParsePtr1 IsRoot PBASE-F32-ParseBase-PublicApi-0035command3IsRoot |
|
783 |
COMMAND TParsePtr1 ~ |
|
784 |
END_TEST_BLOCK |
|
785 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0035 |
|
786 |
||
787 |
||
788 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0036 |
|
789 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0036 |
|
790 |
//! @SYMAPI T_ParsePtr |
|
791 |
//! @SYMTestCaseDesc IsRoot() test where path is not root. |
|
792 |
//! Uses API elements: IsRoot(). |
|
793 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\' |
|
794 |
//! 2. Call IsRoot(). Expecting FALSE on return. |
|
795 |
//! 3. Delete TParsePtr object. |
|
796 |
//! |
|
797 |
//! @SYMTestStatus Implemented |
|
798 |
//! @SYMTestPriority Critical |
|
799 |
//! @SYMTestExpectedResults Value returned by IsRoot() is the same as expected. |
|
800 |
//! @SYMTestType CIT |
|
801 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
802 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
803 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0036command2Set |
|
804 |
COMMAND TParsePtr1 IsRoot PBASE-F32-ParseBase-PublicApi-0036command3IsRoot |
|
805 |
COMMAND TParsePtr1 ~ |
|
806 |
END_TEST_BLOCK |
|
807 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0036 |
|
808 |
||
809 |
||
810 |
||
811 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0037 |
|
812 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0037 |
|
813 |
//! @SYMAPI T_ParsePtr |
|
814 |
//! @SYMTestCaseDesc IsWild() test where path has a wildcard. |
|
815 |
//! Uses API elements: IsWild(). |
|
816 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dri1\dir2\*.ext' |
|
817 |
//! 2. Call IsWild(). Expecting TRUE on return. |
|
818 |
//! 3. Delete TParsePtr object. |
|
819 |
//! |
|
820 |
//! @SYMTestStatus Implemented |
|
821 |
//! @SYMTestPriority Critical |
|
822 |
//! @SYMTestExpectedResults Value returned by IsWild() is the same as expected. |
|
823 |
//! @SYMTestType CIT |
|
824 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
825 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
826 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0037command2Set |
|
827 |
COMMAND TParsePtr1 IsWild PBASE-F32-ParseBase-PublicApi-0037command3IsWild |
|
828 |
COMMAND TParsePtr1 ~ |
|
829 |
END_TEST_BLOCK |
|
830 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0037 |
|
831 |
||
832 |
||
833 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0038 |
|
834 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0038 |
|
835 |
//! @SYMAPI T_ParsePtr |
|
836 |
//! @SYMTestCaseDesc IsWild() test where path has not a wildcard. |
|
837 |
//! Uses API elements: IsWild(). |
|
838 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\nowildcras.ext' |
|
839 |
//! 2. Call IsWild(). Expecting FALSE on return. |
|
840 |
//! 3. Delete TParsePtr object. |
|
841 |
//! |
|
842 |
//! @SYMTestStatus Implemented |
|
843 |
//! @SYMTestPriority Critical |
|
844 |
//! @SYMTestExpectedResults Value returned by IsWild() is the same as expected. |
|
845 |
//! @SYMTestType CIT |
|
846 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
847 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
848 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0038command2Set |
|
849 |
COMMAND TParsePtr1 IsWild PBASE-F32-ParseBase-PublicApi-0038command3IsWild |
|
850 |
COMMAND TParsePtr1 ~ |
|
851 |
END_TEST_BLOCK |
|
852 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0038 |
|
853 |
||
854 |
||
855 |
||
856 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0039 |
|
857 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0039 |
|
858 |
//! @SYMAPI T_ParsePtr |
|
859 |
//! @SYMTestCaseDesc IsKMatchOne() test where the name contains a question mark wildcard. |
|
860 |
//! Uses API elements: IsKMatchOne(). |
|
861 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\?.ext' |
|
862 |
//! 2. Call IsKMatchOne(). Expecting TRUE on return. |
|
863 |
//! 3. Delete TParsePtr object. |
|
864 |
//! |
|
865 |
//! @SYMTestStatus Implemented |
|
866 |
//! @SYMTestPriority Critical |
|
867 |
//! @SYMTestExpectedResults Value returned by IsKMatchOne() is the same as expected. |
|
868 |
//! @SYMTestType CIT |
|
869 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
870 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
871 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0039command2Set |
|
872 |
COMMAND TParsePtr1 IsKMatchOne PBASE-F32-ParseBase-PublicApi-0039command3IsKMatchOne |
|
873 |
COMMAND TParsePtr1 ~ |
|
874 |
END_TEST_BLOCK |
|
875 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0039 |
|
876 |
||
877 |
||
878 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0040 |
|
879 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0040 |
|
880 |
//! @SYMAPI T_ParsePtr |
|
881 |
//! @SYMTestCaseDesc IsKMatchOne() test where name of file contains asterisk wildcard. |
|
882 |
//! Uses API elements: IsKMatchOne(). |
|
883 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*.ext' |
|
884 |
//! 2. Call IsKMatchOne(). Expecting FALSE on return. |
|
885 |
//! 3. Delete TParsePtr object. |
|
886 |
//! |
|
887 |
//! @SYMTestStatus Implemented |
|
888 |
//! @SYMTestPriority Critical |
|
889 |
//! @SYMTestExpectedResults Value returned by IsKMatchOne() is the same as expected. |
|
890 |
//! @SYMTestType CIT |
|
891 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
892 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
893 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0040command2Set |
|
894 |
COMMAND TParsePtr1 IsKMatchOne PBASE-F32-ParseBase-PublicApi-0040command3IsKMatchOne |
|
895 |
COMMAND TParsePtr1 ~ |
|
896 |
END_TEST_BLOCK |
|
897 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0040 |
|
898 |
||
899 |
||
900 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0041 |
|
901 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0041 |
|
902 |
//! @SYMAPI T_ParsePtr |
|
903 |
//! @SYMTestCaseDesc IsKMatchAny() test where name of file contains asterisk wildcard. |
|
904 |
//! Uses API elements: IsKMatchAny(). |
|
905 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*.ext' |
|
906 |
//! 2. Call IsKMatchAny(). Expecting TRUE on return. |
|
907 |
//! 3. Delete TParsePtr object. |
|
908 |
//! |
|
909 |
//! @SYMTestStatus Implemented |
|
910 |
//! @SYMTestPriority Critical |
|
911 |
//! @SYMTestExpectedResults Value returned by IsKMatchAny() is the same as expected. |
|
912 |
//! @SYMTestType CIT |
|
913 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
914 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
915 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0041command2Set |
|
916 |
COMMAND TParsePtr1 IsKMatchAny PBASE-F32-ParseBase-PublicApi-0041command3IsKMatchAny |
|
917 |
COMMAND TParsePtr1 ~ |
|
918 |
END_TEST_BLOCK |
|
919 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0041 |
|
920 |
||
921 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0042 |
|
922 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0042 |
|
923 |
//! @SYMAPI T_ParsePtr |
|
924 |
//! @SYMTestCaseDesc IsKMatchAny() test where name contains a question mark wildcard. |
|
925 |
//! Uses API elements: IsKMatchAny(). |
|
926 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\?.ext' |
|
927 |
//! 2. Call IsKMatchAny(). Expecting FALSE on return. |
|
928 |
//! 3. Delete TParsePtr object. |
|
929 |
//! |
|
930 |
//! @SYMTestStatus Implemented |
|
931 |
//! @SYMTestPriority Critical |
|
932 |
//! @SYMTestExpectedResults Value returned by IsKMatchAny() is the same as expected. |
|
933 |
//! @SYMTestType CIT |
|
934 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
935 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
936 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0042command2Set |
|
937 |
COMMAND TParsePtr1 IsKMatchAny PBASE-F32-ParseBase-PublicApi-0042command3IsKMatchAny |
|
938 |
COMMAND TParsePtr1 ~ |
|
939 |
END_TEST_BLOCK |
|
940 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0042 |
|
941 |
||
942 |
||
943 |
||
944 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0043 |
|
945 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0043 |
|
946 |
//! @SYMAPI T_ParsePtr |
|
947 |
//! @SYMTestCaseDesc IsNameWild() test where name contains asterisk wildcard. |
|
948 |
//! Uses API elements: IsNameWild(). |
|
949 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\*.ext'. |
|
950 |
//! 2. Call IsNameWild(). Expecting TRUE on return. |
|
951 |
//! 3. Delete TParsePtr object. |
|
952 |
//! |
|
953 |
//! @SYMTestStatus Implemented |
|
954 |
//! @SYMTestPriority Critical |
|
955 |
//! @SYMTestExpectedResults Value returned by IsNameWild() is the same as expected. |
|
956 |
//! @SYMTestType CIT |
|
957 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
958 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
959 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0043command2Set |
|
960 |
COMMAND TParsePtr1 IsNameWild PBASE-F32-ParseBase-PublicApi-0043command3IsNameWild |
|
961 |
COMMAND TParsePtr1 ~ |
|
962 |
END_TEST_BLOCK |
|
963 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0043 |
|
964 |
||
965 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0044 |
|
966 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0044 |
|
967 |
//! @SYMAPI T_ParsePtr |
|
968 |
//! @SYMTestCaseDesc IsNameWild() test where name not contains a wildcard. |
|
969 |
//! Uses API elements: IsNameWild(). |
|
970 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext' |
|
971 |
//! 2. Call IsNameWild(). Expecting FALSE on return. |
|
972 |
//! 3. Delete TParsePtr object. |
|
973 |
//! |
|
974 |
//! @SYMTestStatus Implemented |
|
975 |
//! @SYMTestPriority Critical |
|
976 |
//! @SYMTestExpectedResults Value returned by IsNameWild() is the same as expected. |
|
977 |
//! @SYMTestType CIT |
|
978 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
979 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
980 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0044command2Set |
|
981 |
COMMAND TParsePtr1 IsNameWild PBASE-F32-ParseBase-PublicApi-0044command3IsNameWild |
|
982 |
COMMAND TParsePtr1 ~ |
|
983 |
END_TEST_BLOCK |
|
984 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0044 |
|
985 |
||
986 |
||
987 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0045 |
|
988 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0045 |
|
989 |
//! @SYMAPI T_ParsePtr |
|
990 |
//! @SYMTestCaseDesc IsExtWild() test where extension contains asterisk wildcard. |
|
991 |
//! Uses API elements: IsExtWild(). |
|
992 |
//! @SYMTestActions 1. Create TParsePtr object passed 'c:\dir1\dir2\filename.*' |
|
993 |
//! 2. Call IsExtWild(). Expecting TRUE on return. |
|
994 |
//! 3. Delete TParsePtr object. |
|
995 |
//! |
|
996 |
//! @SYMTestStatus Implemented |
|
997 |
//! @SYMTestPriority Critical |
|
998 |
//! @SYMTestExpectedResults Value returned by IsExtWild() is the same as expected. |
|
999 |
//! @SYMTestType CIT |
|
1000 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
1001 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
1002 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0045command2Set |
|
1003 |
COMMAND TParsePtr1 IsExtWild PBASE-F32-ParseBase-PublicApi-0045command3IsExtWild |
|
1004 |
COMMAND TParsePtr1 ~ |
|
1005 |
END_TEST_BLOCK |
|
1006 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0045 |
|
1007 |
||
1008 |
||
1009 |
START_TESTCASE PBASE-F32-ParsePtr-PublicApi-0046 |
|
1010 |
//! @SYMTestCaseID PBASE-F32-ParsePtr-PublicApi-0046 |
|
1011 |
//! @SYMAPI T_ParsePtr |
|
1012 |
//! @SYMTestCaseDesc IsExtWild() test where extension not contains a wildcard. |
|
1013 |
//! Uses API elements: IsExtWild(). |
|
1014 |
//! @SYMTestActions 1. Create TParsePtr object passing 'c:\dir1\dir2\filename.ext' |
|
1015 |
//! 2. Call IsExtWild(). Expecting FALSE on return. |
|
1016 |
//! 3. Delete TParsePtr object. |
|
1017 |
//! |
|
1018 |
//! @SYMTestStatus Implemented |
|
1019 |
//! @SYMTestPriority Critical |
|
1020 |
//! @SYMTestExpectedResults Value returned by IsExtWild() is the same as expected. |
|
1021 |
//! @SYMTestType CIT |
|
1022 |
START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini |
|
1023 |
CREATE_OBJECT TParsePtr TParsePtr1 |
|
1024 |
COMMAND TParsePtr1 new PBASE-F32-ParseBase-PublicApi-0046command2Set |
|
1025 |
COMMAND TParsePtr1 IsExtWild PBASE-F32-ParseBase-PublicApi-0046command3IsExtWild |
|
1026 |
COMMAND TParsePtr1 ~ |
|
1027 |
END_TEST_BLOCK |
|
1028 |
END_TESTCASE PBASE-F32-ParsePtr-PublicApi-0046 |
|
1029 |