os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/scripts/PBASE-F32-Parse-Inherited-PublicApi-ANY.script
First public contribution.
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
5 // under the terms of "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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
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_Parse class:
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;
51 START_TESTCASE PBASE-F32-Parse-PublicApi-0001
52 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0001
54 //! @SYMTestCaseDesc FullName() test.
55 //! Uses API elements: Set(), FullName()
56 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
57 //! 2. Call FullName(). Expecting 'c:\dir1\dir2\filename.ext'
58 //! 3. Delete TParse object.
60 //! @SYMTestStatus Implemented
61 //! @SYMTestPriority Critical
62 //! @SYMTestExpectedResults The value returned by FullName() is the same as expected.
64 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
65 CREATE_OBJECT TParse TParse1
67 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0001command2Set
68 COMMAND TParse1 FullName PBASE-F32-ParseBase-PublicApi-0001command3FullName
71 END_TESTCASE PBASE-F32-Parse-PublicApi-0001
74 START_TESTCASE PBASE-F32-Parse-PublicApi-0002
75 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0002
77 //! @SYMTestCaseDesc Drive() test where drive is present.
78 //! Uses API elements: Set(), Drive()
79 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
80 //! 2. Call Drive(). Expecting 'c:' on return.
81 //! 3. Delete TParse object.
83 //! @SYMTestStatus Implemented
84 //! @SYMTestPriority Critical
85 //! @SYMTestExpectedResults Value returned by Drive() is the same as expected.
87 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
88 CREATE_OBJECT TParse TParse1
90 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0002command2Set
91 COMMAND TParse1 Drive PBASE-F32-ParseBase-PublicApi-0002command3Drive
94 END_TESTCASE PBASE-F32-Parse-PublicApi-0002
96 START_TESTCASE PBASE-F32-Parse-PublicApi-0003
97 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0003
99 //! @SYMTestCaseDesc Drive() test where drive is not present.
100 //! Uses API elements: Set(), Drive()
101 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
102 //! 2. Call Drive(). Expecting empty string.
103 //! 3. Delete TParse object.
105 //! @SYMTestStatus Implemented
106 //! @SYMTestPriority Critical
107 //! @SYMTestExpectedResults Value returned by Drive() is the same as expected.
109 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
110 CREATE_OBJECT TParse TParse1
112 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0003command2Set
113 COMMAND TParse1 Drive PBASE-F32-ParseBase-PublicApi-0003command3Drive
116 END_TESTCASE PBASE-F32-Parse-PublicApi-0003
118 START_TESTCASE PBASE-F32-Parse-PublicApi-0005
119 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0005
121 //! @SYMTestCaseDesc Path() test where path is present.
122 //! Uses API elements: {USE_SET} Path()
123 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
124 //! 2. Call Path(). Expecting '\dir1\dir2\' on return.
125 //! 3. Delete TParse object.
127 //! @SYMTestStatus Implemented
128 //! @SYMTestPriority Critical
129 //! @SYMTestExpectedResults Value returned by Path() is the same as expected.
131 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
132 CREATE_OBJECT TParse TParse1
134 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0005command2Set
135 COMMAND TParse1 Path PBASE-F32-ParseBase-PublicApi-0005command3Path
138 END_TESTCASE PBASE-F32-Parse-PublicApi-0005
142 START_TESTCASE PBASE-F32-Parse-PublicApi-0006
143 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0006
145 //! @SYMTestCaseDesc Path() test where path is not present.
146 //! Uses API elements: Set(), Path()
147 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
148 //! 2. Call Path(). Expecting ''(empty string) on return.
149 //! 3. Delete TParse object.
151 //! @SYMTestStatus Implemented
152 //! @SYMTestPriority Critical
153 //! @SYMTestExpectedResults Value returned by Path() is the same as expected.
155 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
156 CREATE_OBJECT TParse TParse1
158 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0006command2Set
159 COMMAND TParse1 Path PBASE-F32-ParseBase-PublicApi-0006command3Path
162 END_TESTCASE PBASE-F32-Parse-PublicApi-0006
164 START_TESTCASE PBASE-F32-Parse-PublicApi-0007
165 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0007
167 //! @SYMTestCaseDesc DriveAndPath() test where passing full path with drive and filename.
168 //! Uses API elements: Set(), DriveAndPath()
169 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
170 //! 2. Call DriveAndPath(). Expecting 'c:\dir1\dir2\' on return.
171 //! 3. Delete TParse object.
173 //! @SYMTestStatus Implemented
174 //! @SYMTestPriority Critical
175 //! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected.
177 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
178 CREATE_OBJECT TParse TParse1
180 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0007command2Set
181 COMMAND TParse1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0007command3DriveAndPath
184 END_TESTCASE PBASE-F32-Parse-PublicApi-0007
186 START_TESTCASE PBASE-F32-Parse-PublicApi-0008
187 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0008
189 //! @SYMTestCaseDesc DriveAndPath() test with passing only filename.
190 //! Uses API elements: Set(), DriveAndPath()
191 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
192 //! 2. Call DriveAndPath(). Expecting empty string.
193 //! 3. Delete TParse object.
195 //! @SYMTestStatus Implemented
196 //! @SYMTestPriority Critical
197 //! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected.
199 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
200 CREATE_OBJECT TParse TParse1
202 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0008command2Set
203 COMMAND TParse1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0008command3DriveAndPath
206 END_TESTCASE PBASE-F32-Parse-PublicApi-0008
208 START_TESTCASE PBASE-F32-Parse-PublicApi-0009
209 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0009
211 //! @SYMTestCaseDesc DriveAndPath() test with passing path and filename, but without drive letter.
212 //! Uses API elements: Set(), DriveAndPath()
213 //! @SYMTestActions 1. Create TParse object. Call Set() passing '\dir1\filename.ext'.
214 //! 2. Call DriveAndPath(). Expecting '\dir1\' on return.
215 //! 3. Delete TParse object.
217 //! @SYMTestStatus Implemented
218 //! @SYMTestPriority Critical
219 //! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected.
221 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
222 CREATE_OBJECT TParse TParse1
224 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0009command2Set
225 COMMAND TParse1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0009command3DriveAndPath
228 END_TESTCASE PBASE-F32-Parse-PublicApi-0009
232 START_TESTCASE PBASE-F32-Parse-PublicApi-0010
233 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0010
235 //! @SYMTestCaseDesc Name() test passing complete path with filename and drive letter.
236 //! Uses API elements: Set(), Name()
237 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
238 //! 2. Call Name(). Expecting 'filename' on return.
239 //! 3. Delete TParse object.
241 //! @SYMTestStatus Implemented
242 //! @SYMTestPriority Critical
243 //! @SYMTestExpectedResults Value returned by Name() is the same as expected.
245 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
246 CREATE_OBJECT TParse TParse1
248 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0010command2Set
249 COMMAND TParse1 Name PBASE-F32-ParseBase-PublicApi-0010command3Name
252 END_TESTCASE PBASE-F32-Parse-PublicApi-0010
255 START_TESTCASE PBASE-F32-Parse-PublicApi-0011
256 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0011
258 //! @SYMTestCaseDesc Name() test on path without filename.
259 //! Uses API elements: Set(), Name()
260 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'.
261 //! 2. Call Name(). Expecting ''(empty string) on return.
262 //! 3. Delete TParse object.
264 //! @SYMTestStatus Implemented
265 //! @SYMTestPriority Critical
266 //! @SYMTestExpectedResults Value returned by Name() is the same as expected.
268 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
269 CREATE_OBJECT TParse TParse1
271 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0011command2Set
272 COMMAND TParse1 Name PBASE-F32-ParseBase-PublicApi-0011command3Name
275 END_TESTCASE PBASE-F32-Parse-PublicApi-0011
277 START_TESTCASE PBASE-F32-Parse-PublicApi-0012
278 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0012
280 //! @SYMTestCaseDesc Ext() test passing complete path with filename with extension and drive letter.
281 //! Uses API elements: Set(), Ext()
282 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
283 //! 2. Call Ext(). Expecting '.ext' on return.
284 //! 3. Delete TParse object.
286 //! @SYMTestStatus Implemented
287 //! @SYMTestPriority Critical
288 //! @SYMTestExpectedResults Value returned by Ext() is the same as expected.
290 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
291 CREATE_OBJECT TParse TParse1
293 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0012command2Set
294 COMMAND TParse1 Ext PBASE-F32-ParseBase-PublicApi-0012command3Ext
297 END_TESTCASE PBASE-F32-Parse-PublicApi-0012
299 START_TESTCASE PBASE-F32-Parse-PublicApi-0013
300 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0013
302 //! @SYMTestCaseDesc Ext() test passing complete path with filename without extension.
303 //! Uses API elements: Set(), Ext()
304 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename'.
305 //! 2. Call Ext(). Expecting '' on return.
306 //! 3. Delete TParse object.
308 //! @SYMTestStatus Implemented
309 //! @SYMTestPriority Critical
310 //! @SYMTestExpectedResults Value returned by Ext() is the same as expected.
312 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
313 CREATE_OBJECT TParse TParse1
315 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0013command2Set
316 COMMAND TParse1 Ext PBASE-F32-ParseBase-PublicApi-0013command3Ext
319 END_TESTCASE PBASE-F32-Parse-PublicApi-0013
321 START_TESTCASE PBASE-F32-Parse-PublicApi-0014
322 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0014
324 //! @SYMTestCaseDesc Ext() test passing complete path without filename and extension.
325 //! Uses API elements: Set(), Ext()
326 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'.
327 //! 2. Call Ext(). Expecting '' on return.
328 //! 3. Delete TParse object.
330 //! @SYMTestStatus Implemented
331 //! @SYMTestPriority Critical
332 //! @SYMTestExpectedResults Value returned by Ext() is the same as expected.
334 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
335 CREATE_OBJECT TParse TParse1
337 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0014command2Set
338 COMMAND TParse1 Ext PBASE-F32-ParseBase-PublicApi-0014command3Ext
341 END_TESTCASE PBASE-F32-Parse-PublicApi-0014
344 START_TESTCASE PBASE-F32-Parse-PublicApi-0015
345 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0015
347 //! @SYMTestCaseDesc NameAndExt() test where name and extension is present.
348 //! Uses API elements: Set(), NameAndExt().
349 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
350 //! 2. Call NameAndExt(). Expecting 'filename.ext' on return.
351 //! 3. Delete TParse object.
353 //! @SYMTestStatus Implemented
354 //! @SYMTestPriority Critical
355 //! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected.
357 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
358 CREATE_OBJECT TParse TParse1
360 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0015command2Set
361 COMMAND TParse1 NameAndExt PBASE-F32-ParseBase-PublicApi-0015command3NameAndExt
364 END_TESTCASE PBASE-F32-Parse-PublicApi-0015
366 START_TESTCASE PBASE-F32-Parse-PublicApi-0016
367 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0016
369 //! @SYMTestCaseDesc NameAndExt() test where name and extension is not present.
370 //! Uses API elements: Set(), NameAndExt().
371 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'.
372 //! 2. Call NameAndExt(). Expecting ''(empty string) on return.
373 //! 3. Delete TParse object.
375 //! @SYMTestStatus Implemented
376 //! @SYMTestPriority Critical
377 //! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected.
379 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
380 CREATE_OBJECT TParse TParse1
382 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0016command2Set
383 COMMAND TParse1 NameAndExt PBASE-F32-ParseBase-PublicApi-0016command3NameAndExt
386 END_TESTCASE PBASE-F32-Parse-PublicApi-0016
388 START_TESTCASE PBASE-F32-Parse-PublicApi-0017
389 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0017
391 //! @SYMTestCaseDesc NameAndExt() test with full path and filename, but without extension
392 //! Uses API elements: Set(), NameAndExt().
393 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename'.
394 //! 2. Call NameAndExt(). Expecting 'filename' on return.
395 //! 3. Delete TParse object.
397 //! @SYMTestStatus Implemented
398 //! @SYMTestPriority Critical
399 //! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected.
401 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
402 CREATE_OBJECT TParse TParse1
404 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0017command2Set
405 COMMAND TParse1 NameAndExt PBASE-F32-ParseBase-PublicApi-0017command3NameAndExt
408 END_TESTCASE PBASE-F32-Parse-PublicApi-0017
412 START_TESTCASE PBASE-F32-Parse-PublicApi-0018
413 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0018
415 //! @SYMTestCaseDesc DrivePresent() test where drive is present.
416 //! Uses API elements: Set(), DrivePresent().
417 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
418 //! 2. Call DrivePresent(). Expecting TRUE on return.
419 //! 3. Delete TParse object.
421 //! @SYMTestStatus Implemented
422 //! @SYMTestPriority Critical
423 //! @SYMTestExpectedResults Value returned by DrivePresent() is the same as expected.
425 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
426 CREATE_OBJECT TParse TParse1
428 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0018command2Set
429 COMMAND TParse1 DrivePresent PBASE-F32-ParseBase-PublicApi-0018command3DrivePresent
432 END_TESTCASE PBASE-F32-Parse-PublicApi-0018
435 START_TESTCASE PBASE-F32-Parse-PublicApi-0019
436 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0019
438 //! @SYMTestCaseDesc DrivePresent() test, where drive is not present.
439 //! Uses API elements: DrivePresent().
440 //! @SYMTestActions 1. Create TParse object. Call Set() passing '\dir1\dir2\filename.ext'.
441 //! 2. Call DrivePresent(). Expecting FALSE on return.
442 //! 3. Delete TParse object.
444 //! @SYMTestStatus Implemented
445 //! @SYMTestPriority Critical
446 //! @SYMTestExpectedResults Value returned by DrivePresent() is the same as expected.
448 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
449 CREATE_OBJECT TParse TParse1
451 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0019command2Set
452 COMMAND TParse1 DrivePresent PBASE-F32-ParseBase-PublicApi-0019command3DrivePresent
455 END_TESTCASE PBASE-F32-Parse-PublicApi-0019
458 START_TESTCASE PBASE-F32-Parse-PublicApi-0020
459 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0020
461 //! @SYMTestCaseDesc PathPresent() test, where path is present.
462 //! Uses API elements: Set(), PathPresent().
463 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
464 //! 2. Call PathPresent(). Expecting TRUE on return .
465 //! 3. Delete TParse object.
467 //! @SYMTestStatus Implemented
468 //! @SYMTestPriority Critical
469 //! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected.
471 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
472 CREATE_OBJECT TParse TParse1
474 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0020command2Set
475 COMMAND TParse1 PathPresent PBASE-F32-ParseBase-PublicApi-0020command3PathPresent
478 END_TESTCASE PBASE-F32-Parse-PublicApi-0020
481 START_TESTCASE PBASE-F32-Parse-PublicApi-0021
482 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0021
484 //! @SYMTestCaseDesc PathPresent() test, where path is not present.
485 //! Uses API elements: PathPresent().
486 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
487 //! 2. Call PathPresent(). Expecting FALSE on return.
488 //! 3. Delete TParse object.
490 //! @SYMTestStatus Implemented
491 //! @SYMTestPriority Critical
492 //! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected.
494 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
495 CREATE_OBJECT TParse TParse1
497 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0021command2Set
498 COMMAND TParse1 PathPresent PBASE-F32-ParseBase-PublicApi-0021command2PathPresent
501 END_TESTCASE PBASE-F32-Parse-PublicApi-0021
503 START_TESTCASE PBASE-F32-Parse-PublicApi-0022
504 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0022
506 //! @SYMTestCaseDesc PathPresent() test with wildcard as path
507 //! Uses API elements: Set(), PathPresent().
508 //! @SYMTestActions 1. Create TParse object. Call Set() passing '*\filename.ext'.
509 //! 2. Delete TParse object.
511 //! @SYMTestStatus Implemented
512 //! @SYMTestPriority Critical
513 //! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected.
515 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
516 CREATE_OBJECT TParse TParse1
518 COMMAND !Error=-28 TParse1 Set PBASE-F32-ParseBase-PublicApi-0022command2Set
521 END_TESTCASE PBASE-F32-Parse-PublicApi-0022
524 START_TESTCASE PBASE-F32-Parse-PublicApi-0023
525 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0023
527 //! @SYMTestCaseDesc NamePresent() test, where name is present.
528 //! Uses API elements: Set(), NamePresent().
529 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
530 //! 2. Call NamePresent(). Expecting TRUE on return.
531 //! 3. Delete TParse object.
533 //! @SYMTestStatus Implemented
534 //! @SYMTestPriority Critical
535 //! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected.
537 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
538 CREATE_OBJECT TParse TParse1
540 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0023command2Set
541 COMMAND TParse1 NamePresent PBASE-F32-ParseBase-PublicApi-0023command3NamePresent
544 END_TESTCASE PBASE-F32-Parse-PublicApi-0023
547 START_TESTCASE PBASE-F32-Parse-PublicApi-0024
548 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0024
550 //! @SYMTestCaseDesc NamePresent() test, where name is not present.
551 //! Uses API elements: NamePresent().
552 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'
553 //! 2. Call NamePresent(). Expecting FALSE on return.
554 //! 3. Delete TParse object.
556 //! @SYMTestStatus Implemented
557 //! @SYMTestPriority Critical
558 //! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected.
560 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
561 CREATE_OBJECT TParse TParse1
563 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0024command2Set
564 COMMAND TParse1 NamePresent PBASE-F32-ParseBase-PublicApi-0024command2NamePresent
567 END_TESTCASE PBASE-F32-Parse-PublicApi-0024
569 START_TESTCASE PBASE-F32-Parse-PublicApi-0025
570 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0025
572 //! @SYMTestCaseDesc NamePresent() test with wildcards in name.
573 //! Uses API elements: Set(), NamePresent().
574 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'.
575 //! 2. Call NamePresent(). Expecting TRUE on return.
576 //! 3. Delete TParse object.
578 //! @SYMTestStatus Implemented
579 //! @SYMTestPriority Critical
580 //! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected.
582 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
583 CREATE_OBJECT TParse TParse1
585 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0025command2Set
586 COMMAND TParse1 NamePresent PBASE-F32-ParseBase-PublicApi-0025command3NamePresent
589 END_TESTCASE PBASE-F32-Parse-PublicApi-0025
592 START_TESTCASE PBASE-F32-Parse-PublicApi-0026
593 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0026
595 //! @SYMTestCaseDesc ExtPresent() test, where extension is present.
596 //! Uses API elements: Set(), ExtPresent().
597 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
598 //! 2. Call ExtPresent(). Expecting TRUE on return.
599 //! 3 Delete TParse object.
601 //! @SYMTestStatus Implemented
602 //! @SYMTestPriority Critical
603 //! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
605 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
606 CREATE_OBJECT TParse TParse1
608 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0026command2Set
609 COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0026command3ExtPresent
612 END_TESTCASE PBASE-F32-Parse-PublicApi-0026
615 START_TESTCASE PBASE-F32-Parse-PublicApi-0027
616 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0027
618 //! @SYMTestCaseDesc ExtPresent() test where extension is not present.
619 //! Uses API elements: ExtPresent().
620 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename'
621 //! 2. Call ExtPresent(). Expecting FALSE on return.
622 //! 3. Delete TParse object.
624 //! @SYMTestStatus Implemented
625 //! @SYMTestPriority Critical
626 //! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
628 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
629 CREATE_OBJECT TParse TParse1
631 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0027command2Set
632 COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0027command2ExtPresent
635 END_TESTCASE PBASE-F32-Parse-PublicApi-0027
638 START_TESTCASE PBASE-F32-Parse-PublicApi-0028
639 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0028
641 //! @SYMTestCaseDesc ExtPresent() test with wildcards in name.
642 //! Uses API elements: ExtPresent().
643 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
644 //! 2. Call ExtPresent(). Expecting FALSE on return.
645 //! 3. Delete TParse object.
647 //! @SYMTestStatus Implemented
648 //! @SYMTestPriority Critical
649 //! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
651 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
652 CREATE_OBJECT TParse TParse1
654 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0028command2Set
655 COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0028command3ExtPresent
658 END_TESTCASE PBASE-F32-Parse-PublicApi-0028
661 START_TESTCASE PBASE-F32-Parse-PublicApi-0029
662 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0029
664 //! @SYMTestCaseDesc ExtPresent() test with wildcards in extension.
665 //! Uses API elements: ExtPresent().
666 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.*'
667 //! 2. Call ExtPresent(). Expecting FALSE on return.
668 //! 3. Delete TParse object.
670 //! @SYMTestStatus Implemented
671 //! @SYMTestPriority Critical
672 //! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
674 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
675 CREATE_OBJECT TParse TParse1
677 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0029command2Set
678 COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0029command3ExtPresent
681 END_TESTCASE PBASE-F32-Parse-PublicApi-0029
684 START_TESTCASE PBASE-F32-Parse-PublicApi-0030
685 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0030
687 //! @SYMTestCaseDesc NameOrExtPresent() test where name and extension present.
688 //! Uses API elements: Set(), NameOrExtPresent().
689 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
690 //! 2. Call NameOrExtPresent(). Expecting TRUE on return.
691 //! 3. Delete TParse object.
693 //! @SYMTestStatus Implemented
694 //! @SYMTestPriority Critical
695 //! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
697 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
698 CREATE_OBJECT TParse TParse1
700 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0030command2Set
701 COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0030command3NameOrExtPresent
704 END_TESTCASE PBASE-F32-Parse-PublicApi-0030
707 START_TESTCASE PBASE-F32-Parse-PublicApi-0031
708 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0031
711 //! @SYMTestCaseDesc NameOrExtPresent() test where name and extension is not present.
712 //! Uses API elements: Set(), NameOrExtPresent().
713 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'
714 //! 2. Call NameOrExtPresent(). Expecting FALSE on return.
715 //! 3. Delete TParse object.
717 //! @SYMTestStatus Implemented
718 //! @SYMTestPriority Critical
719 //! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
721 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
722 CREATE_OBJECT TParse TParse1
724 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0031command2Set
725 COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0031command2NameOrExtPresent
728 END_TESTCASE PBASE-F32-Parse-PublicApi-0031
731 START_TESTCASE PBASE-F32-Parse-PublicApi-0032
732 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0032
734 //! @SYMTestCaseDesc NameOrExtPresent() test with wildcards in name.
735 //! Uses API elements: Set(), NameOrExtPresent().
736 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
737 //! 2. Call NameOrExtPresent(). Expecting TRUE on return.
738 //! 3. Delete TParse object.
740 //! @SYMTestStatus Implemented
741 //! @SYMTestPriority Critical
742 //! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
744 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
745 CREATE_OBJECT TParse TParse1
747 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0032command2Set
748 COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0032command3NameOrExtPresent
751 END_TESTCASE PBASE-F32-Parse-PublicApi-0032
754 START_TESTCASE PBASE-F32-Parse-PublicApi-0033
755 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0033
757 //! @SYMTestCaseDesc NameOrExtPresent() test with wildcards in extension.
758 //! Uses API elements: Set(), NameOrExtPresent().
759 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.*'
760 //! 2. Call NameOrExtPresent(). Expecting TRUE on return.
761 //! 3. Delete TParse object.
763 //! @SYMTestStatus Implemented
764 //! @SYMTestPriority Critical
765 //! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
767 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
768 CREATE_OBJECT TParse TParse1
770 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0033command2Set
771 COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0033command3NameOrExtPresent
774 END_TESTCASE PBASE-F32-Parse-PublicApi-0033
776 START_TESTCASE PBASE-F32-Parse-PublicApi-0034
777 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0034
779 //! @SYMTestCaseDesc NameOrExtPresent() test whre wildcard as filename and extension.
780 //! Uses API elements: Set(), NameOrExtPresent().
781 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*'
782 //! 2. Call NameOrExtPresent(). Expecting TRUE on return.
783 //! 3. Delete TParse object.
785 //! @SYMTestStatus Implemented
786 //! @SYMTestPriority Critical
787 //! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
789 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
790 CREATE_OBJECT TParse TParse1
792 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0034command2Set
793 COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0034command3NameOrExtPresent
796 END_TESTCASE PBASE-F32-Parse-PublicApi-0034
799 START_TESTCASE PBASE-F32-Parse-PublicApi-0035
800 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0035
802 //! @SYMTestCaseDesc IsRoot() test where path is root.
803 //! Uses API elements: Set(), IsRoot().
804 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\'
805 //! 2. Call IsRoot(). Expecting TRUE on return.
806 //! 3. Delete TParse object.
808 //! @SYMTestStatus Implemented
809 //! @SYMTestPriority Critical
810 //! @SYMTestExpectedResults Value returned by IsRoot() is the same as expected.
812 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
813 CREATE_OBJECT TParse TParse1
815 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0035command2Set
816 COMMAND TParse1 IsRoot PBASE-F32-ParseBase-PublicApi-0035command3IsRoot
819 END_TESTCASE PBASE-F32-Parse-PublicApi-0035
822 START_TESTCASE PBASE-F32-Parse-PublicApi-0036
823 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0036
825 //! @SYMTestCaseDesc IsRoot() test where path is not root.
826 //! Uses API elements: Set(), IsRoot().
827 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\'
828 //! 2. Call IsRoot(). Expecting FALSE on return.
829 //! 3. Delete TParse object.
831 //! @SYMTestStatus Implemented
832 //! @SYMTestPriority Critical
833 //! @SYMTestExpectedResults Value returned by IsRoot() is the same as expected.
835 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
836 CREATE_OBJECT TParse TParse1
838 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0036command2Set
839 COMMAND TParse1 IsRoot PBASE-F32-ParseBase-PublicApi-0036command3IsRoot
842 END_TESTCASE PBASE-F32-Parse-PublicApi-0036
846 START_TESTCASE PBASE-F32-Parse-PublicApi-0037
847 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0037
849 //! @SYMTestCaseDesc IsWild() test where path has a wildcard.
850 //! Uses API elements: Set(), IsWild().
851 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dri1\dir2\*.ext'
852 //! 2. Call IsWild(). Expecting TRUE on return.
853 //! 3. Delete TParse object.
855 //! @SYMTestStatus Implemented
856 //! @SYMTestPriority Critical
857 //! @SYMTestExpectedResults Value returned by IsWild() is the same as expected.
859 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
860 CREATE_OBJECT TParse TParse1
862 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0037command2Set
863 COMMAND TParse1 IsWild PBASE-F32-ParseBase-PublicApi-0037command3IsWild
866 END_TESTCASE PBASE-F32-Parse-PublicApi-0037
869 START_TESTCASE PBASE-F32-Parse-PublicApi-0038
870 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0038
872 //! @SYMTestCaseDesc IsWild() test where path has not a wildcard.
873 //! Uses API elements: Set(), IsWild().
874 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\nowildcras.ext'
875 //! 2. Call IsWild(). Expecting FALSE on return.
876 //! 3. Delete TParse object.
878 //! @SYMTestStatus Implemented
879 //! @SYMTestPriority Critical
880 //! @SYMTestExpectedResults Value returned by IsWild() is the same as expected.
882 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
883 CREATE_OBJECT TParse TParse1
885 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0038command2Set
886 COMMAND TParse1 IsWild PBASE-F32-ParseBase-PublicApi-0038command3IsWild
889 END_TESTCASE PBASE-F32-Parse-PublicApi-0038
893 START_TESTCASE PBASE-F32-Parse-PublicApi-0039
894 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0039
896 //! @SYMTestCaseDesc IsKMatchOne() test where the name contains a question mark wildcard.
897 //! Uses API elements: Set(), IsKMatchOne().
898 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\?.ext'
899 //! 2. Call IsKMatchOne(). Expecting TRUE on return.
900 //! 3. Delete TParse object.
902 //! @SYMTestStatus Implemented
903 //! @SYMTestPriority Critical
904 //! @SYMTestExpectedResults Value returned by IsKMatchOne() is the same as expected.
906 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
907 CREATE_OBJECT TParse TParse1
909 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0039command2Set
910 COMMAND TParse1 IsKMatchOne PBASE-F32-ParseBase-PublicApi-0039command3IsKMatchOne
913 END_TESTCASE PBASE-F32-Parse-PublicApi-0039
916 START_TESTCASE PBASE-F32-Parse-PublicApi-0040
917 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0040
919 //! @SYMTestCaseDesc IsKMatchOne() test where name of file contains asterisk wildcard.
920 //! Uses API elements: Set(), IsKMatchOne().
921 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
922 //! 2. Call IsKMatchOne(). Expecting FALSE on return.
923 //! 3. Delete TParse object.
925 //! @SYMTestStatus Implemented
926 //! @SYMTestPriority Critical
927 //! @SYMTestExpectedResults Value returned by IsKMatchOne() is the same as expected.
929 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
930 CREATE_OBJECT TParse TParse1
932 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0040command2Set
933 COMMAND TParse1 IsKMatchOne PBASE-F32-ParseBase-PublicApi-0040command3IsKMatchOne
936 END_TESTCASE PBASE-F32-Parse-PublicApi-0040
939 START_TESTCASE PBASE-F32-Parse-PublicApi-0041
940 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0041
942 //! @SYMTestCaseDesc IsKMatchAny() test where name of file contains asterisk wildcard.
943 //! Uses API elements: Set(), IsKMatchAny().
944 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
945 //! 2. Call IsKMatchAny(). Expecting TRUE on return.
946 //! 3. Delete TParse object.
948 //! @SYMTestStatus Implemented
949 //! @SYMTestPriority Critical
950 //! @SYMTestExpectedResults Value returned by IsKMatchAny() is the same as expected.
952 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
953 CREATE_OBJECT TParse TParse1
955 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0041command2Set
956 COMMAND TParse1 IsKMatchAny PBASE-F32-ParseBase-PublicApi-0041command3IsKMatchAny
959 END_TESTCASE PBASE-F32-Parse-PublicApi-0041
961 START_TESTCASE PBASE-F32-Parse-PublicApi-0042
962 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0042
964 //! @SYMTestCaseDesc IsKMatchAny() test where name contains a question mark wildcard.
965 //! Uses API elements: Set(), IsKMatchAny().
966 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\?.ext'
967 //! 2. Call IsKMatchAny(). Expecting FALSE on return.
968 //! 3. Delete TParse object.
970 //! @SYMTestStatus Implemented
971 //! @SYMTestPriority Critical
972 //! @SYMTestExpectedResults Value returned by IsKMatchAny() is the same as expected.
974 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
975 CREATE_OBJECT TParse TParse1
977 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0042command2Set
978 COMMAND TParse1 IsKMatchAny PBASE-F32-ParseBase-PublicApi-0042command3IsKMatchAny
981 END_TESTCASE PBASE-F32-Parse-PublicApi-0042
985 START_TESTCASE PBASE-F32-Parse-PublicApi-0043
986 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0043
988 //! @SYMTestCaseDesc IsNameWild() test where name contains asterisk wildcard.
989 //! Uses API elements: Set(), IsNameWild().
990 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'.
991 //! 2. Call IsNameWild(). Expecting TRUE on return.
992 //! 3. Delete TParse object.
994 //! @SYMTestStatus Implemented
995 //! @SYMTestPriority Critical
996 //! @SYMTestExpectedResults Value returned by IsNameWild() is the same as expected.
998 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
999 CREATE_OBJECT TParse TParse1
1001 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0043command2Set
1002 COMMAND TParse1 IsNameWild PBASE-F32-ParseBase-PublicApi-0043command3IsNameWild
1005 END_TESTCASE PBASE-F32-Parse-PublicApi-0043
1007 START_TESTCASE PBASE-F32-Parse-PublicApi-0044
1008 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0044
1010 //! @SYMTestCaseDesc IsNameWild() test where name not contains a wildcard.
1011 //! Uses API elements: Set(), IsNameWild().
1012 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
1013 //! 2. Call IsNameWild(). Expecting FALSE on return.
1014 //! 3. Delete TParse object.
1016 //! @SYMTestStatus Implemented
1017 //! @SYMTestPriority Critical
1018 //! @SYMTestExpectedResults Value returned by IsNameWild() is the same as expected.
1019 //! @SYMTestType CIT
1020 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1021 CREATE_OBJECT TParse TParse1
1023 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0044command2Set
1024 COMMAND TParse1 IsNameWild PBASE-F32-ParseBase-PublicApi-0044command3IsNameWild
1027 END_TESTCASE PBASE-F32-Parse-PublicApi-0044
1030 START_TESTCASE PBASE-F32-Parse-PublicApi-0045
1031 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0045
1033 //! @SYMTestCaseDesc IsExtWild() test where extension contains asterisk wildcard.
1034 //! Uses API elements: Set(), IsExtWild().
1035 //! @SYMTestActions 1. Create TParse object. Call Set() passed 'c:\dir1\dir2\filename.*'
1036 //! 2. Call IsExtWild(). Expecting TRUE on return.
1037 //! 3. Delete TParse object.
1039 //! @SYMTestStatus Implemented
1040 //! @SYMTestPriority Critical
1041 //! @SYMTestExpectedResults Value returned by IsExtWild() is the same as expected.
1042 //! @SYMTestType CIT
1043 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1044 CREATE_OBJECT TParse TParse1
1046 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0045command2Set
1047 COMMAND TParse1 IsExtWild PBASE-F32-ParseBase-PublicApi-0045command3IsExtWild
1050 END_TESTCASE PBASE-F32-Parse-PublicApi-0045
1053 START_TESTCASE PBASE-F32-Parse-PublicApi-0046
1054 //! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0046
1056 //! @SYMTestCaseDesc IsExtWild() test where extension not contains a wildcard.
1057 //! Uses API elements: Set(), IsExtWild().
1058 //! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
1059 //! 2. Call IsExtWild(). Expecting FALSE on return.
1060 //! 3. Delete TParse object.
1062 //! @SYMTestStatus Implemented
1063 //! @SYMTestPriority Critical
1064 //! @SYMTestExpectedResults Value returned by IsExtWild() is the same as expected.
1065 //! @SYMTestType CIT
1066 START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1067 CREATE_OBJECT TParse TParse1
1069 COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0046command2Set
1070 COMMAND TParse1 IsExtWild PBASE-F32-ParseBase-PublicApi-0046command3IsExtWild
1073 END_TESTCASE PBASE-F32-Parse-PublicApi-0046