os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/scripts/PBASE-F32-Parse-Inherited-PublicApi-ANY.script
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/scripts/PBASE-F32-Parse-Inherited-PublicApi-ANY.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,1074 @@
1.4 +//
1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +//! @file
1.20 +//! @SYMTestSuiteName pbase-f32-sfsrv-publicapi-any
1.21 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
1.22 +//! @SYMScriptAuthor Dmitri Trofimov, Sergei Tveritin
1.23 +//! @SYMCreationDate 11/12/2006
1.24 +//! @SYMScriptDescription The test script contains API tests for the following functions of T_Parse class:
1.25 +//! T_Parse();
1.26 +//! TInt PopDir();
1.27 +//! TInt AddDir(const TDesC &aName);
1.28 +//! const TDesC &FullName() const;
1.29 +//! TPtrC Drive() const;
1.30 +//! TPtrC Path() const;
1.31 +//! TPtrC DriveAndPath() const;
1.32 +//! TPtrC Name() const;
1.33 +//! TPtrC Ext() const;
1.34 +//! TPtrC NameAndExt() const;
1.35 +//! TBool DrivePresent() const;
1.36 +//! TBool PathPresent() const;
1.37 +//! TBool NamePresent() const;
1.38 +//! TBool ExtPresent() const;
1.39 +//! TBool NameOrExtPresent() const;
1.40 +//! TBool IsRoot() const;
1.41 +//! TBool IsWild() const;
1.42 +//! TBool IsKMatchOne() const;
1.43 +//! TBool IsKMatchAny() const;
1.44 +//! TBool IsNameWild() const;
1.45 +//! TBool IsExtWild() const;
1.46 +
1.47 +
1.48 +LOAD_SUITE T_SfSrv
1.49 +//DELAY 5000
1.50 +
1.51 +
1.52 +
1.53 +
1.54 +START_TESTCASE PBASE-F32-Parse-PublicApi-0001
1.55 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0001
1.56 +//! @SYMAPI T_Parse
1.57 +//! @SYMTestCaseDesc FullName() test.
1.58 +//! Uses API elements: Set(), FullName()
1.59 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.60 +//! 2. Call FullName(). Expecting 'c:\dir1\dir2\filename.ext'
1.61 +//! 3. Delete TParse object.
1.62 +//!
1.63 +//! @SYMTestStatus Implemented
1.64 +//! @SYMTestPriority Critical
1.65 +//! @SYMTestExpectedResults The value returned by FullName() is the same as expected.
1.66 +//! @SYMTestType CIT
1.67 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.68 + CREATE_OBJECT TParse TParse1
1.69 + COMMAND TParse1 new
1.70 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0001command2Set
1.71 + COMMAND TParse1 FullName PBASE-F32-ParseBase-PublicApi-0001command3FullName
1.72 + COMMAND TParse1 ~
1.73 + END_TEST_BLOCK
1.74 +END_TESTCASE PBASE-F32-Parse-PublicApi-0001
1.75 +
1.76 +
1.77 +START_TESTCASE PBASE-F32-Parse-PublicApi-0002
1.78 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0002
1.79 +//! @SYMAPI T_Parse
1.80 +//! @SYMTestCaseDesc Drive() test where drive is present.
1.81 +//! Uses API elements: Set(), Drive()
1.82 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.83 +//! 2. Call Drive(). Expecting 'c:' on return.
1.84 +//! 3. Delete TParse object.
1.85 +//!
1.86 +//! @SYMTestStatus Implemented
1.87 +//! @SYMTestPriority Critical
1.88 +//! @SYMTestExpectedResults Value returned by Drive() is the same as expected.
1.89 +//! @SYMTestType CIT
1.90 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.91 + CREATE_OBJECT TParse TParse1
1.92 + COMMAND TParse1 new
1.93 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0002command2Set
1.94 + COMMAND TParse1 Drive PBASE-F32-ParseBase-PublicApi-0002command3Drive
1.95 + COMMAND TParse1 ~
1.96 + END_TEST_BLOCK
1.97 +END_TESTCASE PBASE-F32-Parse-PublicApi-0002
1.98 +
1.99 +START_TESTCASE PBASE-F32-Parse-PublicApi-0003
1.100 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0003
1.101 +//! @SYMAPI T_Parse
1.102 +//! @SYMTestCaseDesc Drive() test where drive is not present.
1.103 +//! Uses API elements: Set(), Drive()
1.104 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
1.105 +//! 2. Call Drive(). Expecting empty string.
1.106 +//! 3. Delete TParse object.
1.107 +//!
1.108 +//! @SYMTestStatus Implemented
1.109 +//! @SYMTestPriority Critical
1.110 +//! @SYMTestExpectedResults Value returned by Drive() is the same as expected.
1.111 +//! @SYMTestType CIT
1.112 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.113 + CREATE_OBJECT TParse TParse1
1.114 + COMMAND TParse1 new
1.115 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0003command2Set
1.116 + COMMAND TParse1 Drive PBASE-F32-ParseBase-PublicApi-0003command3Drive
1.117 + COMMAND TParse1 ~
1.118 + END_TEST_BLOCK
1.119 +END_TESTCASE PBASE-F32-Parse-PublicApi-0003
1.120 +
1.121 +START_TESTCASE PBASE-F32-Parse-PublicApi-0005
1.122 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0005
1.123 +//! @SYMAPI T_Parse
1.124 +//! @SYMTestCaseDesc Path() test where path is present.
1.125 +//! Uses API elements: {USE_SET} Path()
1.126 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.127 +//! 2. Call Path(). Expecting '\dir1\dir2\' on return.
1.128 +//! 3. Delete TParse object.
1.129 +//!
1.130 +//! @SYMTestStatus Implemented
1.131 +//! @SYMTestPriority Critical
1.132 +//! @SYMTestExpectedResults Value returned by Path() is the same as expected.
1.133 +//! @SYMTestType CIT
1.134 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.135 + CREATE_OBJECT TParse TParse1
1.136 + COMMAND TParse1 new
1.137 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0005command2Set
1.138 + COMMAND TParse1 Path PBASE-F32-ParseBase-PublicApi-0005command3Path
1.139 + COMMAND TParse1 ~
1.140 + END_TEST_BLOCK
1.141 +END_TESTCASE PBASE-F32-Parse-PublicApi-0005
1.142 +
1.143 +
1.144 +
1.145 +START_TESTCASE PBASE-F32-Parse-PublicApi-0006
1.146 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0006
1.147 +//! @SYMAPI T_Parse
1.148 +//! @SYMTestCaseDesc Path() test where path is not present.
1.149 +//! Uses API elements: Set(), Path()
1.150 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
1.151 +//! 2. Call Path(). Expecting ''(empty string) on return.
1.152 +//! 3. Delete TParse object.
1.153 +//!
1.154 +//! @SYMTestStatus Implemented
1.155 +//! @SYMTestPriority Critical
1.156 +//! @SYMTestExpectedResults Value returned by Path() is the same as expected.
1.157 +//! @SYMTestType CIT
1.158 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.159 + CREATE_OBJECT TParse TParse1
1.160 + COMMAND TParse1 new
1.161 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0006command2Set
1.162 + COMMAND TParse1 Path PBASE-F32-ParseBase-PublicApi-0006command3Path
1.163 + COMMAND TParse1 ~
1.164 + END_TEST_BLOCK
1.165 +END_TESTCASE PBASE-F32-Parse-PublicApi-0006
1.166 +
1.167 +START_TESTCASE PBASE-F32-Parse-PublicApi-0007
1.168 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0007
1.169 +//! @SYMAPI T_Parse
1.170 +//! @SYMTestCaseDesc DriveAndPath() test where passing full path with drive and filename.
1.171 +//! Uses API elements: Set(), DriveAndPath()
1.172 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.173 +//! 2. Call DriveAndPath(). Expecting 'c:\dir1\dir2\' on return.
1.174 +//! 3. Delete TParse object.
1.175 +//!
1.176 +//! @SYMTestStatus Implemented
1.177 +//! @SYMTestPriority Critical
1.178 +//! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected.
1.179 +//! @SYMTestType CIT
1.180 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.181 + CREATE_OBJECT TParse TParse1
1.182 + COMMAND TParse1 new
1.183 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0007command2Set
1.184 + COMMAND TParse1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0007command3DriveAndPath
1.185 + COMMAND TParse1 ~
1.186 + END_TEST_BLOCK
1.187 +END_TESTCASE PBASE-F32-Parse-PublicApi-0007
1.188 +
1.189 +START_TESTCASE PBASE-F32-Parse-PublicApi-0008
1.190 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0008
1.191 +//! @SYMAPI T_Parse
1.192 +//! @SYMTestCaseDesc DriveAndPath() test with passing only filename.
1.193 +//! Uses API elements: Set(), DriveAndPath()
1.194 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
1.195 +//! 2. Call DriveAndPath(). Expecting empty string.
1.196 +//! 3. Delete TParse object.
1.197 +//!
1.198 +//! @SYMTestStatus Implemented
1.199 +//! @SYMTestPriority Critical
1.200 +//! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected.
1.201 +//! @SYMTestType CIT
1.202 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.203 + CREATE_OBJECT TParse TParse1
1.204 + COMMAND TParse1 new
1.205 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0008command2Set
1.206 + COMMAND TParse1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0008command3DriveAndPath
1.207 + COMMAND TParse1 ~
1.208 + END_TEST_BLOCK
1.209 +END_TESTCASE PBASE-F32-Parse-PublicApi-0008
1.210 +
1.211 +START_TESTCASE PBASE-F32-Parse-PublicApi-0009
1.212 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0009
1.213 +//! @SYMAPI T_Parse
1.214 +//! @SYMTestCaseDesc DriveAndPath() test with passing path and filename, but without drive letter.
1.215 +//! Uses API elements: Set(), DriveAndPath()
1.216 +//! @SYMTestActions 1. Create TParse object. Call Set() passing '\dir1\filename.ext'.
1.217 +//! 2. Call DriveAndPath(). Expecting '\dir1\' on return.
1.218 +//! 3. Delete TParse object.
1.219 +//!
1.220 +//! @SYMTestStatus Implemented
1.221 +//! @SYMTestPriority Critical
1.222 +//! @SYMTestExpectedResults Value returned by DriveAndPath() is the same as expected.
1.223 +//! @SYMTestType CIT
1.224 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.225 + CREATE_OBJECT TParse TParse1
1.226 + COMMAND TParse1 new
1.227 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0009command2Set
1.228 + COMMAND TParse1 DriveAndPath PBASE-F32-ParseBase-PublicApi-0009command3DriveAndPath
1.229 + COMMAND TParse1 ~
1.230 + END_TEST_BLOCK
1.231 +END_TESTCASE PBASE-F32-Parse-PublicApi-0009
1.232 +
1.233 +
1.234 +
1.235 +START_TESTCASE PBASE-F32-Parse-PublicApi-0010
1.236 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0010
1.237 +//! @SYMAPI T_Parse
1.238 +//! @SYMTestCaseDesc Name() test passing complete path with filename and drive letter.
1.239 +//! Uses API elements: Set(), Name()
1.240 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.241 +//! 2. Call Name(). Expecting 'filename' on return.
1.242 +//! 3. Delete TParse object.
1.243 +//!
1.244 +//! @SYMTestStatus Implemented
1.245 +//! @SYMTestPriority Critical
1.246 +//! @SYMTestExpectedResults Value returned by Name() is the same as expected.
1.247 +//! @SYMTestType CIT
1.248 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.249 + CREATE_OBJECT TParse TParse1
1.250 + COMMAND TParse1 new
1.251 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0010command2Set
1.252 + COMMAND TParse1 Name PBASE-F32-ParseBase-PublicApi-0010command3Name
1.253 + COMMAND TParse1 ~
1.254 + END_TEST_BLOCK
1.255 +END_TESTCASE PBASE-F32-Parse-PublicApi-0010
1.256 +
1.257 +
1.258 +START_TESTCASE PBASE-F32-Parse-PublicApi-0011
1.259 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0011
1.260 +//! @SYMAPI T_Parse
1.261 +//! @SYMTestCaseDesc Name() test on path without filename.
1.262 +//! Uses API elements: Set(), Name()
1.263 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'.
1.264 +//! 2. Call Name(). Expecting ''(empty string) on return.
1.265 +//! 3. Delete TParse object.
1.266 +//!
1.267 +//! @SYMTestStatus Implemented
1.268 +//! @SYMTestPriority Critical
1.269 +//! @SYMTestExpectedResults Value returned by Name() is the same as expected.
1.270 +//! @SYMTestType CIT
1.271 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.272 + CREATE_OBJECT TParse TParse1
1.273 + COMMAND TParse1 new
1.274 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0011command2Set
1.275 + COMMAND TParse1 Name PBASE-F32-ParseBase-PublicApi-0011command3Name
1.276 + COMMAND TParse1 ~
1.277 + END_TEST_BLOCK
1.278 +END_TESTCASE PBASE-F32-Parse-PublicApi-0011
1.279 +
1.280 +START_TESTCASE PBASE-F32-Parse-PublicApi-0012
1.281 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0012
1.282 +//! @SYMAPI T_Parse
1.283 +//! @SYMTestCaseDesc Ext() test passing complete path with filename with extension and drive letter.
1.284 +//! Uses API elements: Set(), Ext()
1.285 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.286 +//! 2. Call Ext(). Expecting '.ext' on return.
1.287 +//! 3. Delete TParse object.
1.288 +//!
1.289 +//! @SYMTestStatus Implemented
1.290 +//! @SYMTestPriority Critical
1.291 +//! @SYMTestExpectedResults Value returned by Ext() is the same as expected.
1.292 +//! @SYMTestType CIT
1.293 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.294 + CREATE_OBJECT TParse TParse1
1.295 + COMMAND TParse1 new
1.296 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0012command2Set
1.297 + COMMAND TParse1 Ext PBASE-F32-ParseBase-PublicApi-0012command3Ext
1.298 + COMMAND TParse1 ~
1.299 + END_TEST_BLOCK
1.300 +END_TESTCASE PBASE-F32-Parse-PublicApi-0012
1.301 +
1.302 +START_TESTCASE PBASE-F32-Parse-PublicApi-0013
1.303 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0013
1.304 +//! @SYMAPI T_Parse
1.305 +//! @SYMTestCaseDesc Ext() test passing complete path with filename without extension.
1.306 +//! Uses API elements: Set(), Ext()
1.307 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename'.
1.308 +//! 2. Call Ext(). Expecting '' on return.
1.309 +//! 3. Delete TParse object.
1.310 +//!
1.311 +//! @SYMTestStatus Implemented
1.312 +//! @SYMTestPriority Critical
1.313 +//! @SYMTestExpectedResults Value returned by Ext() is the same as expected.
1.314 +//! @SYMTestType CIT
1.315 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.316 + CREATE_OBJECT TParse TParse1
1.317 + COMMAND TParse1 new
1.318 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0013command2Set
1.319 + COMMAND TParse1 Ext PBASE-F32-ParseBase-PublicApi-0013command3Ext
1.320 + COMMAND TParse1 ~
1.321 + END_TEST_BLOCK
1.322 +END_TESTCASE PBASE-F32-Parse-PublicApi-0013
1.323 +
1.324 +START_TESTCASE PBASE-F32-Parse-PublicApi-0014
1.325 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0014
1.326 +//! @SYMAPI T_Parse
1.327 +//! @SYMTestCaseDesc Ext() test passing complete path without filename and extension.
1.328 +//! Uses API elements: Set(), Ext()
1.329 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'.
1.330 +//! 2. Call Ext(). Expecting '' on return.
1.331 +//! 3. Delete TParse object.
1.332 +//!
1.333 +//! @SYMTestStatus Implemented
1.334 +//! @SYMTestPriority Critical
1.335 +//! @SYMTestExpectedResults Value returned by Ext() is the same as expected.
1.336 +//! @SYMTestType CIT
1.337 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.338 + CREATE_OBJECT TParse TParse1
1.339 + COMMAND TParse1 new
1.340 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0014command2Set
1.341 + COMMAND TParse1 Ext PBASE-F32-ParseBase-PublicApi-0014command3Ext
1.342 + COMMAND TParse1 ~
1.343 + END_TEST_BLOCK
1.344 +END_TESTCASE PBASE-F32-Parse-PublicApi-0014
1.345 +
1.346 +
1.347 +START_TESTCASE PBASE-F32-Parse-PublicApi-0015
1.348 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0015
1.349 +//! @SYMAPI T_Parse
1.350 +//! @SYMTestCaseDesc NameAndExt() test where name and extension is present.
1.351 +//! Uses API elements: Set(), NameAndExt().
1.352 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.353 +//! 2. Call NameAndExt(). Expecting 'filename.ext' on return.
1.354 +//! 3. Delete TParse object.
1.355 +//!
1.356 +//! @SYMTestStatus Implemented
1.357 +//! @SYMTestPriority Critical
1.358 +//! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected.
1.359 +//! @SYMTestType CIT
1.360 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.361 + CREATE_OBJECT TParse TParse1
1.362 + COMMAND TParse1 new
1.363 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0015command2Set
1.364 + COMMAND TParse1 NameAndExt PBASE-F32-ParseBase-PublicApi-0015command3NameAndExt
1.365 + COMMAND TParse1 ~
1.366 + END_TEST_BLOCK
1.367 +END_TESTCASE PBASE-F32-Parse-PublicApi-0015
1.368 +
1.369 +START_TESTCASE PBASE-F32-Parse-PublicApi-0016
1.370 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0016
1.371 +//! @SYMAPI T_Parse
1.372 +//! @SYMTestCaseDesc NameAndExt() test where name and extension is not present.
1.373 +//! Uses API elements: Set(), NameAndExt().
1.374 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'.
1.375 +//! 2. Call NameAndExt(). Expecting ''(empty string) on return.
1.376 +//! 3. Delete TParse object.
1.377 +//!
1.378 +//! @SYMTestStatus Implemented
1.379 +//! @SYMTestPriority Critical
1.380 +//! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected.
1.381 +//! @SYMTestType CIT
1.382 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.383 + CREATE_OBJECT TParse TParse1
1.384 + COMMAND TParse1 new
1.385 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0016command2Set
1.386 + COMMAND TParse1 NameAndExt PBASE-F32-ParseBase-PublicApi-0016command3NameAndExt
1.387 + COMMAND TParse1 ~
1.388 + END_TEST_BLOCK
1.389 +END_TESTCASE PBASE-F32-Parse-PublicApi-0016
1.390 +
1.391 +START_TESTCASE PBASE-F32-Parse-PublicApi-0017
1.392 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0017
1.393 +//! @SYMAPI T_Parse
1.394 +//! @SYMTestCaseDesc NameAndExt() test with full path and filename, but without extension
1.395 +//! Uses API elements: Set(), NameAndExt().
1.396 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename'.
1.397 +//! 2. Call NameAndExt(). Expecting 'filename' on return.
1.398 +//! 3. Delete TParse object.
1.399 +//!
1.400 +//! @SYMTestStatus Implemented
1.401 +//! @SYMTestPriority Critical
1.402 +//! @SYMTestExpectedResults Value returned by NameAndExt() is the same as expected.
1.403 +//! @SYMTestType CIT
1.404 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.405 + CREATE_OBJECT TParse TParse1
1.406 + COMMAND TParse1 new
1.407 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0017command2Set
1.408 + COMMAND TParse1 NameAndExt PBASE-F32-ParseBase-PublicApi-0017command3NameAndExt
1.409 + COMMAND TParse1 ~
1.410 + END_TEST_BLOCK
1.411 +END_TESTCASE PBASE-F32-Parse-PublicApi-0017
1.412 +
1.413 +
1.414 +
1.415 +START_TESTCASE PBASE-F32-Parse-PublicApi-0018
1.416 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0018
1.417 +//! @SYMAPI T_Parse
1.418 +//! @SYMTestCaseDesc DrivePresent() test where drive is present.
1.419 +//! Uses API elements: Set(), DrivePresent().
1.420 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.421 +//! 2. Call DrivePresent(). Expecting TRUE on return.
1.422 +//! 3. Delete TParse object.
1.423 +//!
1.424 +//! @SYMTestStatus Implemented
1.425 +//! @SYMTestPriority Critical
1.426 +//! @SYMTestExpectedResults Value returned by DrivePresent() is the same as expected.
1.427 +//! @SYMTestType CIT
1.428 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.429 + CREATE_OBJECT TParse TParse1
1.430 + COMMAND TParse1 new
1.431 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0018command2Set
1.432 + COMMAND TParse1 DrivePresent PBASE-F32-ParseBase-PublicApi-0018command3DrivePresent
1.433 + COMMAND TParse1 ~
1.434 + END_TEST_BLOCK
1.435 +END_TESTCASE PBASE-F32-Parse-PublicApi-0018
1.436 +
1.437 +
1.438 +START_TESTCASE PBASE-F32-Parse-PublicApi-0019
1.439 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0019
1.440 +//! @SYMAPI T_Parse
1.441 +//! @SYMTestCaseDesc DrivePresent() test, where drive is not present.
1.442 +//! Uses API elements: DrivePresent().
1.443 +//! @SYMTestActions 1. Create TParse object. Call Set() passing '\dir1\dir2\filename.ext'.
1.444 +//! 2. Call DrivePresent(). Expecting FALSE on return.
1.445 +//! 3. Delete TParse object.
1.446 +//!
1.447 +//! @SYMTestStatus Implemented
1.448 +//! @SYMTestPriority Critical
1.449 +//! @SYMTestExpectedResults Value returned by DrivePresent() is the same as expected.
1.450 +//! @SYMTestType CIT
1.451 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.452 + CREATE_OBJECT TParse TParse1
1.453 + COMMAND TParse1 new
1.454 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0019command2Set
1.455 + COMMAND TParse1 DrivePresent PBASE-F32-ParseBase-PublicApi-0019command3DrivePresent
1.456 + COMMAND TParse1 ~
1.457 + END_TEST_BLOCK
1.458 +END_TESTCASE PBASE-F32-Parse-PublicApi-0019
1.459 +
1.460 +
1.461 +START_TESTCASE PBASE-F32-Parse-PublicApi-0020
1.462 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0020
1.463 +//! @SYMAPI T_Parse
1.464 +//! @SYMTestCaseDesc PathPresent() test, where path is present.
1.465 +//! Uses API elements: Set(), PathPresent().
1.466 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.467 +//! 2. Call PathPresent(). Expecting TRUE on return .
1.468 +//! 3. Delete TParse object.
1.469 +//!
1.470 +//! @SYMTestStatus Implemented
1.471 +//! @SYMTestPriority Critical
1.472 +//! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected.
1.473 +//! @SYMTestType CIT
1.474 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.475 + CREATE_OBJECT TParse TParse1
1.476 + COMMAND TParse1 new
1.477 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0020command2Set
1.478 + COMMAND TParse1 PathPresent PBASE-F32-ParseBase-PublicApi-0020command3PathPresent
1.479 + COMMAND TParse1 ~
1.480 + END_TEST_BLOCK
1.481 +END_TESTCASE PBASE-F32-Parse-PublicApi-0020
1.482 +
1.483 +
1.484 +START_TESTCASE PBASE-F32-Parse-PublicApi-0021
1.485 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0021
1.486 +//! @SYMAPI T_Parse
1.487 +//! @SYMTestCaseDesc PathPresent() test, where path is not present.
1.488 +//! Uses API elements: PathPresent().
1.489 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'filename.ext'.
1.490 +//! 2. Call PathPresent(). Expecting FALSE on return.
1.491 +//! 3. Delete TParse object.
1.492 +//!
1.493 +//! @SYMTestStatus Implemented
1.494 +//! @SYMTestPriority Critical
1.495 +//! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected.
1.496 +//! @SYMTestType CIT
1.497 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.498 + CREATE_OBJECT TParse TParse1
1.499 + COMMAND TParse1 new
1.500 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0021command2Set
1.501 + COMMAND TParse1 PathPresent PBASE-F32-ParseBase-PublicApi-0021command2PathPresent
1.502 + COMMAND TParse1 ~
1.503 + END_TEST_BLOCK
1.504 +END_TESTCASE PBASE-F32-Parse-PublicApi-0021
1.505 +
1.506 +START_TESTCASE PBASE-F32-Parse-PublicApi-0022
1.507 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0022
1.508 +//! @SYMAPI T_Parse
1.509 +//! @SYMTestCaseDesc PathPresent() test with wildcard as path
1.510 +//! Uses API elements: Set(), PathPresent().
1.511 +//! @SYMTestActions 1. Create TParse object. Call Set() passing '*\filename.ext'.
1.512 +//! 2. Delete TParse object.
1.513 +//!
1.514 +//! @SYMTestStatus Implemented
1.515 +//! @SYMTestPriority Critical
1.516 +//! @SYMTestExpectedResults Value returned by PathPresent() is the same as expected.
1.517 +//! @SYMTestType CIT
1.518 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.519 + CREATE_OBJECT TParse TParse1
1.520 + COMMAND TParse1 new
1.521 + COMMAND !Error=-28 TParse1 Set PBASE-F32-ParseBase-PublicApi-0022command2Set
1.522 + COMMAND TParse1 ~
1.523 + END_TEST_BLOCK
1.524 +END_TESTCASE PBASE-F32-Parse-PublicApi-0022
1.525 +
1.526 +
1.527 +START_TESTCASE PBASE-F32-Parse-PublicApi-0023
1.528 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0023
1.529 +//! @SYMAPI T_Parse
1.530 +//! @SYMTestCaseDesc NamePresent() test, where name is present.
1.531 +//! Uses API elements: Set(), NamePresent().
1.532 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'.
1.533 +//! 2. Call NamePresent(). Expecting TRUE on return.
1.534 +//! 3. Delete TParse object.
1.535 +//!
1.536 +//! @SYMTestStatus Implemented
1.537 +//! @SYMTestPriority Critical
1.538 +//! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected.
1.539 +//! @SYMTestType CIT
1.540 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.541 + CREATE_OBJECT TParse TParse1
1.542 + COMMAND TParse1 new
1.543 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0023command2Set
1.544 + COMMAND TParse1 NamePresent PBASE-F32-ParseBase-PublicApi-0023command3NamePresent
1.545 + COMMAND TParse1 ~
1.546 + END_TEST_BLOCK
1.547 +END_TESTCASE PBASE-F32-Parse-PublicApi-0023
1.548 +
1.549 +
1.550 +START_TESTCASE PBASE-F32-Parse-PublicApi-0024
1.551 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0024
1.552 +//! @SYMAPI T_Parse
1.553 +//! @SYMTestCaseDesc NamePresent() test, where name is not present.
1.554 +//! Uses API elements: NamePresent().
1.555 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'
1.556 +//! 2. Call NamePresent(). Expecting FALSE on return.
1.557 +//! 3. Delete TParse object.
1.558 +//!
1.559 +//! @SYMTestStatus Implemented
1.560 +//! @SYMTestPriority Critical
1.561 +//! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected.
1.562 +//! @SYMTestType CIT
1.563 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.564 + CREATE_OBJECT TParse TParse1
1.565 + COMMAND TParse1 new
1.566 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0024command2Set
1.567 + COMMAND TParse1 NamePresent PBASE-F32-ParseBase-PublicApi-0024command2NamePresent
1.568 + COMMAND TParse1 ~
1.569 + END_TEST_BLOCK
1.570 +END_TESTCASE PBASE-F32-Parse-PublicApi-0024
1.571 +
1.572 +START_TESTCASE PBASE-F32-Parse-PublicApi-0025
1.573 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0025
1.574 +//! @SYMAPI T_Parse
1.575 +//! @SYMTestCaseDesc NamePresent() test with wildcards in name.
1.576 +//! Uses API elements: Set(), NamePresent().
1.577 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'.
1.578 +//! 2. Call NamePresent(). Expecting TRUE on return.
1.579 +//! 3. Delete TParse object.
1.580 +//!
1.581 +//! @SYMTestStatus Implemented
1.582 +//! @SYMTestPriority Critical
1.583 +//! @SYMTestExpectedResults Value returned by NamePresent() is the same as expected.
1.584 +//! @SYMTestType CIT
1.585 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.586 + CREATE_OBJECT TParse TParse1
1.587 + COMMAND TParse1 new
1.588 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0025command2Set
1.589 + COMMAND TParse1 NamePresent PBASE-F32-ParseBase-PublicApi-0025command3NamePresent
1.590 + COMMAND TParse1 ~
1.591 + END_TEST_BLOCK
1.592 +END_TESTCASE PBASE-F32-Parse-PublicApi-0025
1.593 +
1.594 +
1.595 +START_TESTCASE PBASE-F32-Parse-PublicApi-0026
1.596 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0026
1.597 +//! @SYMAPI T_Parse
1.598 +//! @SYMTestCaseDesc ExtPresent() test, where extension is present.
1.599 +//! Uses API elements: Set(), ExtPresent().
1.600 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
1.601 +//! 2. Call ExtPresent(). Expecting TRUE on return.
1.602 +//! 3 Delete TParse object.
1.603 +//!
1.604 +//! @SYMTestStatus Implemented
1.605 +//! @SYMTestPriority Critical
1.606 +//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
1.607 +//! @SYMTestType CIT
1.608 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.609 + CREATE_OBJECT TParse TParse1
1.610 + COMMAND TParse1 new
1.611 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0026command2Set
1.612 + COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0026command3ExtPresent
1.613 + COMMAND TParse1 ~
1.614 + END_TEST_BLOCK
1.615 +END_TESTCASE PBASE-F32-Parse-PublicApi-0026
1.616 +
1.617 +
1.618 +START_TESTCASE PBASE-F32-Parse-PublicApi-0027
1.619 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0027
1.620 +//! @SYMAPI T_Parse
1.621 +//! @SYMTestCaseDesc ExtPresent() test where extension is not present.
1.622 +//! Uses API elements: ExtPresent().
1.623 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename'
1.624 +//! 2. Call ExtPresent(). Expecting FALSE on return.
1.625 +//! 3. Delete TParse object.
1.626 +//!
1.627 +//! @SYMTestStatus Implemented
1.628 +//! @SYMTestPriority Critical
1.629 +//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
1.630 +//! @SYMTestType CIT
1.631 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.632 + CREATE_OBJECT TParse TParse1
1.633 + COMMAND TParse1 new
1.634 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0027command2Set
1.635 + COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0027command2ExtPresent
1.636 + COMMAND TParse1 ~
1.637 + END_TEST_BLOCK
1.638 +END_TESTCASE PBASE-F32-Parse-PublicApi-0027
1.639 +
1.640 +
1.641 +START_TESTCASE PBASE-F32-Parse-PublicApi-0028
1.642 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0028
1.643 +//! @SYMAPI T_Parse
1.644 +//! @SYMTestCaseDesc ExtPresent() test with wildcards in name.
1.645 +//! Uses API elements: ExtPresent().
1.646 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
1.647 +//! 2. Call ExtPresent(). Expecting FALSE on return.
1.648 +//! 3. Delete TParse object.
1.649 +//!
1.650 +//! @SYMTestStatus Implemented
1.651 +//! @SYMTestPriority Critical
1.652 +//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
1.653 +//! @SYMTestType CIT
1.654 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.655 + CREATE_OBJECT TParse TParse1
1.656 + COMMAND TParse1 new
1.657 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0028command2Set
1.658 + COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0028command3ExtPresent
1.659 + COMMAND TParse1 ~
1.660 + END_TEST_BLOCK
1.661 +END_TESTCASE PBASE-F32-Parse-PublicApi-0028
1.662 +
1.663 +
1.664 +START_TESTCASE PBASE-F32-Parse-PublicApi-0029
1.665 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0029
1.666 +//! @SYMAPI T_Parse
1.667 +//! @SYMTestCaseDesc ExtPresent() test with wildcards in extension.
1.668 +//! Uses API elements: ExtPresent().
1.669 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.*'
1.670 +//! 2. Call ExtPresent(). Expecting FALSE on return.
1.671 +//! 3. Delete TParse object.
1.672 +//!
1.673 +//! @SYMTestStatus Implemented
1.674 +//! @SYMTestPriority Critical
1.675 +//! @SYMTestExpectedResults Value returned by ExtPresent() is the same as expected.
1.676 +//! @SYMTestType CIT
1.677 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.678 + CREATE_OBJECT TParse TParse1
1.679 + COMMAND TParse1 new
1.680 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0029command2Set
1.681 + COMMAND TParse1 ExtPresent PBASE-F32-ParseBase-PublicApi-0029command3ExtPresent
1.682 + COMMAND TParse1 ~
1.683 + END_TEST_BLOCK
1.684 +END_TESTCASE PBASE-F32-Parse-PublicApi-0029
1.685 +
1.686 +
1.687 +START_TESTCASE PBASE-F32-Parse-PublicApi-0030
1.688 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0030
1.689 +//! @SYMAPI T_Parse
1.690 +//! @SYMTestCaseDesc NameOrExtPresent() test where name and extension present.
1.691 +//! Uses API elements: Set(), NameOrExtPresent().
1.692 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
1.693 +//! 2. Call NameOrExtPresent(). Expecting TRUE on return.
1.694 +//! 3. Delete TParse object.
1.695 +//!
1.696 +//! @SYMTestStatus Implemented
1.697 +//! @SYMTestPriority Critical
1.698 +//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
1.699 +//! @SYMTestType CIT
1.700 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.701 + CREATE_OBJECT TParse TParse1
1.702 + COMMAND TParse1 new
1.703 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0030command2Set
1.704 + COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0030command3NameOrExtPresent
1.705 + COMMAND TParse1 ~
1.706 + END_TEST_BLOCK
1.707 +END_TESTCASE PBASE-F32-Parse-PublicApi-0030
1.708 +
1.709 +
1.710 +START_TESTCASE PBASE-F32-Parse-PublicApi-0031
1.711 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0031
1.712 +//! @SYMAPI T_Parse
1.713 +//! @SYMAPI T_Parse
1.714 +//! @SYMTestCaseDesc NameOrExtPresent() test where name and extension is not present.
1.715 +//! Uses API elements: Set(), NameOrExtPresent().
1.716 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\'
1.717 +//! 2. Call NameOrExtPresent(). Expecting FALSE on return.
1.718 +//! 3. Delete TParse object.
1.719 +//!
1.720 +//! @SYMTestStatus Implemented
1.721 +//! @SYMTestPriority Critical
1.722 +//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
1.723 +//! @SYMTestType CIT
1.724 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.725 + CREATE_OBJECT TParse TParse1
1.726 + COMMAND TParse1 new
1.727 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0031command2Set
1.728 + COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0031command2NameOrExtPresent
1.729 + COMMAND TParse1 ~
1.730 + END_TEST_BLOCK
1.731 +END_TESTCASE PBASE-F32-Parse-PublicApi-0031
1.732 +
1.733 +
1.734 +START_TESTCASE PBASE-F32-Parse-PublicApi-0032
1.735 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0032
1.736 +//! @SYMAPI T_Parse
1.737 +//! @SYMTestCaseDesc NameOrExtPresent() test with wildcards in name.
1.738 +//! Uses API elements: Set(), NameOrExtPresent().
1.739 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
1.740 +//! 2. Call NameOrExtPresent(). Expecting TRUE on return.
1.741 +//! 3. Delete TParse object.
1.742 +//!
1.743 +//! @SYMTestStatus Implemented
1.744 +//! @SYMTestPriority Critical
1.745 +//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
1.746 +//! @SYMTestType CIT
1.747 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.748 + CREATE_OBJECT TParse TParse1
1.749 + COMMAND TParse1 new
1.750 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0032command2Set
1.751 + COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0032command3NameOrExtPresent
1.752 + COMMAND TParse1 ~
1.753 + END_TEST_BLOCK
1.754 +END_TESTCASE PBASE-F32-Parse-PublicApi-0032
1.755 +
1.756 +
1.757 +START_TESTCASE PBASE-F32-Parse-PublicApi-0033
1.758 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0033
1.759 +//! @SYMAPI T_Parse
1.760 +//! @SYMTestCaseDesc NameOrExtPresent() test with wildcards in extension.
1.761 +//! Uses API elements: Set(), NameOrExtPresent().
1.762 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.*'
1.763 +//! 2. Call NameOrExtPresent(). Expecting TRUE on return.
1.764 +//! 3. Delete TParse object.
1.765 +//!
1.766 +//! @SYMTestStatus Implemented
1.767 +//! @SYMTestPriority Critical
1.768 +//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
1.769 +//! @SYMTestType CIT
1.770 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.771 + CREATE_OBJECT TParse TParse1
1.772 + COMMAND TParse1 new
1.773 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0033command2Set
1.774 + COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0033command3NameOrExtPresent
1.775 + COMMAND TParse1 ~
1.776 + END_TEST_BLOCK
1.777 +END_TESTCASE PBASE-F32-Parse-PublicApi-0033
1.778 +
1.779 +START_TESTCASE PBASE-F32-Parse-PublicApi-0034
1.780 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0034
1.781 +//! @SYMAPI T_Parse
1.782 +//! @SYMTestCaseDesc NameOrExtPresent() test whre wildcard as filename and extension.
1.783 +//! Uses API elements: Set(), NameOrExtPresent().
1.784 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*'
1.785 +//! 2. Call NameOrExtPresent(). Expecting TRUE on return.
1.786 +//! 3. Delete TParse object.
1.787 +//!
1.788 +//! @SYMTestStatus Implemented
1.789 +//! @SYMTestPriority Critical
1.790 +//! @SYMTestExpectedResults Value returned by NameOrExtPresent() is the same as expected.
1.791 +//! @SYMTestType CIT
1.792 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.793 + CREATE_OBJECT TParse TParse1
1.794 + COMMAND TParse1 new
1.795 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0034command2Set
1.796 + COMMAND TParse1 NameOrExtPresent PBASE-F32-ParseBase-PublicApi-0034command3NameOrExtPresent
1.797 + COMMAND TParse1 ~
1.798 + END_TEST_BLOCK
1.799 +END_TESTCASE PBASE-F32-Parse-PublicApi-0034
1.800 +
1.801 +
1.802 +START_TESTCASE PBASE-F32-Parse-PublicApi-0035
1.803 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0035
1.804 +//! @SYMAPI T_Parse
1.805 +//! @SYMTestCaseDesc IsRoot() test where path is root.
1.806 +//! Uses API elements: Set(), IsRoot().
1.807 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\'
1.808 +//! 2. Call IsRoot(). Expecting TRUE on return.
1.809 +//! 3. Delete TParse object.
1.810 +//!
1.811 +//! @SYMTestStatus Implemented
1.812 +//! @SYMTestPriority Critical
1.813 +//! @SYMTestExpectedResults Value returned by IsRoot() is the same as expected.
1.814 +//! @SYMTestType CIT
1.815 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.816 + CREATE_OBJECT TParse TParse1
1.817 + COMMAND TParse1 new
1.818 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0035command2Set
1.819 + COMMAND TParse1 IsRoot PBASE-F32-ParseBase-PublicApi-0035command3IsRoot
1.820 + COMMAND TParse1 ~
1.821 + END_TEST_BLOCK
1.822 +END_TESTCASE PBASE-F32-Parse-PublicApi-0035
1.823 +
1.824 +
1.825 +START_TESTCASE PBASE-F32-Parse-PublicApi-0036
1.826 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0036
1.827 +//! @SYMAPI T_Parse
1.828 +//! @SYMTestCaseDesc IsRoot() test where path is not root.
1.829 +//! Uses API elements: Set(), IsRoot().
1.830 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\'
1.831 +//! 2. Call IsRoot(). Expecting FALSE on return.
1.832 +//! 3. Delete TParse object.
1.833 +//!
1.834 +//! @SYMTestStatus Implemented
1.835 +//! @SYMTestPriority Critical
1.836 +//! @SYMTestExpectedResults Value returned by IsRoot() is the same as expected.
1.837 +//! @SYMTestType CIT
1.838 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.839 + CREATE_OBJECT TParse TParse1
1.840 + COMMAND TParse1 new
1.841 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0036command2Set
1.842 + COMMAND TParse1 IsRoot PBASE-F32-ParseBase-PublicApi-0036command3IsRoot
1.843 + COMMAND TParse1 ~
1.844 + END_TEST_BLOCK
1.845 +END_TESTCASE PBASE-F32-Parse-PublicApi-0036
1.846 +
1.847 +
1.848 +
1.849 +START_TESTCASE PBASE-F32-Parse-PublicApi-0037
1.850 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0037
1.851 +//! @SYMAPI T_Parse
1.852 +//! @SYMTestCaseDesc IsWild() test where path has a wildcard.
1.853 +//! Uses API elements: Set(), IsWild().
1.854 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dri1\dir2\*.ext'
1.855 +//! 2. Call IsWild(). Expecting TRUE on return.
1.856 +//! 3. Delete TParse object.
1.857 +//!
1.858 +//! @SYMTestStatus Implemented
1.859 +//! @SYMTestPriority Critical
1.860 +//! @SYMTestExpectedResults Value returned by IsWild() is the same as expected.
1.861 +//! @SYMTestType CIT
1.862 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.863 + CREATE_OBJECT TParse TParse1
1.864 + COMMAND TParse1 new
1.865 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0037command2Set
1.866 + COMMAND TParse1 IsWild PBASE-F32-ParseBase-PublicApi-0037command3IsWild
1.867 + COMMAND TParse1 ~
1.868 + END_TEST_BLOCK
1.869 +END_TESTCASE PBASE-F32-Parse-PublicApi-0037
1.870 +
1.871 +
1.872 +START_TESTCASE PBASE-F32-Parse-PublicApi-0038
1.873 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0038
1.874 +//! @SYMAPI T_Parse
1.875 +//! @SYMTestCaseDesc IsWild() test where path has not a wildcard.
1.876 +//! Uses API elements: Set(), IsWild().
1.877 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\nowildcras.ext'
1.878 +//! 2. Call IsWild(). Expecting FALSE on return.
1.879 +//! 3. Delete TParse object.
1.880 +//!
1.881 +//! @SYMTestStatus Implemented
1.882 +//! @SYMTestPriority Critical
1.883 +//! @SYMTestExpectedResults Value returned by IsWild() is the same as expected.
1.884 +//! @SYMTestType CIT
1.885 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.886 + CREATE_OBJECT TParse TParse1
1.887 + COMMAND TParse1 new
1.888 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0038command2Set
1.889 + COMMAND TParse1 IsWild PBASE-F32-ParseBase-PublicApi-0038command3IsWild
1.890 + COMMAND TParse1 ~
1.891 + END_TEST_BLOCK
1.892 +END_TESTCASE PBASE-F32-Parse-PublicApi-0038
1.893 +
1.894 +
1.895 +
1.896 +START_TESTCASE PBASE-F32-Parse-PublicApi-0039
1.897 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0039
1.898 +//! @SYMAPI T_Parse
1.899 +//! @SYMTestCaseDesc IsKMatchOne() test where the name contains a question mark wildcard.
1.900 +//! Uses API elements: Set(), IsKMatchOne().
1.901 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\?.ext'
1.902 +//! 2. Call IsKMatchOne(). Expecting TRUE on return.
1.903 +//! 3. Delete TParse object.
1.904 +//!
1.905 +//! @SYMTestStatus Implemented
1.906 +//! @SYMTestPriority Critical
1.907 +//! @SYMTestExpectedResults Value returned by IsKMatchOne() is the same as expected.
1.908 +//! @SYMTestType CIT
1.909 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.910 + CREATE_OBJECT TParse TParse1
1.911 + COMMAND TParse1 new
1.912 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0039command2Set
1.913 + COMMAND TParse1 IsKMatchOne PBASE-F32-ParseBase-PublicApi-0039command3IsKMatchOne
1.914 + COMMAND TParse1 ~
1.915 + END_TEST_BLOCK
1.916 +END_TESTCASE PBASE-F32-Parse-PublicApi-0039
1.917 +
1.918 +
1.919 +START_TESTCASE PBASE-F32-Parse-PublicApi-0040
1.920 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0040
1.921 +//! @SYMAPI T_Parse
1.922 +//! @SYMTestCaseDesc IsKMatchOne() test where name of file contains asterisk wildcard.
1.923 +//! Uses API elements: Set(), IsKMatchOne().
1.924 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
1.925 +//! 2. Call IsKMatchOne(). Expecting FALSE on return.
1.926 +//! 3. Delete TParse object.
1.927 +//!
1.928 +//! @SYMTestStatus Implemented
1.929 +//! @SYMTestPriority Critical
1.930 +//! @SYMTestExpectedResults Value returned by IsKMatchOne() is the same as expected.
1.931 +//! @SYMTestType CIT
1.932 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.933 + CREATE_OBJECT TParse TParse1
1.934 + COMMAND TParse1 new
1.935 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0040command2Set
1.936 + COMMAND TParse1 IsKMatchOne PBASE-F32-ParseBase-PublicApi-0040command3IsKMatchOne
1.937 + COMMAND TParse1 ~
1.938 + END_TEST_BLOCK
1.939 +END_TESTCASE PBASE-F32-Parse-PublicApi-0040
1.940 +
1.941 +
1.942 +START_TESTCASE PBASE-F32-Parse-PublicApi-0041
1.943 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0041
1.944 +//! @SYMAPI T_Parse
1.945 +//! @SYMTestCaseDesc IsKMatchAny() test where name of file contains asterisk wildcard.
1.946 +//! Uses API elements: Set(), IsKMatchAny().
1.947 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'
1.948 +//! 2. Call IsKMatchAny(). Expecting TRUE on return.
1.949 +//! 3. Delete TParse object.
1.950 +//!
1.951 +//! @SYMTestStatus Implemented
1.952 +//! @SYMTestPriority Critical
1.953 +//! @SYMTestExpectedResults Value returned by IsKMatchAny() is the same as expected.
1.954 +//! @SYMTestType CIT
1.955 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.956 + CREATE_OBJECT TParse TParse1
1.957 + COMMAND TParse1 new
1.958 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0041command2Set
1.959 + COMMAND TParse1 IsKMatchAny PBASE-F32-ParseBase-PublicApi-0041command3IsKMatchAny
1.960 + COMMAND TParse1 ~
1.961 + END_TEST_BLOCK
1.962 +END_TESTCASE PBASE-F32-Parse-PublicApi-0041
1.963 +
1.964 +START_TESTCASE PBASE-F32-Parse-PublicApi-0042
1.965 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0042
1.966 +//! @SYMAPI T_Parse
1.967 +//! @SYMTestCaseDesc IsKMatchAny() test where name contains a question mark wildcard.
1.968 +//! Uses API elements: Set(), IsKMatchAny().
1.969 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\?.ext'
1.970 +//! 2. Call IsKMatchAny(). Expecting FALSE on return.
1.971 +//! 3. Delete TParse object.
1.972 +//!
1.973 +//! @SYMTestStatus Implemented
1.974 +//! @SYMTestPriority Critical
1.975 +//! @SYMTestExpectedResults Value returned by IsKMatchAny() is the same as expected.
1.976 +//! @SYMTestType CIT
1.977 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.978 + CREATE_OBJECT TParse TParse1
1.979 + COMMAND TParse1 new
1.980 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0042command2Set
1.981 + COMMAND TParse1 IsKMatchAny PBASE-F32-ParseBase-PublicApi-0042command3IsKMatchAny
1.982 + COMMAND TParse1 ~
1.983 + END_TEST_BLOCK
1.984 +END_TESTCASE PBASE-F32-Parse-PublicApi-0042
1.985 +
1.986 +
1.987 +
1.988 +START_TESTCASE PBASE-F32-Parse-PublicApi-0043
1.989 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0043
1.990 +//! @SYMAPI T_Parse
1.991 +//! @SYMTestCaseDesc IsNameWild() test where name contains asterisk wildcard.
1.992 +//! Uses API elements: Set(), IsNameWild().
1.993 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\*.ext'.
1.994 +//! 2. Call IsNameWild(). Expecting TRUE on return.
1.995 +//! 3. Delete TParse object.
1.996 +//!
1.997 +//! @SYMTestStatus Implemented
1.998 +//! @SYMTestPriority Critical
1.999 +//! @SYMTestExpectedResults Value returned by IsNameWild() is the same as expected.
1.1000 +//! @SYMTestType CIT
1.1001 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.1002 + CREATE_OBJECT TParse TParse1
1.1003 + COMMAND TParse1 new
1.1004 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0043command2Set
1.1005 + COMMAND TParse1 IsNameWild PBASE-F32-ParseBase-PublicApi-0043command3IsNameWild
1.1006 + COMMAND TParse1 ~
1.1007 + END_TEST_BLOCK
1.1008 +END_TESTCASE PBASE-F32-Parse-PublicApi-0043
1.1009 +
1.1010 +START_TESTCASE PBASE-F32-Parse-PublicApi-0044
1.1011 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0044
1.1012 +//! @SYMAPI T_Parse
1.1013 +//! @SYMTestCaseDesc IsNameWild() test where name not contains a wildcard.
1.1014 +//! Uses API elements: Set(), IsNameWild().
1.1015 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
1.1016 +//! 2. Call IsNameWild(). Expecting FALSE on return.
1.1017 +//! 3. Delete TParse object.
1.1018 +//!
1.1019 +//! @SYMTestStatus Implemented
1.1020 +//! @SYMTestPriority Critical
1.1021 +//! @SYMTestExpectedResults Value returned by IsNameWild() is the same as expected.
1.1022 +//! @SYMTestType CIT
1.1023 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.1024 + CREATE_OBJECT TParse TParse1
1.1025 + COMMAND TParse1 new
1.1026 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0044command2Set
1.1027 + COMMAND TParse1 IsNameWild PBASE-F32-ParseBase-PublicApi-0044command3IsNameWild
1.1028 + COMMAND TParse1 ~
1.1029 + END_TEST_BLOCK
1.1030 +END_TESTCASE PBASE-F32-Parse-PublicApi-0044
1.1031 +
1.1032 +
1.1033 +START_TESTCASE PBASE-F32-Parse-PublicApi-0045
1.1034 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0045
1.1035 +//! @SYMAPI T_Parse
1.1036 +//! @SYMTestCaseDesc IsExtWild() test where extension contains asterisk wildcard.
1.1037 +//! Uses API elements: Set(), IsExtWild().
1.1038 +//! @SYMTestActions 1. Create TParse object. Call Set() passed 'c:\dir1\dir2\filename.*'
1.1039 +//! 2. Call IsExtWild(). Expecting TRUE on return.
1.1040 +//! 3. Delete TParse object.
1.1041 +//!
1.1042 +//! @SYMTestStatus Implemented
1.1043 +//! @SYMTestPriority Critical
1.1044 +//! @SYMTestExpectedResults Value returned by IsExtWild() is the same as expected.
1.1045 +//! @SYMTestType CIT
1.1046 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.1047 + CREATE_OBJECT TParse TParse1
1.1048 + COMMAND TParse1 new
1.1049 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0045command2Set
1.1050 + COMMAND TParse1 IsExtWild PBASE-F32-ParseBase-PublicApi-0045command3IsExtWild
1.1051 + COMMAND TParse1 ~
1.1052 + END_TEST_BLOCK
1.1053 +END_TESTCASE PBASE-F32-Parse-PublicApi-0045
1.1054 +
1.1055 +
1.1056 +START_TESTCASE PBASE-F32-Parse-PublicApi-0046
1.1057 +//! @SYMTestCaseID PBASE-F32-Parse-PublicApi-0046
1.1058 +//! @SYMAPI T_Parse
1.1059 +//! @SYMTestCaseDesc IsExtWild() test where extension not contains a wildcard.
1.1060 +//! Uses API elements: Set(), IsExtWild().
1.1061 +//! @SYMTestActions 1. Create TParse object. Call Set() passing 'c:\dir1\dir2\filename.ext'
1.1062 +//! 2. Call IsExtWild(). Expecting FALSE on return.
1.1063 +//! 3. Delete TParse object.
1.1064 +//!
1.1065 +//! @SYMTestStatus Implemented
1.1066 +//! @SYMTestPriority Critical
1.1067 +//! @SYMTestExpectedResults Value returned by IsExtWild() is the same as expected.
1.1068 +//! @SYMTestType CIT
1.1069 + START_TEST_BLOCK 100 T_SfSrv \base\PBASE-F32-ParseBase-Inherited-PublicApi.ini
1.1070 + CREATE_OBJECT TParse TParse1
1.1071 + COMMAND TParse1 new
1.1072 + COMMAND TParse1 Set PBASE-F32-ParseBase-PublicApi-0046command2Set
1.1073 + COMMAND TParse1 IsExtWild PBASE-F32-ParseBase-PublicApi-0046command3IsExtWild
1.1074 + COMMAND TParse1 ~
1.1075 + END_TEST_BLOCK
1.1076 +END_TESTCASE PBASE-F32-Parse-PublicApi-0046
1.1077 +