os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/scripts/PBASE-F32-Parse-Inherited-PublicApi-ANY.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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
     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".
     8 //
     9 // Initial Contributors:
    10 // Nokia Corporation - initial contribution.
    11 //
    12 // Contributors:
    13 //
    14 // Description: 
    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_Parse class:
    22 //!	T_Parse();
    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-Parse-PublicApi-0001
    52 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0001
    53 //! @SYMAPI			T_Parse
    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.
    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	TParse	TParse1	
    66 			COMMAND		TParse1	new
    67 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0001command2Set
    68 			COMMAND		TParse1	FullName	PBASE-F32-ParseBase-PublicApi-0001command3FullName
    69 			COMMAND		TParse1	~
    70 	END_TEST_BLOCK
    71 END_TESTCASE			PBASE-F32-Parse-PublicApi-0001
    72 
    73 
    74 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0002
    75 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0002
    76 //! @SYMAPI			T_Parse
    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.
    82 //!
    83 //! @SYMTestStatus		Implemented
    84 //! @SYMTestPriority		Critical
    85 //! @SYMTestExpectedResults	Value returned by Drive() is the same as expected.
    86 //! @SYMTestType		CIT
    87 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
    88 			CREATE_OBJECT	TParse	TParse1	
    89 			COMMAND		TParse1	new		
    90 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0002command2Set
    91 			COMMAND		TParse1	Drive		PBASE-F32-ParseBase-PublicApi-0002command3Drive
    92 			COMMAND		TParse1	~		
    93 	END_TEST_BLOCK
    94 END_TESTCASE			PBASE-F32-Parse-PublicApi-0002
    95 
    96 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0003
    97 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0003
    98 //! @SYMAPI			T_Parse
    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.
   104 //!
   105 //! @SYMTestStatus		Implemented
   106 //! @SYMTestPriority		Critical
   107 //! @SYMTestExpectedResults	Value returned by Drive() is the same as expected.
   108 //! @SYMTestType		CIT
   109 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   110 			CREATE_OBJECT	TParse	TParse1	
   111 			COMMAND		TParse1	new		
   112 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0003command2Set
   113 			COMMAND		TParse1	Drive		PBASE-F32-ParseBase-PublicApi-0003command3Drive
   114 			COMMAND		TParse1	~		
   115 	END_TEST_BLOCK
   116 END_TESTCASE			PBASE-F32-Parse-PublicApi-0003
   117 
   118 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0005
   119 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0005
   120 //! @SYMAPI			T_Parse
   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.
   126 //!
   127 //! @SYMTestStatus		Implemented
   128 //! @SYMTestPriority		Critical
   129 //! @SYMTestExpectedResults	Value returned by Path() is the same as expected.
   130 //! @SYMTestType		CIT
   131 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   132 			CREATE_OBJECT	TParse	TParse1	
   133 			COMMAND		TParse1	new		
   134 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0005command2Set
   135 			COMMAND		TParse1	Path		PBASE-F32-ParseBase-PublicApi-0005command3Path
   136 			COMMAND		TParse1	~		
   137 	END_TEST_BLOCK
   138 END_TESTCASE			PBASE-F32-Parse-PublicApi-0005
   139 
   140 
   141 
   142 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0006
   143 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0006
   144 //! @SYMAPI			T_Parse
   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.
   150 //!
   151 //! @SYMTestStatus		Implemented
   152 //! @SYMTestPriority		Critical
   153 //! @SYMTestExpectedResults	Value returned by Path() is the same as expected.
   154 //! @SYMTestType		CIT
   155 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   156 			CREATE_OBJECT	TParse	TParse1	
   157 			COMMAND		TParse1	new		
   158 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0006command2Set
   159 			COMMAND		TParse1	Path		PBASE-F32-ParseBase-PublicApi-0006command3Path
   160 			COMMAND		TParse1	~		
   161 	END_TEST_BLOCK
   162 END_TESTCASE			PBASE-F32-Parse-PublicApi-0006
   163 
   164 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0007
   165 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0007
   166 //! @SYMAPI			T_Parse
   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.
   172 //!
   173 //! @SYMTestStatus		Implemented
   174 //! @SYMTestPriority		Critical
   175 //! @SYMTestExpectedResults	Value returned by DriveAndPath() is the same as expected.
   176 //! @SYMTestType		CIT
   177 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   178 			CREATE_OBJECT	TParse	TParse1	
   179 			COMMAND		TParse1	new		
   180 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0007command2Set
   181 			COMMAND		TParse1	DriveAndPath	PBASE-F32-ParseBase-PublicApi-0007command3DriveAndPath
   182 			COMMAND		TParse1	~		
   183 	END_TEST_BLOCK
   184 END_TESTCASE			PBASE-F32-Parse-PublicApi-0007
   185 
   186 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0008
   187 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0008
   188 //! @SYMAPI			T_Parse
   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.
   194 //!
   195 //! @SYMTestStatus		Implemented
   196 //! @SYMTestPriority		Critical
   197 //! @SYMTestExpectedResults	Value returned by DriveAndPath() is the same as expected.
   198 //! @SYMTestType		CIT
   199 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   200 			CREATE_OBJECT	TParse	TParse1	
   201 			COMMAND		TParse1	new		
   202 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0008command2Set
   203 			COMMAND		TParse1	DriveAndPath	PBASE-F32-ParseBase-PublicApi-0008command3DriveAndPath
   204 			COMMAND		TParse1	~		
   205 	END_TEST_BLOCK
   206 END_TESTCASE			PBASE-F32-Parse-PublicApi-0008
   207 
   208 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0009
   209 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0009
   210 //! @SYMAPI			T_Parse
   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.
   216 //!
   217 //! @SYMTestStatus		Implemented
   218 //! @SYMTestPriority		Critical
   219 //! @SYMTestExpectedResults	Value returned by DriveAndPath() is the same as expected.
   220 //! @SYMTestType		CIT
   221 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   222 			CREATE_OBJECT	TParse	TParse1	
   223 			COMMAND		TParse1	new		
   224 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0009command2Set
   225 			COMMAND		TParse1	DriveAndPath	PBASE-F32-ParseBase-PublicApi-0009command3DriveAndPath
   226 			COMMAND		TParse1	~		
   227 	END_TEST_BLOCK
   228 END_TESTCASE			PBASE-F32-Parse-PublicApi-0009
   229 
   230 
   231 
   232 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0010
   233 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0010
   234 //! @SYMAPI			T_Parse
   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.
   240 //!
   241 //! @SYMTestStatus		Implemented
   242 //! @SYMTestPriority		Critical
   243 //! @SYMTestExpectedResults	Value returned by Name() is the same as expected.
   244 //! @SYMTestType		CIT
   245 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   246 			CREATE_OBJECT	TParse	TParse1	
   247 			COMMAND		TParse1	new		
   248 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0010command2Set
   249 			COMMAND		TParse1	Name		PBASE-F32-ParseBase-PublicApi-0010command3Name
   250 			COMMAND		TParse1	~		
   251 	END_TEST_BLOCK
   252 END_TESTCASE			PBASE-F32-Parse-PublicApi-0010
   253 
   254 
   255 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0011
   256 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0011
   257 //! @SYMAPI			T_Parse
   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.
   263 //!
   264 //! @SYMTestStatus		Implemented
   265 //! @SYMTestPriority		Critical
   266 //! @SYMTestExpectedResults	Value returned by Name() is the same as expected.
   267 //! @SYMTestType		CIT
   268 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   269 			CREATE_OBJECT	TParse	TParse1	
   270 			COMMAND		TParse1	new		
   271 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0011command2Set
   272 			COMMAND		TParse1	Name		PBASE-F32-ParseBase-PublicApi-0011command3Name
   273 			COMMAND		TParse1	~		
   274 	END_TEST_BLOCK
   275 END_TESTCASE			PBASE-F32-Parse-PublicApi-0011
   276 
   277 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0012
   278 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0012
   279 //! @SYMAPI			T_Parse
   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.
   285 //!
   286 //! @SYMTestStatus		Implemented
   287 //! @SYMTestPriority		Critical
   288 //! @SYMTestExpectedResults	Value returned by Ext() is the same as expected.
   289 //! @SYMTestType		CIT
   290 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   291 			CREATE_OBJECT	TParse	TParse1	
   292 			COMMAND		TParse1	new		
   293 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0012command2Set
   294 			COMMAND		TParse1	Ext		PBASE-F32-ParseBase-PublicApi-0012command3Ext
   295 			COMMAND		TParse1	~		
   296 	END_TEST_BLOCK
   297 END_TESTCASE			PBASE-F32-Parse-PublicApi-0012
   298 
   299 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0013
   300 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0013
   301 //! @SYMAPI			T_Parse
   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.
   307 //!
   308 //! @SYMTestStatus		Implemented
   309 //! @SYMTestPriority		Critical
   310 //! @SYMTestExpectedResults	Value returned by Ext() is the same as expected.
   311 //! @SYMTestType		CIT
   312 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   313 			CREATE_OBJECT	TParse	TParse1	
   314 			COMMAND		TParse1	new		
   315 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0013command2Set
   316 			COMMAND		TParse1	Ext		PBASE-F32-ParseBase-PublicApi-0013command3Ext
   317 			COMMAND		TParse1	~		
   318 	END_TEST_BLOCK
   319 END_TESTCASE			PBASE-F32-Parse-PublicApi-0013
   320 
   321 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0014
   322 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0014
   323 //! @SYMAPI			T_Parse
   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.
   329 //!
   330 //! @SYMTestStatus		Implemented
   331 //! @SYMTestPriority		Critical
   332 //! @SYMTestExpectedResults	Value returned by Ext() is the same as expected.
   333 //! @SYMTestType		CIT
   334 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   335 			CREATE_OBJECT	TParse	TParse1	
   336 			COMMAND		TParse1	new		
   337 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0014command2Set
   338 			COMMAND		TParse1	Ext		PBASE-F32-ParseBase-PublicApi-0014command3Ext
   339 			COMMAND		TParse1	~		
   340 	END_TEST_BLOCK
   341 END_TESTCASE			PBASE-F32-Parse-PublicApi-0014
   342 
   343 
   344 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0015
   345 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0015
   346 //! @SYMAPI			T_Parse
   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.
   352 //!
   353 //! @SYMTestStatus		Implemented
   354 //! @SYMTestPriority		Critical
   355 //! @SYMTestExpectedResults	Value returned by NameAndExt() is the same as expected.
   356 //! @SYMTestType		CIT
   357 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   358 			CREATE_OBJECT	TParse	TParse1	
   359 			COMMAND		TParse1	new		
   360 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0015command2Set
   361 			COMMAND		TParse1	NameAndExt	PBASE-F32-ParseBase-PublicApi-0015command3NameAndExt
   362 			COMMAND		TParse1	~		
   363 	END_TEST_BLOCK
   364 END_TESTCASE			PBASE-F32-Parse-PublicApi-0015
   365 
   366 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0016
   367 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0016
   368 //! @SYMAPI			T_Parse
   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.
   374 //!
   375 //! @SYMTestStatus		Implemented
   376 //! @SYMTestPriority		Critical
   377 //! @SYMTestExpectedResults	Value returned by NameAndExt() is the same as expected.
   378 //! @SYMTestType		CIT
   379 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   380 			CREATE_OBJECT	TParse	TParse1	
   381 			COMMAND		TParse1	new		
   382 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0016command2Set
   383 			COMMAND		TParse1	NameAndExt	PBASE-F32-ParseBase-PublicApi-0016command3NameAndExt
   384 			COMMAND		TParse1	~		
   385 	END_TEST_BLOCK
   386 END_TESTCASE			PBASE-F32-Parse-PublicApi-0016
   387 
   388 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0017
   389 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0017
   390 //! @SYMAPI			T_Parse
   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.
   396 //!
   397 //! @SYMTestStatus		Implemented
   398 //! @SYMTestPriority		Critical
   399 //! @SYMTestExpectedResults	Value returned by NameAndExt() is the same as expected.
   400 //! @SYMTestType		CIT
   401 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   402 			CREATE_OBJECT	TParse	TParse1	
   403 			COMMAND		TParse1	new		
   404 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0017command2Set
   405 			COMMAND		TParse1	NameAndExt	PBASE-F32-ParseBase-PublicApi-0017command3NameAndExt
   406 			COMMAND		TParse1	~		
   407 	END_TEST_BLOCK
   408 END_TESTCASE			PBASE-F32-Parse-PublicApi-0017
   409 
   410 
   411 
   412 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0018
   413 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0018
   414 //! @SYMAPI			T_Parse
   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.
   420 //!
   421 //! @SYMTestStatus		Implemented
   422 //! @SYMTestPriority		Critical
   423 //! @SYMTestExpectedResults	Value returned by DrivePresent() is the same as expected.
   424 //! @SYMTestType		CIT
   425 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   426 			CREATE_OBJECT	TParse	TParse1	
   427 			COMMAND		TParse1	new		
   428 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0018command2Set
   429 			COMMAND		TParse1	DrivePresent	PBASE-F32-ParseBase-PublicApi-0018command3DrivePresent
   430 			COMMAND		TParse1	~		
   431 	END_TEST_BLOCK
   432 END_TESTCASE			PBASE-F32-Parse-PublicApi-0018
   433 
   434 
   435 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0019
   436 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0019
   437 //! @SYMAPI			T_Parse
   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.
   443 //!
   444 //! @SYMTestStatus		Implemented
   445 //! @SYMTestPriority		Critical
   446 //! @SYMTestExpectedResults	Value returned by DrivePresent() is the same as expected.
   447 //! @SYMTestType		CIT
   448 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   449 			CREATE_OBJECT	TParse	TParse1	
   450 			COMMAND		TParse1	new		
   451 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0019command2Set
   452 			COMMAND		TParse1	DrivePresent	PBASE-F32-ParseBase-PublicApi-0019command3DrivePresent
   453 			COMMAND		TParse1	~		
   454 	END_TEST_BLOCK
   455 END_TESTCASE			PBASE-F32-Parse-PublicApi-0019
   456 
   457 
   458 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0020
   459 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0020
   460 //! @SYMAPI			T_Parse
   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.
   466 //!
   467 //! @SYMTestStatus		Implemented
   468 //! @SYMTestPriority		Critical
   469 //! @SYMTestExpectedResults	Value returned by PathPresent() is the same as expected.
   470 //! @SYMTestType		CIT
   471 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   472 			CREATE_OBJECT	TParse	TParse1	
   473 			COMMAND		TParse1	new		
   474 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0020command2Set
   475 			COMMAND		TParse1	PathPresent	PBASE-F32-ParseBase-PublicApi-0020command3PathPresent
   476 			COMMAND		TParse1	~		
   477 	END_TEST_BLOCK
   478 END_TESTCASE			PBASE-F32-Parse-PublicApi-0020
   479 
   480 
   481 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0021
   482 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0021
   483 //! @SYMAPI			T_Parse
   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.
   489 //!
   490 //! @SYMTestStatus		Implemented
   491 //! @SYMTestPriority		Critical
   492 //! @SYMTestExpectedResults	Value returned by PathPresent() is the same as expected.
   493 //! @SYMTestType		CIT
   494 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   495 			CREATE_OBJECT	TParse	TParse1	
   496 			COMMAND		TParse1	new		
   497 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0021command2Set
   498 			COMMAND		TParse1	PathPresent	PBASE-F32-ParseBase-PublicApi-0021command2PathPresent
   499 			COMMAND		TParse1	~		
   500 	END_TEST_BLOCK
   501 END_TESTCASE			PBASE-F32-Parse-PublicApi-0021
   502 
   503 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0022
   504 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0022
   505 //! @SYMAPI			T_Parse
   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.
   510 //!
   511 //! @SYMTestStatus		Implemented
   512 //! @SYMTestPriority		Critical
   513 //! @SYMTestExpectedResults	Value returned by PathPresent() is the same as expected.
   514 //! @SYMTestType		CIT
   515 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   516 			CREATE_OBJECT		TParse	TParse1	
   517 			COMMAND			TParse1	new		
   518 			COMMAND	!Error=-28	TParse1	Set	PBASE-F32-ParseBase-PublicApi-0022command2Set
   519 			COMMAND			TParse1	~		
   520 	END_TEST_BLOCK	
   521 END_TESTCASE			PBASE-F32-Parse-PublicApi-0022
   522 
   523 
   524 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0023
   525 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0023
   526 //! @SYMAPI			T_Parse
   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.
   532 //!
   533 //! @SYMTestStatus		Implemented
   534 //! @SYMTestPriority		Critical
   535 //! @SYMTestExpectedResults	Value returned by NamePresent() is the same as expected.
   536 //! @SYMTestType		CIT
   537 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   538 			CREATE_OBJECT	TParse	TParse1	
   539 			COMMAND		TParse1	new		
   540 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0023command2Set
   541 			COMMAND		TParse1	NamePresent	PBASE-F32-ParseBase-PublicApi-0023command3NamePresent
   542 			COMMAND		TParse1	~		
   543 	END_TEST_BLOCK
   544 END_TESTCASE			PBASE-F32-Parse-PublicApi-0023
   545 
   546 
   547 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0024
   548 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0024
   549 //! @SYMAPI			T_Parse
   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.
   555 //!
   556 //! @SYMTestStatus		Implemented
   557 //! @SYMTestPriority		Critical
   558 //! @SYMTestExpectedResults	Value returned by NamePresent() is the same as expected.
   559 //! @SYMTestType		CIT
   560 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   561 			CREATE_OBJECT	TParse	TParse1	
   562 			COMMAND		TParse1	new		
   563 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0024command2Set
   564 			COMMAND		TParse1	NamePresent	PBASE-F32-ParseBase-PublicApi-0024command2NamePresent
   565 			COMMAND		TParse1	~		
   566 	END_TEST_BLOCK
   567 END_TESTCASE			PBASE-F32-Parse-PublicApi-0024
   568 
   569 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0025
   570 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0025
   571 //! @SYMAPI			T_Parse
   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.
   577 //!
   578 //! @SYMTestStatus		Implemented
   579 //! @SYMTestPriority		Critical
   580 //! @SYMTestExpectedResults	Value returned by NamePresent() is the same as expected.
   581 //! @SYMTestType		CIT
   582 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   583 			CREATE_OBJECT	TParse	TParse1	
   584 			COMMAND		TParse1	new		
   585 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0025command2Set
   586 			COMMAND		TParse1	NamePresent	PBASE-F32-ParseBase-PublicApi-0025command3NamePresent
   587 			COMMAND		TParse1	~		
   588 	END_TEST_BLOCK
   589 END_TESTCASE			PBASE-F32-Parse-PublicApi-0025
   590 
   591 
   592 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0026
   593 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0026
   594 //! @SYMAPI			T_Parse
   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.
   600 //!
   601 //! @SYMTestStatus		Implemented
   602 //! @SYMTestPriority		Critical
   603 //! @SYMTestExpectedResults	Value returned by ExtPresent() is the same as expected.
   604 //! @SYMTestType		CIT
   605 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   606 			CREATE_OBJECT	TParse	TParse1	
   607 			COMMAND		TParse1	new		
   608 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0026command2Set
   609 			COMMAND		TParse1	ExtPresent	PBASE-F32-ParseBase-PublicApi-0026command3ExtPresent
   610 			COMMAND		TParse1	~		
   611 	END_TEST_BLOCK
   612 END_TESTCASE			PBASE-F32-Parse-PublicApi-0026
   613 
   614 
   615 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0027
   616 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0027
   617 //! @SYMAPI			T_Parse
   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.
   623 //!
   624 //! @SYMTestStatus		Implemented
   625 //! @SYMTestPriority		Critical
   626 //! @SYMTestExpectedResults	Value returned by ExtPresent() is the same as expected.
   627 //! @SYMTestType		CIT
   628 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   629 			CREATE_OBJECT	TParse	TParse1	
   630 			COMMAND		TParse1	new		
   631 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0027command2Set
   632 			COMMAND		TParse1	ExtPresent	PBASE-F32-ParseBase-PublicApi-0027command2ExtPresent
   633 			COMMAND		TParse1	~	
   634 	END_TEST_BLOCK
   635 END_TESTCASE			PBASE-F32-Parse-PublicApi-0027
   636 
   637 
   638 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0028
   639 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0028
   640 //! @SYMAPI			T_Parse
   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.
   646 //!
   647 //! @SYMTestStatus		Implemented
   648 //! @SYMTestPriority		Critical
   649 //! @SYMTestExpectedResults	Value returned by ExtPresent() is the same as expected.
   650 //! @SYMTestType		CIT
   651 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   652 			CREATE_OBJECT	TParse	TParse1	
   653 			COMMAND		TParse1	new		
   654 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0028command2Set
   655 			COMMAND		TParse1	ExtPresent	PBASE-F32-ParseBase-PublicApi-0028command3ExtPresent
   656 			COMMAND		TParse1	~		
   657 	END_TEST_BLOCK
   658 END_TESTCASE			PBASE-F32-Parse-PublicApi-0028
   659 
   660 
   661 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0029
   662 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0029
   663 //! @SYMAPI			T_Parse
   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.
   669 //!
   670 //! @SYMTestStatus		Implemented
   671 //! @SYMTestPriority		Critical
   672 //! @SYMTestExpectedResults	Value returned by ExtPresent() is the same as expected.
   673 //! @SYMTestType		CIT
   674 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   675 			CREATE_OBJECT	TParse	TParse1	
   676 			COMMAND		TParse1	new		
   677 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0029command2Set
   678 			COMMAND		TParse1	ExtPresent	PBASE-F32-ParseBase-PublicApi-0029command3ExtPresent
   679 			COMMAND		TParse1	~		
   680 	END_TEST_BLOCK
   681 END_TESTCASE			PBASE-F32-Parse-PublicApi-0029
   682 
   683 
   684 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0030
   685 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0030
   686 //! @SYMAPI			T_Parse
   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.
   692 //!
   693 //! @SYMTestStatus		Implemented
   694 //! @SYMTestPriority		Critical
   695 //! @SYMTestExpectedResults	Value returned by NameOrExtPresent() is the same as expected.
   696 //! @SYMTestType		CIT
   697 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   698 			CREATE_OBJECT	TParse	TParse1	
   699 			COMMAND		TParse1	new		
   700 			COMMAND		TParse1	Set			PBASE-F32-ParseBase-PublicApi-0030command2Set
   701 			COMMAND		TParse1	NameOrExtPresent	PBASE-F32-ParseBase-PublicApi-0030command3NameOrExtPresent
   702 			COMMAND		TParse1	~		
   703 	END_TEST_BLOCK
   704 END_TESTCASE			PBASE-F32-Parse-PublicApi-0030
   705 
   706 
   707 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0031
   708 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0031
   709 //! @SYMAPI			T_Parse
   710 //! @SYMAPI			T_Parse
   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.
   716 //!
   717 //! @SYMTestStatus		Implemented
   718 //! @SYMTestPriority		Critical
   719 //! @SYMTestExpectedResults	Value returned by NameOrExtPresent() is the same as expected.
   720 //! @SYMTestType		CIT
   721 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   722 			CREATE_OBJECT	TParse	TParse1	
   723 			COMMAND		TParse1	new		
   724 			COMMAND		TParse1	Set			PBASE-F32-ParseBase-PublicApi-0031command2Set
   725 			COMMAND		TParse1	NameOrExtPresent	PBASE-F32-ParseBase-PublicApi-0031command2NameOrExtPresent
   726 			COMMAND		TParse1	~		
   727 	END_TEST_BLOCK
   728 END_TESTCASE			PBASE-F32-Parse-PublicApi-0031
   729 
   730 
   731 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0032
   732 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0032
   733 //! @SYMAPI			T_Parse
   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.
   739 //!
   740 //! @SYMTestStatus		Implemented
   741 //! @SYMTestPriority		Critical
   742 //! @SYMTestExpectedResults	Value returned by NameOrExtPresent() is the same as expected.
   743 //! @SYMTestType		CIT
   744 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   745 			CREATE_OBJECT	TParse	TParse1	
   746 			COMMAND		TParse1	new		
   747 			COMMAND		TParse1	Set			PBASE-F32-ParseBase-PublicApi-0032command2Set
   748 			COMMAND		TParse1	NameOrExtPresent	PBASE-F32-ParseBase-PublicApi-0032command3NameOrExtPresent
   749 			COMMAND		TParse1	~		
   750 	END_TEST_BLOCK
   751 END_TESTCASE			PBASE-F32-Parse-PublicApi-0032
   752 
   753 
   754 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0033
   755 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0033
   756 //! @SYMAPI			T_Parse
   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.
   762 //!
   763 //! @SYMTestStatus		Implemented
   764 //! @SYMTestPriority		Critical
   765 //! @SYMTestExpectedResults	Value returned by NameOrExtPresent() is the same as expected.
   766 //! @SYMTestType		CIT
   767 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   768 			CREATE_OBJECT	TParse	TParse1	
   769 			COMMAND		TParse1	new		
   770 			COMMAND		TParse1	Set			PBASE-F32-ParseBase-PublicApi-0033command2Set
   771 			COMMAND		TParse1	NameOrExtPresent	PBASE-F32-ParseBase-PublicApi-0033command3NameOrExtPresent
   772 			COMMAND		TParse1	~		
   773 	END_TEST_BLOCK
   774 END_TESTCASE			PBASE-F32-Parse-PublicApi-0033
   775 
   776 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0034
   777 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0034
   778 //! @SYMAPI			T_Parse
   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.
   784 //!
   785 //! @SYMTestStatus		Implemented
   786 //! @SYMTestPriority		Critical
   787 //! @SYMTestExpectedResults	Value returned by NameOrExtPresent() is the same as expected.
   788 //! @SYMTestType		CIT
   789 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   790 			CREATE_OBJECT	TParse	TParse1	
   791 			COMMAND		TParse1	new		
   792 			COMMAND		TParse1	Set			PBASE-F32-ParseBase-PublicApi-0034command2Set
   793 			COMMAND		TParse1	NameOrExtPresent	PBASE-F32-ParseBase-PublicApi-0034command3NameOrExtPresent
   794 			COMMAND		TParse1	~		
   795 	END_TEST_BLOCK
   796 END_TESTCASE			PBASE-F32-Parse-PublicApi-0034
   797 
   798 
   799 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0035
   800 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0035
   801 //! @SYMAPI			T_Parse
   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.
   807 //!
   808 //! @SYMTestStatus		Implemented
   809 //! @SYMTestPriority		Critical
   810 //! @SYMTestExpectedResults	Value returned by IsRoot() is the same as expected.
   811 //! @SYMTestType		CIT
   812 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   813 			CREATE_OBJECT	TParse	TParse1	
   814 			COMMAND		TParse1	new		
   815 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0035command2Set
   816 			COMMAND		TParse1	IsRoot		PBASE-F32-ParseBase-PublicApi-0035command3IsRoot
   817 			COMMAND		TParse1	~		
   818 	END_TEST_BLOCK
   819 END_TESTCASE			PBASE-F32-Parse-PublicApi-0035
   820 
   821 
   822 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0036
   823 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0036
   824 //! @SYMAPI			T_Parse
   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.
   830 //!
   831 //! @SYMTestStatus		Implemented
   832 //! @SYMTestPriority		Critical
   833 //! @SYMTestExpectedResults	Value returned by IsRoot() is the same as expected.
   834 //! @SYMTestType		CIT
   835 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   836 			CREATE_OBJECT	TParse	TParse1	
   837 			COMMAND		TParse1	new		
   838 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0036command2Set
   839 			COMMAND		TParse1	IsRoot		PBASE-F32-ParseBase-PublicApi-0036command3IsRoot
   840 			COMMAND		TParse1	~		
   841 	END_TEST_BLOCK
   842 END_TESTCASE			PBASE-F32-Parse-PublicApi-0036
   843 
   844 
   845 
   846 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0037
   847 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0037
   848 //! @SYMAPI					T_Parse
   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.
   854 //!
   855 //! @SYMTestStatus		Implemented
   856 //! @SYMTestPriority		Critical
   857 //! @SYMTestExpectedResults	Value returned by IsWild() is the same as expected.
   858 //! @SYMTestType		CIT
   859 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   860 			CREATE_OBJECT	TParse	TParse1	
   861 			COMMAND		TParse1	new		
   862 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0037command2Set
   863 			COMMAND		TParse1	IsWild		PBASE-F32-ParseBase-PublicApi-0037command3IsWild
   864 			COMMAND		TParse1	~		
   865 	END_TEST_BLOCK
   866 END_TESTCASE			PBASE-F32-Parse-PublicApi-0037
   867 
   868 
   869 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0038
   870 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0038
   871 //! @SYMAPI			T_Parse
   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.
   877 //!
   878 //! @SYMTestStatus		Implemented
   879 //! @SYMTestPriority		Critical
   880 //! @SYMTestExpectedResults	Value returned by IsWild() is the same as expected.
   881 //! @SYMTestType		CIT
   882 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   883 			CREATE_OBJECT	TParse	TParse1	
   884 			COMMAND		TParse1	new		
   885 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0038command2Set
   886 			COMMAND		TParse1	IsWild		PBASE-F32-ParseBase-PublicApi-0038command3IsWild
   887 			COMMAND		TParse1	~		
   888 	END_TEST_BLOCK
   889 END_TESTCASE			PBASE-F32-Parse-PublicApi-0038
   890 
   891 
   892 
   893 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0039
   894 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0039
   895 //! @SYMAPI			T_Parse
   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.
   901 //!
   902 //! @SYMTestStatus		Implemented
   903 //! @SYMTestPriority		Critical
   904 //! @SYMTestExpectedResults	Value returned by IsKMatchOne() is the same as expected.
   905 //! @SYMTestType		CIT
   906 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   907 			CREATE_OBJECT	TParse	TParse1	
   908 			COMMAND		TParse1	new		
   909 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0039command2Set
   910 			COMMAND		TParse1	IsKMatchOne	PBASE-F32-ParseBase-PublicApi-0039command3IsKMatchOne
   911 			COMMAND		TParse1	~		
   912 	END_TEST_BLOCK
   913 END_TESTCASE			PBASE-F32-Parse-PublicApi-0039
   914 
   915 
   916 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0040
   917 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0040
   918 //! @SYMAPI			T_Parse
   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.
   924 //!
   925 //! @SYMTestStatus		Implemented
   926 //! @SYMTestPriority		Critical
   927 //! @SYMTestExpectedResults	Value returned by IsKMatchOne() is the same as expected.
   928 //! @SYMTestType		CIT
   929 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   930 			CREATE_OBJECT	TParse	TParse1	
   931 			COMMAND		TParse1	new		
   932 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0040command2Set
   933 			COMMAND		TParse1	IsKMatchOne	PBASE-F32-ParseBase-PublicApi-0040command3IsKMatchOne
   934 			COMMAND		TParse1	~		
   935 	END_TEST_BLOCK
   936 END_TESTCASE			PBASE-F32-Parse-PublicApi-0040
   937 
   938 
   939 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0041
   940 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0041
   941 //! @SYMAPI			T_Parse
   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.
   947 //!
   948 //! @SYMTestStatus		Implemented
   949 //! @SYMTestPriority		Critical
   950 //! @SYMTestExpectedResults	Value returned by IsKMatchAny() is the same as expected.
   951 //! @SYMTestType		CIT
   952 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   953 			CREATE_OBJECT	TParse	TParse1	
   954 			COMMAND		TParse1	new		
   955 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0041command2Set
   956 			COMMAND		TParse1	IsKMatchAny	PBASE-F32-ParseBase-PublicApi-0041command3IsKMatchAny
   957 			COMMAND		TParse1	~		
   958 	END_TEST_BLOCK
   959 END_TESTCASE			PBASE-F32-Parse-PublicApi-0041
   960 
   961 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0042
   962 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0042
   963 //! @SYMAPI			T_Parse
   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.
   969 //!
   970 //! @SYMTestStatus		Implemented
   971 //! @SYMTestPriority		Critical
   972 //! @SYMTestExpectedResults	Value returned by IsKMatchAny() is the same as expected.
   973 //! @SYMTestType		CIT
   974 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   975 			CREATE_OBJECT	TParse	TParse1	
   976 			COMMAND		TParse1	new		
   977 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0042command2Set
   978 			COMMAND		TParse1	IsKMatchAny	PBASE-F32-ParseBase-PublicApi-0042command3IsKMatchAny
   979 			COMMAND		TParse1	~		
   980 	END_TEST_BLOCK
   981 END_TESTCASE			PBASE-F32-Parse-PublicApi-0042
   982 
   983 
   984 
   985 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0043
   986 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0043
   987 //! @SYMAPI			T_Parse
   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.
   993 //!
   994 //! @SYMTestStatus		Implemented
   995 //! @SYMTestPriority		Critical
   996 //! @SYMTestExpectedResults	Value returned by IsNameWild() is the same as expected.
   997 //! @SYMTestType		CIT
   998 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
   999 			CREATE_OBJECT	TParse	TParse1	
  1000 			COMMAND		TParse1	new		
  1001 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0043command2Set
  1002 			COMMAND		TParse1	IsNameWild	PBASE-F32-ParseBase-PublicApi-0043command3IsNameWild
  1003 			COMMAND		TParse1	~		
  1004 	END_TEST_BLOCK
  1005 END_TESTCASE			PBASE-F32-Parse-PublicApi-0043
  1006 
  1007 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0044
  1008 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0044
  1009 //! @SYMAPI			T_Parse
  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.
  1015 //!
  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	
  1022 			COMMAND		TParse1	new		
  1023 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0044command2Set
  1024 			COMMAND		TParse1	IsNameWild	PBASE-F32-ParseBase-PublicApi-0044command3IsNameWild
  1025 			COMMAND		TParse1	~		
  1026 	END_TEST_BLOCK
  1027 END_TESTCASE			PBASE-F32-Parse-PublicApi-0044
  1028 
  1029 
  1030 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0045
  1031 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0045
  1032 //! @SYMAPI			T_Parse
  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.
  1038 //!
  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	
  1045 			COMMAND		TParse1	new		
  1046 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0045command2Set
  1047 			COMMAND		TParse1	IsExtWild	PBASE-F32-ParseBase-PublicApi-0045command3IsExtWild
  1048 			COMMAND		TParse1	~		
  1049 	END_TEST_BLOCK
  1050 END_TESTCASE			PBASE-F32-Parse-PublicApi-0045
  1051 
  1052 
  1053 START_TESTCASE 			PBASE-F32-Parse-PublicApi-0046
  1054 //! @SYMTestCaseID		PBASE-F32-Parse-PublicApi-0046
  1055 //! @SYMAPI			T_Parse
  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.
  1061 //!
  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	
  1068 			COMMAND		TParse1	new		
  1069 			COMMAND		TParse1	Set		PBASE-F32-ParseBase-PublicApi-0046command2Set
  1070 			COMMAND		TParse1	IsExtWild	PBASE-F32-ParseBase-PublicApi-0046command3IsExtWild
  1071 			COMMAND		TParse1	~		
  1072 	END_TEST_BLOCK
  1073 END_TESTCASE			PBASE-F32-Parse-PublicApi-0046
  1074