1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/f32test/cfileman/t_cfileman_cases.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,6273 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// f32test\cfileman\t_cfileman_cases.h
1.18 +//
1.19 +//
1.20 +
1.21 +// Define Test Cases
1.22 +#ifndef T_CFILEMAN_CASES_H
1.23 +#define T_CFILEMAN_CASES_H
1.24 +
1.25 +#include "t_cfileman_aux.h"
1.26 +
1.27 +extern CFileMan* gFileMan;
1.28 +extern RPointerArray<RFile>* gFileHandles;
1.29 +extern TBool gAsynch;
1.30 +extern TRequestStatus gStat;
1.31 +
1.32 +TChar gFixedDriveValid = 'C';
1.33 +TChar gFixedDriveInvalid = '?';
1.34 +TChar gFixedDriveReadOnly = 'Z';
1.35 +TChar gFixedDriveNotReady = 'A';
1.36 +
1.37 +////////////////////////////////////////////////////////////
1.38 +// Test case definitions
1.39 +////////////////////////////////////////////////////////////
1.40 +static const TTestCaseUnitaryBasic gBasicUnitaryTestCases[] =
1.41 + {
1.42 +//*****************************Delete API**************************
1.43 +//---------------------------------------------
1.44 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0816
1.45 +//! @SYMTestType CIT
1.46 +//!
1.47 +//! @SYMAPI CFileMan::Delete()
1.48 +//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
1.49 +//! The condition is deleting a file 'FILE01.TXT'
1.50 +//! @SYMTestActions Deletes the specified file
1.51 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.52 +//! @SYMTestPriority High
1.53 +//! @SYMTestStatus Implemented
1.54 +//---------------------------------------------
1.55 +
1.56 + {
1.57 + {816, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
1.58 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.59 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.60 + (TText*)L"?:\\SrcCom\\", {ALL,{2,EOB}}},
1.61 + },
1.62 +
1.63 +//---------------------------------------------
1.64 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0817
1.65 +//! @SYMTestType CIT
1.66 +//!
1.67 +//! @SYMAPI CFileMan::Delete()
1.68 +//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
1.69 +//! The condition is deleting files with wildcard combination '*.*'
1.70 +//! @SYMTestActions Deletes the specified files
1.71 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.72 +//! @SYMTestPriority High
1.73 +//! @SYMTestStatus Implemented
1.74 +//---------------------------------------------
1.75 + {
1.76 + {817, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
1.77 + {&gDriveToTest, (TText*)L"?:\\Src\\*",
1.78 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.79 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.80 + },
1.81 +
1.82 +//---------------------------------------------
1.83 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0818
1.84 +//! @SYMTestType CIT
1.85 +//!
1.86 +//! @SYMAPI CFileMan::Delete()
1.87 +//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
1.88 +//! The condition is deleting files with wildcard combination 'FILE*.TXT'
1.89 +//! @SYMTestActions Deletes the specified files
1.90 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.91 +//! @SYMTestPriority High
1.92 +//! @SYMTestStatus Implemented
1.93 +//---------------------------------------------
1.94 + {
1.95 + {818, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
1.96 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
1.97 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.98 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
1.99 + },
1.100 +
1.101 +//---------------------------------------------
1.102 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0819
1.103 +//! @SYMTestType CIT
1.104 +//!
1.105 +//! @SYMAPI CFileMan::Delete()
1.106 +//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
1.107 +//! The condition is deleting files with wildcard combination 'FILE?.TXT'
1.108 +//! @SYMTestActions Deletes the specified files
1.109 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.110 +//! @SYMTestPriority High
1.111 +//! @SYMTestStatus Implemented
1.112 +//---------------------------------------------
1.113 + {
1.114 + {819, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
1.115 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
1.116 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.117 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.118 + },
1.119 +
1.120 +//---------------------------------------------
1.121 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0820
1.122 +//! @SYMTestType CIT
1.123 +//!
1.124 +//! @SYMAPI CFileMan::Delete()
1.125 +//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
1.126 +//! The condition is deleting files with wildcard combination '*.TXT'
1.127 +//! @SYMTestActions Deletes the specified files
1.128 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.129 +//! @SYMTestPriority High
1.130 +//! @SYMTestStatus Implemented
1.131 +//---------------------------------------------
1.132 + {
1.133 + {820, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
1.134 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.135 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.136 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.137 + },
1.138 +
1.139 +//---------------------------------------------
1.140 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0821
1.141 +//! @SYMTestType CIT
1.142 +//!
1.143 +//! @SYMAPI CFileMan::Delete()
1.144 +//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
1.145 +//! The condition is deleting files with wildcard combination '*.TXT'
1.146 +//! @SYMTestActions Deletes the specified files
1.147 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.148 +//! @SYMTestPriority High
1.149 +//! @SYMTestStatus Implemented
1.150 +//---------------------------------------------
1.151 + {
1.152 + {821, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
1.153 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.154 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.155 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.156 + },
1.157 +
1.158 +//---------------------------------------------
1.159 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0822
1.160 +//! @SYMTestType CIT
1.161 +//!
1.162 +//! @SYMAPI CFileMan::Delete()
1.163 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.164 +//! The condition is deleting files with combination 'FILE01.TXT'
1.165 +//! @SYMTestActions Deletes the specified files
1.166 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.167 +//! @SYMTestPriority High
1.168 +//! @SYMTestStatus Implemented
1.169 +//---------------------------------------------
1.170 + {
1.171 + {822, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.172 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.173 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.174 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.175 + },
1.176 +
1.177 +//---------------------------------------------
1.178 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0823
1.179 +//! @SYMTestType CIT
1.180 +//!
1.181 +//! @SYMAPI CFileMan::Delete()
1.182 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.183 +//! The condition is deleting files with wildcard combination 'FILE.*'
1.184 +//! @SYMTestActions Deletes the specified files
1.185 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.186 +//! @SYMTestPriority High
1.187 +//! @SYMTestStatus Implemented
1.188 +//---------------------------------------------
1.189 + {
1.190 + {823, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.191 + {&gDriveToTest, (TText*)L"?:\\Src\\*",
1.192 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.193 + (TText*)L"?:\\SrcCom\\", {{8,17,26,35,EOB},EMPTY}},
1.194 + },
1.195 +
1.196 +//---------------------------------------------
1.197 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0824
1.198 +//! @SYMTestType CIT
1.199 +//!
1.200 +//! @SYMAPI CFileMan::Delete()
1.201 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.202 +//! The condition is deleting files with wildcard combination 'FILE*.TXT'
1.203 +//! @SYMTestActions Deletes the specified files
1.204 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.205 +//! @SYMTestPriority High
1.206 +//! @SYMTestStatus Implemented
1.207 +//---------------------------------------------
1.208 + {
1.209 + {824, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.210 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
1.211 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.212 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
1.213 + },
1.214 +
1.215 +//---------------------------------------------
1.216 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0825
1.217 +//! @SYMTestType CIT
1.218 +//!
1.219 +//! @SYMAPI CFileMan::Delete()
1.220 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.221 +//! The condition is deleting files with wildcard combination 'FILE?.TXT'
1.222 +//! @SYMTestActions Deletes the specified files
1.223 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.224 +//! @SYMTestPriority High
1.225 +//! @SYMTestStatus Implemented
1.226 +//---------------------------------------------
1.227 + {
1.228 + {825, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.229 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
1.230 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.231 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
1.232 + },
1.233 +
1.234 +//---------------------------------------------
1.235 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0826
1.236 +//! @SYMTestType CIT
1.237 +//!
1.238 +//! @SYMAPI CFileMan::Delete()
1.239 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.240 +//! The condition is deleting files with wildcard combination '*.TXT'
1.241 +//! @SYMTestActions Deletes the specified files
1.242 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.243 +//! @SYMTestPriority High
1.244 +//! @SYMTestStatus Implemented
1.245 +//---------------------------------------------
1.246 + {
1.247 + {826, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.248 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.249 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.250 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK36}},
1.251 + },
1.252 +
1.253 +//---------------------------------------------
1.254 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0827
1.255 +//! @SYMTestType CIT
1.256 +//!
1.257 +//! @SYMAPI CFileMan::Delete()
1.258 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.259 +//! The condition is deleting files with wildcard combination 'FILE.*'
1.260 +//! @SYMTestActions Deletes the specified files
1.261 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.262 +//! @SYMTestPriority High
1.263 +//! @SYMTestStatus Implemented
1.264 +//---------------------------------------------
1.265 + {
1.266 + {827, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.267 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.268 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.269 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK37}},
1.270 + },
1.271 +
1.272 +
1.273 +//*****************************RmDir API**************************
1.274 +//---------------------------------------------
1.275 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0828
1.276 +//! @SYMTestType CIT
1.277 +//!
1.278 +//! @SYMAPI CFileMan::RmDir()
1.279 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.280 +//! Removes directory and all files directory structure.
1.281 +//! @SYMTestActions Removes the specified directory and its contents.
1.282 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.283 +//! @SYMTestPriority High
1.284 +//! @SYMTestStatus Implemented
1.285 +//---------------------------------------------
1.286 + {
1.287 + {828, ECFMRmDir, 0, KErrNone, KErrNone, KErrNone},
1.288 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\",
1.289 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.290 + (TText*)L"?:\\SrcCom\\", {ALL,BLOCK39}},
1.291 + },
1.292 +
1.293 +//---------------------------------------------
1.294 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0829
1.295 +//! @SYMTestType CIT
1.296 +//!
1.297 +//! @SYMAPI CFileMan::RmDir()
1.298 +//! @SYMTestCaseDesc 1.Tests API with Recursive option
1.299 +//! Deletes directories with wildcard combination 'DIR*' and directory structure.
1.300 +//! @SYMTestActions Removes the specified directory and its contents.
1.301 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.302 +//! @SYMTestPriority High
1.303 +//! @SYMTestStatus Implemented
1.304 +//---------------------------------------------
1.305 + //case 101 :Wild card case. This case shows,directory is considered only if '\\' is given
1.306 + {
1.307 + {829, ECFMRmDir, 0, KErrNone, KErrNone, KErrNone},
1.308 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\DIR*",
1.309 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.310 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK39}},
1.311 + },
1.312 +
1.313 +//Basic Negative test case for RmDir:
1.314 + //---------------------------------------------
1.315 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0955
1.316 +//! @SYMTestType CIT
1.317 +//!
1.318 +//! @SYMAPI CFileMan::RmDir()
1.319 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.320 +//! Remove a directory with longpath name from Src.
1.321 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.322 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.323 +//! @SYMTestPriority High
1.324 +//! @SYMTestStatus Implemented
1.325 +//---------------------------------------------
1.326 + {
1.327 + {955, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
1.328 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
1.329 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.330 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.331 + },
1.332 +
1.333 + //---------------------------------------------
1.334 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0956
1.335 +//! @SYMTestType CIT
1.336 +//!
1.337 +//! @SYMAPI CFileMan::RmDir()
1.338 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.339 +//! Remove a File with long name from Src.
1.340 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.341 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.342 +//! @SYMTestPriority High
1.343 +//! @SYMTestStatus Implemented
1.344 +//---------------------------------------------
1.345 + {
1.346 + {956, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
1.347 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asfdsa21asfdsa22asfdsa23asfdsa24asfdsa25asfdsa26",
1.348 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.349 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.350 + },
1.351 +
1.352 + //---------------------------------------------
1.353 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0957
1.354 +//! @SYMTestType CIT
1.355 +//!
1.356 +//! @SYMAPI CFileMan::RmDir()
1.357 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.358 +//! Remove a directory that doesnot exist.
1.359 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.360 +//! @SYMTestExpectedResults 1.KErrNotReady in success case
1.361 +//! @SYMTestPriority High
1.362 +//! @SYMTestStatus Implemented
1.363 +//---------------------------------------------
1.364 +
1.365 + {
1.366 + {957, ECFMRmDir, 0, KErrNotReady, KErrNone, KErrNotReady},
1.367 + {&gFixedDriveNotReady, (TText*)L"?:\\Src\\",
1.368 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.369 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.370 + },
1.371 +
1.372 + //---------------------------------------------
1.373 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0958
1.374 +//! @SYMTestType CIT
1.375 +//!
1.376 +//! @SYMAPI CFileMan::RmDir()
1.377 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.378 +//! Remove 'Readonly' directory.
1.379 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.380 +//! @SYMTestExpectedResults 1.KErrInUse in success case
1.381 +//! @SYMTestPriority High
1.382 +//! @SYMTestStatus Implemented
1.383 +//---------------------------------------------
1.384 +
1.385 + {
1.386 + {958, ECFMRmDir, 0, KErrInUse, KErrNone, KErrInUse},
1.387 + {&gFixedDriveReadOnly, (TText*)L"?:\\",
1.388 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.389 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.390 + },
1.391 +
1.392 + //---------------------------------------------
1.393 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0959
1.394 +//! @SYMTestType CIT
1.395 +//!
1.396 +//! @SYMAPI CFileMan::RmDir()
1.397 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.398 +//! Remove 'non-available' directory.
1.399 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.400 +//! @SYMTestExpectedResults 1.KErrPathNotFound in success case
1.401 +//! @SYMTestPriority High
1.402 +//! @SYMTestStatus Implemented
1.403 +//---------------------------------------------
1.404 +
1.405 + {
1.406 + {959, ECFMRmDir, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.407 + {&gDriveToTest, (TText*)L"?:\\Src\\NODIR\\",
1.408 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.409 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.410 + },
1.411 +
1.412 + //---------------------------------------------
1.413 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0960
1.414 +//! @SYMTestType CIT
1.415 +//!
1.416 +//! @SYMAPI CFileMan::RmDir()
1.417 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.418 +//! Remove 'Invalid' directory pathname.
1.419 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.420 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.421 +//! @SYMTestPriority High
1.422 +//! @SYMTestStatus Implemented
1.423 +//---------------------------------------------
1.424 +
1.425 + {
1.426 + {960, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
1.427 + {&gDriveToTest, (TText*)L"C\\Src\\Dir?",
1.428 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.429 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.430 + },
1.431 +
1.432 + //---------------------------------------------
1.433 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0961
1.434 +//! @SYMTestType CIT
1.435 +//!
1.436 +//! @SYMAPI CFileMan::RmDir()
1.437 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.438 +//! Remove 'Invalid' directory pathname.
1.439 +//! @SYMTestActions Remove directory does not happen, returns the error code.
1.440 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.441 +//! @SYMTestPriority High
1.442 +//! @SYMTestStatus Implemented
1.443 +//---------------------------------------------
1.444 +
1.445 + {
1.446 + {961, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
1.447 + {&gFixedDriveInvalid, (TText*)L"::C:",
1.448 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.449 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.450 + },
1.451 +
1.452 +//Basic Negative test case for Delete:
1.453 + //---------------------------------------------
1.454 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0962
1.455 +//! @SYMTestType CIT
1.456 +//!
1.457 +//! @SYMAPI CFileMan::RmDir()
1.458 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.459 +//! Delete a file with longpath name from Src.
1.460 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.461 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.462 +//! @SYMTestPriority High
1.463 +//! @SYMTestStatus Implemented
1.464 +//---------------------------------------------
1.465 +
1.466 + {
1.467 + {962, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
1.468 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
1.469 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.470 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.471 + },
1.472 +
1.473 + //---------------------------------------------
1.474 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0963
1.475 +//! @SYMTestType CIT
1.476 +//!
1.477 +//! @SYMAPI CFileMan::RmDir()
1.478 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.479 +//! Delete a file with longname from Src.
1.480 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.481 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.482 +//! @SYMTestPriority High
1.483 +//! @SYMTestStatus Implemented
1.484 +//---------------------------------------------
1.485 +
1.486 + {
1.487 + {963, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
1.488 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
1.489 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.490 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.491 + },
1.492 +
1.493 +
1.494 + //---------------------------------------------
1.495 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0964
1.496 +//! @SYMTestType CIT
1.497 +//!
1.498 +//! @SYMAPI CFileMan::RmDir()
1.499 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.500 +//! Delete a drives not ready.
1.501 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.502 +//! @SYMTestExpectedResults 1.KErrNotReady in success case
1.503 +//! @SYMTestPriority High
1.504 +//! @SYMTestStatus Implemented
1.505 +//---------------------------------------------
1.506 +
1.507 + {
1.508 + {964, ECFMDelete, 0, KErrNotReady, KErrNone, KErrNotReady},
1.509 + {&gFixedDriveNotReady, (TText*)L"?:\\Src\\FILE01.TXT",
1.510 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.511 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.512 + },
1.513 +
1.514 + //---------------------------------------------
1.515 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0965
1.516 +//! @SYMTestType CIT
1.517 +//!
1.518 +//! @SYMAPI CFileMan::RmDir()
1.519 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.520 +//! Delete a file from directory from source that is 'ReadOnly'.
1.521 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.522 +//! @SYMTestExpectedResults 1.KErrAccessDenied in success case
1.523 +//! @SYMTestPriority High
1.524 +//! @SYMTestStatus Implemented
1.525 +//---------------------------------------------
1.526 +
1.527 + {
1.528 + {965, ECFMDelete, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
1.529 + {&gFixedDriveReadOnly, (TText*)L"?:\\test\\",
1.530 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.531 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.532 + },
1.533 +
1.534 + //---------------------------------------------
1.535 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0966
1.536 +//! @SYMTestType CIT
1.537 +//!
1.538 +//! @SYMAPI CFileMan::RmDir()
1.539 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.540 +//! Delete a directory from source doesnot exist.
1.541 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.542 +//! @SYMTestExpectedResults 1.KErrPathNotFound in success case
1.543 +//! @SYMTestPriority High
1.544 +//! @SYMTestStatus Implemented
1.545 +//---------------------------------------------
1.546 +
1.547 + {
1.548 + {966, ECFMDelete, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.549 + {&gDriveToTest, (TText*)L"?:\\Src\\NODIR\\",
1.550 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.551 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.552 + },
1.553 +
1.554 + //---------------------------------------------
1.555 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0967
1.556 +//! @SYMTestType CIT
1.557 +//!
1.558 +//! @SYMAPI CFileMan::RmDir()
1.559 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.560 +//! Delete a directory with invalid pathname.
1.561 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.562 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.563 +//! @SYMTestPriority High
1.564 +//! @SYMTestStatus Implemented
1.565 +//---------------------------------------------
1.566 +
1.567 + {
1.568 + {967, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
1.569 + {&gDriveToTest, (TText*)L"C\\Src\\Dir",
1.570 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.571 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.572 + },
1.573 +
1.574 + //---------------------------------------------
1.575 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0968
1.576 +//! @SYMTestType CIT
1.577 +//!
1.578 +//! @SYMAPI CFileMan::RmDir()
1.579 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
1.580 +//! Delete a directory with invalid pathname.
1.581 +//! @SYMTestActions Delete files does not happen, returns the error code.
1.582 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.583 +//! @SYMTestPriority High
1.584 +//! @SYMTestStatus Implemented
1.585 +//---------------------------------------------
1.586 +
1.587 + {
1.588 + {968, ECFMDelete, 0, KErrBadName, KErrNone, KErrBadName},
1.589 + {&gDriveToTest, (TText*)L"::C:",
1.590 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.591 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.592 + },
1.593 +
1.594 +//End unary API test cases
1.595 + {{0}}
1.596 +
1.597 + };
1.598 +
1.599 +static TTestCaseBinaryBasic gBasicBinaryTestCases[] =
1.600 + {
1.601 +//*****************************Copy API**************************
1.602 +
1.603 +//---------------------------------------------
1.604 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0830
1.605 +//! @SYMTestType CIT
1.606 +//!
1.607 +//! @SYMAPI CFileMan::Copy()
1.608 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.609 +//! Copy a file FILE2.TXT from source to the target.
1.610 +//! @SYMTestActions Copies the specified files from source to the target.
1.611 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.612 +//! @SYMTestPriority High
1.613 +//! @SYMTestStatus Implemented
1.614 +//---------------------------------------------
1.615 +
1.616 + {
1.617 + {830, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.618 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE2.TXT",
1.619 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.620 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.621 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.622 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.623 + (TText*)L"?:\\TrgCom\\", {{1,EOB}, EMPTY}}
1.624 + },
1.625 +
1.626 +//---------------------------------------------
1.627 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0831
1.628 +//! @SYMTestType CIT
1.629 +//!
1.630 +//! @SYMAPI CFileMan::Copy()
1.631 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.632 +//! Copy files with wildcard combination '*.*' from source to the target.
1.633 +//! @SYMTestActions Copies the specified files from source to the target.
1.634 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.635 +//! @SYMTestPriority High
1.636 +//! @SYMTestStatus Implemented
1.637 +//---------------------------------------------
1.638 +
1.639 + {
1.640 + {831, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.641 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.642 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.643 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.644 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.645 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.646 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.647 + },
1.648 +
1.649 +//---------------------------------------------
1.650 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0832
1.651 +//! @SYMTestType CIT
1.652 +//!
1.653 +//! @SYMAPI CFileMan::Copy()
1.654 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.655 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.656 +//! @SYMTestActions Copies the specified files from source to the target.
1.657 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.658 +//! @SYMTestPriority High
1.659 +//! @SYMTestStatus Implemented
1.660 +//---------------------------------------------
1.661 +
1.662 + {
1.663 + {832, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.664 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.665 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.666 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.667 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.668 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.669 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.670 + },
1.671 +
1.672 +//---------------------------------------------
1.673 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0833
1.674 +//! @SYMTestType CIT
1.675 +//!
1.676 +//! @SYMAPI CFileMan::Copy()
1.677 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.678 +//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1.679 +//! @SYMTestActions Copies the specified files from source to the target.
1.680 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.681 +//! @SYMTestPriority High
1.682 +//! @SYMTestStatus Implemented
1.683 +//---------------------------------------------
1.684 +
1.685 + {
1.686 + {833, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.687 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.688 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.689 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.690 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.691 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.692 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.693 + },
1.694 +
1.695 +//---------------------------------------------
1.696 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0834
1.697 +//! @SYMTestType CIT
1.698 +//!
1.699 +//! @SYMAPI CFileMan::Copy()
1.700 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.701 +//! Copy files with wildcard combination '*.TXT' from source to the target.
1.702 +//! @SYMTestActions Copies the specified files from source to the target.
1.703 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.704 +//! @SYMTestPriority High
1.705 +//! @SYMTestStatus Implemented
1.706 +//---------------------------------------------
1.707 +
1.708 + {
1.709 + {834, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.710 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.711 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.712 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.713 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.714 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.715 + (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1.716 + },
1.717 +
1.718 +//---------------------------------------------
1.719 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0835
1.720 +//! @SYMTestType CIT
1.721 +//!
1.722 +//! @SYMAPI CFileMan::Copy()
1.723 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.724 +//! Copy files with wildcard combination 'FILE.*' from source to the target.
1.725 +//! @SYMTestActions Copies the specified files from source to the target.
1.726 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.727 +//! @SYMTestPriority High
1.728 +//! @SYMTestStatus Implemented
1.729 +//---------------------------------------------
1.730 +
1.731 + {
1.732 + {835, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.733 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.734 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.735 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.736 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.737 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.738 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.739 + },
1.740 +
1.741 +//---------------------------------------------
1.742 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0836
1.743 +//! @SYMTestType CIT
1.744 +//!
1.745 +//! @SYMAPI CFileMan::Copy()
1.746 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.747 +//! Copy file with combination 'FILE01.TXT' from source to the target.
1.748 +//! @SYMTestActions Copy does not happen, returns the error code.
1.749 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.750 +//! @SYMTestPriority High
1.751 +//! @SYMTestStatus Implemented
1.752 +//---------------------------------------------
1.753 +
1.754 + {
1.755 + {836, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.756 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.757 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.758 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.759 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.760 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.761 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.762 + },
1.763 +
1.764 +//---------------------------------------------
1.765 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0837
1.766 +//! @SYMTestType CIT
1.767 +//!
1.768 +//! @SYMAPI CFileMan::Copy()
1.769 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.770 +//! Copy files with wildcard combination '*.*' from source to the target.
1.771 +//! @SYMTestActions Copy does not happen, returns the error code.
1.772 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.773 +//! @SYMTestPriority High
1.774 +//! @SYMTestStatus Implemented
1.775 +//---------------------------------------------
1.776 +
1.777 + {
1.778 + {837, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.779 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.780 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.781 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.782 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.783 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.784 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.785 + },
1.786 +
1.787 +//---------------------------------------------
1.788 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0838
1.789 +//! @SYMTestType CIT
1.790 +//!
1.791 +//! @SYMAPI CFileMan::Copy()
1.792 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.793 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.794 +//! @SYMTestActions Copy does not happen, returns the error code.
1.795 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.796 +//! @SYMTestPriority High
1.797 +//! @SYMTestStatus Implemented
1.798 +//---------------------------------------------
1.799 +
1.800 + {
1.801 + {838, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.802 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.803 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.804 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.805 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.806 + (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1.807 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.808 + },
1.809 +
1.810 +//---------------------------------------------
1.811 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0839
1.812 +//! @SYMTestType CIT
1.813 +//!
1.814 +//! @SYMAPI CFileMan::Copy()
1.815 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.816 +//! Copies files with wildcard combination 'FILE?.TXT' from source to the target.
1.817 +//! @SYMTestActions Copy does not happen, returns the error code.
1.818 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.819 +//! @SYMTestPriority High
1.820 +//! @SYMTestStatus Implemented
1.821 +//---------------------------------------------
1.822 +
1.823 + {
1.824 + {839, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.825 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.826 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.827 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.828 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.829 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.830 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.831 + },
1.832 +
1.833 +//---------------------------------------------
1.834 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0840
1.835 +//! @SYMTestType CIT
1.836 +//!
1.837 +//! @SYMAPI CFileMan::Copy()
1.838 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.839 +//! Copies files with wildcard combination '*.TXT' from source to the target.
1.840 +//! @SYMTestActions Copy does not happen, returns the error code.
1.841 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.842 +//! @SYMTestPriority High
1.843 +//! @SYMTestStatus Implemented
1.844 +//---------------------------------------------
1.845 +
1.846 + {
1.847 + {840, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.848 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.849 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.850 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.851 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.852 + (TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
1.853 + (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
1.854 + },
1.855 +
1.856 +//---------------------------------------------
1.857 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0841
1.858 +//! @SYMTestType CIT
1.859 +//!
1.860 +//! @SYMAPI CFileMan::Copy()
1.861 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.862 +//! Copies files with wildcard combination 'FILE.*' from source to the target.
1.863 +//! @SYMTestActions Copy does not happen, returns the error code.
1.864 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.865 +//! @SYMTestPriority High
1.866 +//! @SYMTestStatus Implemented
1.867 +//---------------------------------------------
1.868 +
1.869 + {
1.870 + {841, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.871 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.872 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.873 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.874 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.875 + (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
1.876 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.877 + },
1.878 +
1.879 +//---------------------------------------------
1.880 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0842
1.881 +//! @SYMTestType CIT
1.882 +//!
1.883 +//! @SYMAPI CFileMan::Copy()
1.884 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.885 +//! Copy file 'FILE01.TXT' from source to the target.
1.886 +//! @SYMTestActions Copies the specified files from source to the target.
1.887 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.888 +//! @SYMTestPriority High
1.889 +//! @SYMTestStatus Implemented
1.890 +//---------------------------------------------
1.891 +
1.892 + {
1.893 + {842, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.894 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.895 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.896 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.897 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.898 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.899 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.900 + },
1.901 +
1.902 +//---------------------------------------------
1.903 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0843
1.904 +//! @SYMTestType CIT
1.905 +//!
1.906 +//! @SYMAPI CFileMan::Copy()
1.907 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.908 +//! Copy files with wildcard combination '*.*' from source to the target.
1.909 +//! @SYMTestActions Copies the specified files from source to the target.
1.910 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.911 +//! @SYMTestPriority High
1.912 +//! @SYMTestStatus Implemented
1.913 +//---------------------------------------------
1.914 +
1.915 + {
1.916 + {843, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.917 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.918 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.919 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.920 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.921 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.922 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.923 + },
1.924 +
1.925 +//---------------------------------------------
1.926 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0844
1.927 +//! @SYMTestType CIT
1.928 +//!
1.929 +//! @SYMAPI CFileMan::Copy()
1.930 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.931 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.932 +//! @SYMTestActions Copies the specified files from source to the target.
1.933 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.934 +//! @SYMTestPriority High
1.935 +//! @SYMTestStatus Implemented
1.936 +//---------------------------------------------
1.937 +
1.938 + {
1.939 + {844, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.940 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.941 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.942 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.943 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.944 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.945 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.946 + },
1.947 +
1.948 +//---------------------------------------------
1.949 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0845
1.950 +//! @SYMTestType CIT
1.951 +//!
1.952 +//! @SYMAPI CFileMan::Copy()
1.953 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.954 +//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1.955 +//! @SYMTestActions Copies the specified files from source to the target.
1.956 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.957 +//! @SYMTestPriority High
1.958 +//! @SYMTestStatus Implemented
1.959 +//---------------------------------------------
1.960 +
1.961 + {
1.962 + {845, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.963 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.964 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.965 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.966 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.967 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.968 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.969 + },
1.970 +
1.971 +//---------------------------------------------
1.972 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0846
1.973 +//! @SYMTestType CIT
1.974 +//!
1.975 +//! @SYMAPI CFileMan::Copy()
1.976 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.977 +//! Copy files with wildcard combination '*.TXT' from source to the target.
1.978 +//! @SYMTestActions Copies the specified files from source to the target.
1.979 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.980 +//! @SYMTestPriority High
1.981 +//! @SYMTestStatus Implemented
1.982 +//---------------------------------------------
1.983 +
1.984 + {
1.985 + {846, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.986 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.987 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.988 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.989 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.990 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.991 + (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1.992 + },
1.993 +
1.994 +//---------------------------------------------
1.995 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0847
1.996 +//! @SYMTestType CIT
1.997 +//!
1.998 +//! @SYMAPI CFileMan::Copy()
1.999 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.1000 +//! Copy files with wildcard combination 'FILE.*' from source to the target.
1.1001 +//! @SYMTestActions Copies the specified files from source to the target.
1.1002 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1003 +//! @SYMTestPriority High
1.1004 +//! @SYMTestStatus Implemented
1.1005 +//---------------------------------------------
1.1006 +
1.1007 + {
1.1008 + {847, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1009 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.1010 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1011 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1012 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1013 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1014 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.1015 + },
1.1016 +
1.1017 +//---------------------------------------------
1.1018 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0848
1.1019 +//! @SYMTestType CIT
1.1020 +//!
1.1021 +//! @SYMAPI CFileMan::Copy()
1.1022 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.1023 +//! Copy file with combination 'FILE01.TXT' from source to the target.
1.1024 +//! @SYMTestActions Copies the specified files from source to the target.
1.1025 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1026 +//! @SYMTestPriority High
1.1027 +//! @SYMTestStatus Implemented
1.1028 +//---------------------------------------------
1.1029 +
1.1030 + {
1.1031 + {848, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1032 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.1033 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1034 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1035 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1036 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.1037 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.1038 + },
1.1039 +
1.1040 +//---------------------------------------------
1.1041 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0849
1.1042 +//! @SYMTestType CIT
1.1043 +//!
1.1044 +//! @SYMAPI CFileMan::Copy()
1.1045 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.1046 +//! Copy files with wildcard combination '*.*' from source to the target.
1.1047 +//! @SYMTestActions Copies the specified files from source to the target.
1.1048 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1049 +//! @SYMTestPriority High
1.1050 +//! @SYMTestStatus Implemented
1.1051 +//---------------------------------------------
1.1052 +
1.1053 + {
1.1054 + {849, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1055 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.1056 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1057 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1058 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1059 + (TText*)L"?:\\Trg\\", {BLOCK01, EMPTY},
1.1060 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1061 + },
1.1062 +
1.1063 +//---------------------------------------------
1.1064 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0850
1.1065 +//! @SYMTestType CIT
1.1066 +//!
1.1067 +//! @SYMAPI CFileMan::Copy()
1.1068 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.1069 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.1070 +//! @SYMTestActions Copies the specified files from source to the target.
1.1071 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1072 +//! @SYMTestPriority High
1.1073 +//! @SYMTestStatus Implemented
1.1074 +//---------------------------------------------
1.1075 +
1.1076 + {
1.1077 + {850, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1078 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.1079 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1080 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1081 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1082 + (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1.1083 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.1084 + },
1.1085 +
1.1086 +//---------------------------------------------
1.1087 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0851
1.1088 +//! @SYMTestType CIT
1.1089 +//!
1.1090 +//! @SYMAPI CFileMan::Copy()
1.1091 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.1092 +//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1.1093 +//! @SYMTestActions Copies the specified files from source to the target.
1.1094 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1095 +//! @SYMTestPriority High
1.1096 +//! @SYMTestStatus Implemented
1.1097 +//---------------------------------------------
1.1098 +
1.1099 + {
1.1100 + {851, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1101 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.1102 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1103 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1104 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1105 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.1106 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.1107 + },
1.1108 +
1.1109 +//---------------------------------------------
1.1110 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0852
1.1111 +//! @SYMTestType CIT
1.1112 +//!
1.1113 +//! @SYMAPI CFileMan::Copy()
1.1114 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.1115 +//! Copy files with wildcard combination '*.TXT' from source to the target.
1.1116 +//! @SYMTestActions Copies the specified files from source to the target.
1.1117 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1118 +//! @SYMTestPriority High
1.1119 +//! @SYMTestStatus Implemented
1.1120 +//---------------------------------------------
1.1121 +
1.1122 + {
1.1123 + {852, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1124 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.1125 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1126 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1127 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1128 + (TText*)L"?:\\Trg\\", {BLOCK03, EMPTY},
1.1129 + (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1.1130 + },
1.1131 +
1.1132 +//---------------------------------------------
1.1133 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0853
1.1134 +//! @SYMTestType CIT
1.1135 +//!
1.1136 +//! @SYMAPI CFileMan::Copy()
1.1137 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.1138 +//! Copy files with wildcard combination 'FILE.*' from source to the target.
1.1139 +//! @SYMTestActions Copies the specified files from source to the target.
1.1140 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1141 +//! @SYMTestPriority High
1.1142 +//! @SYMTestStatus Implemented
1.1143 +//---------------------------------------------
1.1144 +
1.1145 + {
1.1146 + {853, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1147 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.1148 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1149 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1150 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1151 + (TText*)L"?:\\Trg\\", {{4,6,EOB}, EMPTY},
1.1152 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.1153 + },
1.1154 +
1.1155 +//---------------------------------------------
1.1156 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0854
1.1157 +//! @SYMTestType CIT
1.1158 +//!
1.1159 +//! @SYMAPI CFileMan::Copy()
1.1160 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.1161 +//! Copy file with combination 'FILE01.TXT' from source to the target.
1.1162 +//! @SYMTestActions Copies the specified files from source to the target.
1.1163 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1164 +//! @SYMTestPriority High
1.1165 +//! @SYMTestStatus Implemented
1.1166 +//---------------------------------------------
1.1167 +
1.1168 + {
1.1169 + {854, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.1170 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.1171 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1172 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1173 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1174 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1175 + (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1.1176 + },
1.1177 +
1.1178 +//---------------------------------------------
1.1179 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0855
1.1180 +//! @SYMTestType CIT
1.1181 +//!
1.1182 +//! @SYMAPI CFileMan::Copy()
1.1183 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.1184 +//! Copy files with wildcard combination '*.*' from source to the target.
1.1185 +//! @SYMTestActions Copies the specified files from source to the target.
1.1186 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1187 +//! @SYMTestPriority High
1.1188 +//! @SYMTestStatus Implemented
1.1189 +//---------------------------------------------
1.1190 +
1.1191 + {
1.1192 + {855, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.1193 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.1194 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1195 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1196 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1197 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1198 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.1199 + },
1.1200 +
1.1201 +//---------------------------------------------
1.1202 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0856
1.1203 +//! @SYMTestType CIT
1.1204 +//!
1.1205 +//! @SYMAPI CFileMan::Copy()
1.1206 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.1207 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.1208 +//! @SYMTestActions Copies the specified files from source to the target.
1.1209 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1210 +//! @SYMTestPriority High
1.1211 +//! @SYMTestStatus Implemented
1.1212 +//---------------------------------------------
1.1213 +
1.1214 + {
1.1215 + {856, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.1216 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.1217 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1218 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1219 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1220 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1221 + (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1.1222 + },
1.1223 +
1.1224 +//---------------------------------------------
1.1225 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0857
1.1226 +//! @SYMTestType CIT
1.1227 +//!
1.1228 +//! @SYMAPI CFileMan::Copy()
1.1229 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.1230 +//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1.1231 +//! @SYMTestActions Copies the specified files from source to the target.
1.1232 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1233 +//! @SYMTestPriority High
1.1234 +//! @SYMTestStatus Implemented
1.1235 +//---------------------------------------------
1.1236 +
1.1237 + {
1.1238 + {857, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.1239 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.1240 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1241 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1242 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1243 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1244 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.1245 + },
1.1246 +
1.1247 +//---------------------------------------------
1.1248 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0858
1.1249 +//! @SYMTestType CIT
1.1250 +//!
1.1251 +//! @SYMAPI CFileMan::Copy()
1.1252 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.1253 +//! Copy files with wildcard combination '*.TXT' from source to the target.
1.1254 +//! @SYMTestActions Copies the specified files from source to the target.
1.1255 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1256 +//! @SYMTestPriority High
1.1257 +//! @SYMTestStatus Implemented
1.1258 +//---------------------------------------------
1.1259 +
1.1260 + {
1.1261 + {858, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.1262 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.1263 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1264 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1265 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1266 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1267 + (TText*)L"?:\\TrgCom\\", {BLOCK36, EMPTY}}
1.1268 + },
1.1269 +
1.1270 +//---------------------------------------------
1.1271 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0859
1.1272 +//! @SYMTestType CIT
1.1273 +//!
1.1274 +//! @SYMAPI CFileMan::Copy()
1.1275 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.1276 +//! Copy files with wildcard combination 'FILE.*' from source to the target.
1.1277 +//! @SYMTestActions Copies the specified files from source to the target.
1.1278 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1279 +//! @SYMTestPriority High
1.1280 +//! @SYMTestStatus Implemented
1.1281 +//---------------------------------------------
1.1282 +
1.1283 + {
1.1284 + {859, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.1285 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.1286 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1287 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1288 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1289 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1290 + (TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
1.1291 + },
1.1292 +
1.1293 +//---------------------------------------------
1.1294 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0860
1.1295 +//! @SYMTestType CIT
1.1296 +//!
1.1297 +//! @SYMAPI CFileMan::Copy()
1.1298 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.1299 +//! Copy files with combination 'FILE01.TXT' from source to the target.
1.1300 +//! @SYMTestActions Copy does not happen just returns the error code.
1.1301 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1302 +//! @SYMTestPriority High
1.1303 +//! @SYMTestStatus Implemented
1.1304 +//---------------------------------------------
1.1305 +
1.1306 + {
1.1307 + {860, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1308 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.1309 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1310 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1311 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1312 + (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
1.1313 + (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1.1314 + },
1.1315 +
1.1316 +//---------------------------------------------
1.1317 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0861
1.1318 +//! @SYMTestType CIT
1.1319 +//!
1.1320 +//! @SYMAPI CFileMan::Copy()
1.1321 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.1322 +//! Copy files with wildcard combination '*.*' from source to the target.
1.1323 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1324 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1325 +//! @SYMTestPriority High
1.1326 +//! @SYMTestStatus Implemented
1.1327 +//---------------------------------------------
1.1328 +
1.1329 + {
1.1330 + {861, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1331 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.1332 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1333 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1334 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1335 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.1336 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.1337 + },
1.1338 +//---------------------------------------------
1.1339 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0862
1.1340 +//! @SYMTestType CIT
1.1341 +//!
1.1342 +//! @SYMAPI CFileMan::Copy()
1.1343 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.1344 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.1345 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1346 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1347 +//! @SYMTestPriority High
1.1348 +//! @SYMTestStatus Implemented
1.1349 +//---------------------------------------------
1.1350 +
1.1351 + {
1.1352 + {862, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1353 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.1354 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1355 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1356 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1357 + (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
1.1358 + (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1.1359 + },
1.1360 +
1.1361 +//---------------------------------------------
1.1362 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0863
1.1363 +//! @SYMTestType CIT
1.1364 +//!
1.1365 +//! @SYMAPI CFileMan::Copy()
1.1366 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.1367 +//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1.1368 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1369 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1370 +//! @SYMTestPriority High
1.1371 +//! @SYMTestStatus Implemented
1.1372 +//---------------------------------------------
1.1373 +
1.1374 + {
1.1375 + {863, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1376 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.1377 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1378 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1379 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1380 + (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1.1381 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.1382 + },
1.1383 +
1.1384 +//---------------------------------------------
1.1385 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0864
1.1386 +//! @SYMTestType CIT
1.1387 +//!
1.1388 +//! @SYMAPI CFileMan::Copy()
1.1389 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.1390 +//! Copy files with wildcard combination '*.TXT' from source to the target.
1.1391 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1392 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1393 +//! @SYMTestPriority High
1.1394 +//! @SYMTestStatus Implemented
1.1395 +//---------------------------------------------
1.1396 +
1.1397 + {
1.1398 + {864, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1399 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.1400 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1401 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1402 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1403 + (TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
1.1404 + (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
1.1405 + },
1.1406 +
1.1407 +//---------------------------------------------
1.1408 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0865
1.1409 +//! @SYMTestType CIT
1.1410 +//!
1.1411 +//! @SYMAPI CFileMan::Copy()
1.1412 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.1413 +//! Copy files with wildcard combination 'FILE.*' from source to the target.
1.1414 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1415 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1416 +//! @SYMTestPriority High
1.1417 +//! @SYMTestStatus Implemented
1.1418 +//---------------------------------------------
1.1419 +
1.1420 + {
1.1421 + {865, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1422 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.1423 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1424 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1425 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1426 + (TText*)L"?:\\Trg\\", {BLOCK37, EMPTY},
1.1427 + (TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
1.1428 + },
1.1429 +
1.1430 +//---------------------------------------------
1.1431 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0866
1.1432 +//! @SYMTestType CIT
1.1433 +//!
1.1434 +//! @SYMAPI CFileMan::Copy()
1.1435 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.1436 +//! Copy files with combination 'FILE01.TXT' from source to the target.
1.1437 +//! @SYMTestActions Copies the specified files from source to the target.
1.1438 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1439 +//! @SYMTestPriority High
1.1440 +//! @SYMTestStatus Implemented
1.1441 +//---------------------------------------------
1.1442 +
1.1443 + {
1.1444 + {866, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1445 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.1446 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1447 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1448 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1449 + (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
1.1450 + (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1.1451 + },
1.1452 +
1.1453 +//---------------------------------------------
1.1454 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0867
1.1455 +//! @SYMTestType CIT
1.1456 +//!
1.1457 +//! @SYMAPI CFileMan::Copy()
1.1458 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.1459 +//! Copy files with wildcard combination '*.*' from source to the target.
1.1460 +//! @SYMTestActions Copies the specified files from source to the target.
1.1461 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1462 +//! @SYMTestPriority High
1.1463 +//! @SYMTestStatus Implemented
1.1464 +//---------------------------------------------
1.1465 +
1.1466 + {
1.1467 + {867, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1468 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.1469 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1470 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1471 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1472 + (TText*)L"?:\\Trg\\", {BLOCK04, EMPTY},
1.1473 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.1474 + },
1.1475 +
1.1476 +//---------------------------------------------
1.1477 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0868
1.1478 +//! @SYMTestType CIT
1.1479 +//!
1.1480 +//! @SYMAPI CFileMan::Copy()
1.1481 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.1482 +//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1.1483 +//! @SYMTestActions Copies the specified files from source to the target.
1.1484 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1485 +//! @SYMTestPriority High
1.1486 +//! @SYMTestStatus Implemented
1.1487 +//---------------------------------------------
1.1488 +
1.1489 + {
1.1490 + {868, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1491 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.1492 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1493 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1494 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1495 + (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
1.1496 + (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1.1497 + },
1.1498 +
1.1499 +//---------------------------------------------
1.1500 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0869
1.1501 +//! @SYMTestType CIT
1.1502 +//!
1.1503 +//! @SYMAPI CFileMan::Copy()
1.1504 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.1505 +//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1.1506 +//! @SYMTestActions Copies the specified files from source to the target.
1.1507 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1508 +//! @SYMTestPriority High
1.1509 +//! @SYMTestStatus Implemented
1.1510 +//---------------------------------------------
1.1511 +
1.1512 + {
1.1513 + {869, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1514 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.1515 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1516 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1517 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1518 + (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1.1519 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.1520 + },
1.1521 +
1.1522 +//---------------------------------------------
1.1523 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0870
1.1524 +//! @SYMTestType CIT
1.1525 +//!
1.1526 +//! @SYMAPI CFileMan::Copy()
1.1527 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.1528 +//! Copy files with wildcard combination '*.TXT' from source to the target.
1.1529 +//! @SYMTestActions Copies the specified files from source to the target.
1.1530 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1531 +//! @SYMTestPriority High
1.1532 +//! @SYMTestStatus Implemented
1.1533 +//---------------------------------------------
1.1534 +
1.1535 + {
1.1536 + {870, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1537 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.1538 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1539 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1540 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1541 + (TText*)L"?:\\Trg\\", {BLOCK36, EMPTY},
1.1542 + (TText*)L"?:\\TrgCom\\", {BLOCK36, EMPTY}}
1.1543 + },
1.1544 +
1.1545 +//---------------------------------------------
1.1546 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0871
1.1547 +//! @SYMTestType CIT
1.1548 +//!
1.1549 +//! @SYMAPI CFileMan::Copy()
1.1550 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.1551 +//! Copy files with wildcard combination 'FILE.*' from source to the target.
1.1552 +//! @SYMTestActions Copies the specified files from source to the target.
1.1553 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1554 +//! @SYMTestPriority High
1.1555 +//! @SYMTestStatus Implemented
1.1556 +//---------------------------------------------
1.1557 +
1.1558 + {
1.1559 + {871, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.1560 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.1561 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1562 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1563 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1564 + (TText*)L"?:\\Trg\\", {BLOCK37, EMPTY},
1.1565 + (TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
1.1566 + },
1.1567 +
1.1568 +//*******************Special Cases for Copy*************************
1.1569 +//---------------------------------------------
1.1570 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0872
1.1571 +//! @SYMTestType CIT
1.1572 +//!
1.1573 +//! @SYMAPI CFileMan::Copy()
1.1574 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1575 +//! Copy files from Src directory without backward slash to the target.
1.1576 +//! @SYMTestActions Copies the specified files from source to the target.
1.1577 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1578 +//! @SYMTestPriority High
1.1579 +//! @SYMTestStatus Implemented
1.1580 +//---------------------------------------------
1.1581 +
1.1582 + {
1.1583 + {872, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1584 + {&gFixedDriveValid, (TText*)L"?:\\Src",
1.1585 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1586 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1587 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1588 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1589 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1590 + },
1.1591 +
1.1592 +//---------------------------------------------
1.1593 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0873
1.1594 +//! @SYMTestType CIT
1.1595 +//!
1.1596 +//! @SYMAPI CFileMan::Copy()
1.1597 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1598 +//! Copy files from Src directory without backward slash to the target directory without backward slash.
1.1599 +//! @SYMTestActions Copies the specified files from source to the target.
1.1600 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1601 +//! @SYMTestPriority High
1.1602 +//! @SYMTestStatus Implemented
1.1603 +//---------------------------------------------
1.1604 +
1.1605 + {
1.1606 + {873, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1607 + {&gFixedDriveValid, (TText*)L"?:\\Src",
1.1608 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1609 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1610 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.1611 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1612 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1613 + },
1.1614 +
1.1615 +//---------------------------------------------
1.1616 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0874
1.1617 +//! @SYMTestType CIT
1.1618 +//!
1.1619 +//! @SYMAPI CFileMan::Copy()
1.1620 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1621 +//! Copy files from Src to the unspecified(NULL) target path.
1.1622 +//! @SYMTestActions Copies the specified files from source to the target (default session path is taken as target path).
1.1623 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1624 +//! @SYMTestPriority High
1.1625 +//! @SYMTestStatus Implemented
1.1626 +//---------------------------------------------
1.1627 +
1.1628 + {
1.1629 + {874, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1630 + {&gFixedDriveValid, (TText*)L"?:\\Src\\",
1.1631 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1632 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1633 + {&gDriveToTest, (TText*)L"",
1.1634 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.1635 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1636 + },
1.1637 +
1.1638 +//---------------------------------------------
1.1639 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0875
1.1640 +//! @SYMTestType CIT
1.1641 +//!
1.1642 +//! @SYMAPI CFileMan::Copy()
1.1643 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1644 +//! Copy files from unspecified(NULL) Src to the target.
1.1645 +//! @SYMTestActions Copies the specified files from source(default session path is taken as source path) to the target.
1.1646 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1647 +//! @SYMTestPriority High
1.1648 +//! @SYMTestStatus Implemented
1.1649 +//---------------------------------------------
1.1650 +
1.1651 + {
1.1652 + {875, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1653 + {&gFixedDriveValid, (TText*)L"",
1.1654 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1655 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1656 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.1657 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1658 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1659 + },
1.1660 +
1.1661 +//---------------------------------------------
1.1662 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0876
1.1663 +//! @SYMTestType CIT
1.1664 +//!
1.1665 +//! @SYMAPI CFileMan::Copy()
1.1666 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1667 +//! Copy Src to the target while renaming with wildcard condition 'FILE*.TXT'.
1.1668 +//! @SYMTestActions Copies the specified files from source to the target.
1.1669 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1670 +//! @SYMTestPriority High
1.1671 +//! @SYMTestStatus Implemented
1.1672 +//---------------------------------------------
1.1673 +
1.1674 + {
1.1675 + {876, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1676 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.1677 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1678 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1679 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.1680 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1681 + (TText*)L"?:\\TrgCom\\", {BLOCK14, EMPTY}}
1.1682 + },
1.1683 +
1.1684 +//---------------------------------------------
1.1685 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0877
1.1686 +//! @SYMTestType CIT
1.1687 +//!
1.1688 +//! @SYMAPI CFileMan::Copy()
1.1689 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1690 +//! Copy Src to the target while renaming without wildcard condition.
1.1691 +//! @SYMTestActions Copies the specified files from source to the target.
1.1692 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1693 +//! @SYMTestPriority High
1.1694 +//! @SYMTestStatus Implemented
1.1695 +//---------------------------------------------
1.1696 +
1.1697 + {
1.1698 + {877, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1699 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.1700 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1701 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1702 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.1703 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1704 + (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1.1705 + },
1.1706 +
1.1707 +//---------------------------------------------
1.1708 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0878
1.1709 +//! @SYMTestType CIT
1.1710 +//!
1.1711 +//! @SYMAPI CFileMan::Copy()
1.1712 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1713 +//! Copy from Src to same Src location .
1.1714 +//! @SYMTestActions Copy does not happen, returns the error code..
1.1715 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1716 +//! @SYMTestPriority High
1.1717 +//! @SYMTestStatus Implemented
1.1718 +//---------------------------------------------
1.1719 +
1.1720 + {
1.1721 + {878, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1722 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.1723 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1724 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1725 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.1726 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.1727 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.1728 + },
1.1729 +
1.1730 +//---------------------------------------------
1.1731 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0879
1.1732 +//! @SYMTestType CIT
1.1733 +//!
1.1734 +//! @SYMAPI CFileMan::Copy()
1.1735 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1736 +//! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1.1737 +//! @SYMTestActions Copies the specified files from source to the target.
1.1738 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1739 +//! @SYMTestPriority High
1.1740 +//! @SYMTestStatus Implemented
1.1741 +//---------------------------------------------
1.1742 +
1.1743 + {
1.1744 + {879, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1745 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.1746 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1747 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1748 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.1749 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1750 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.1751 + },
1.1752 +
1.1753 +//---------------------------------------------
1.1754 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0882
1.1755 +//! @SYMTestType CIT
1.1756 +//!
1.1757 +//! @SYMAPI CFileMan::Copy()
1.1758 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1759 +//! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
1.1760 +//! @SYMTestActions Copies the specified files from source to the target.
1.1761 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1762 +//! @SYMTestPriority High
1.1763 +//! @SYMTestStatus Implemented
1.1764 +//---------------------------------------------
1.1765 +
1.1766 + {
1.1767 + {882, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1768 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.1769 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1770 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1771 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.1772 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1773 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.1774 + },
1.1775 +
1.1776 +//---------------------------------------------
1.1777 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0883
1.1778 +//! @SYMTestType CIT
1.1779 +//!
1.1780 +//! @SYMAPI CFileMan::Copy()
1.1781 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.1782 +//! Copy files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
1.1783 +//! @SYMTestActions Copies the specified files from source to the target.
1.1784 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.1785 +//! @SYMTestPriority High
1.1786 +//! @SYMTestStatus Implemented
1.1787 +//---------------------------------------------
1.1788 +
1.1789 + {
1.1790 + {883, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.1791 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.1792 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1793 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1794 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.1795 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.1796 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.1797 + },
1.1798 +
1.1799 +//---------------------------------------------
1.1800 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0885
1.1801 +//! @SYMTestType CIT
1.1802 +//!
1.1803 +//! @SYMAPI CFileMan::Copy()
1.1804 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1805 +//! Copy files from Src directory without backward slash to the target
1.1806 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1807 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1808 +//! @SYMTestPriority High
1.1809 +//! @SYMTestStatus Implemented
1.1810 +//---------------------------------------------
1.1811 +
1.1812 + {
1.1813 + {885, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1814 + {&gFixedDriveValid, (TText*)L"?:\\Src",
1.1815 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1816 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1817 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE02.TXT",
1.1818 + (TText*)L"?:\\Trg\\", {{3,EOB}, EMPTY},
1.1819 + (TText*)L"?:\\TrgCom\\", {{3,EOB}, EMPTY}}
1.1820 + },
1.1821 +
1.1822 +//---------------------------------------------
1.1823 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0886
1.1824 +//! @SYMTestType CIT
1.1825 +//!
1.1826 +//! @SYMAPI CFileMan::Copy()
1.1827 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1828 +//! Copy files from Src directory without backward slash to the target directory without backward slash.
1.1829 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1830 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1831 +//! @SYMTestPriority High
1.1832 +//! @SYMTestStatus Implemented
1.1833 +//---------------------------------------------
1.1834 +
1.1835 + {
1.1836 + {886, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1837 + {&gFixedDriveValid, (TText*)L"?:\\Src",
1.1838 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1839 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1840 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.1841 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.1842 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1843 + },
1.1844 +
1.1845 +//---------------------------------------------
1.1846 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0887
1.1847 +//! @SYMTestType CIT
1.1848 +//!
1.1849 +//! @SYMAPI CFileMan::Copy()
1.1850 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1851 +//! Copy files from Src to the unspecified(NULL) target path.
1.1852 +//! @SYMTestActions Copies the specified files from source to the target (default session path is taken as target path).
1.1853 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1854 +//! @SYMTestPriority High
1.1855 +//! @SYMTestStatus Implemented
1.1856 +//---------------------------------------------
1.1857 +
1.1858 + {
1.1859 + {887, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1860 + {&gFixedDriveValid, (TText*)L"?:\\Src\\",
1.1861 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1862 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1863 + {&gDriveToTest, (TText*)L"",
1.1864 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK24, EMPTY},
1.1865 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1866 + },
1.1867 +
1.1868 +//---------------------------------------------
1.1869 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0888
1.1870 +//! @SYMTestType CIT
1.1871 +//!
1.1872 +//! @SYMAPI CFileMan::Copy()
1.1873 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1874 +//! Copy files from unspecified(NULL) Src to the target.
1.1875 +//! @SYMTestActions Copies the specified files from source(default session path is taken as source path) to the target.
1.1876 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1877 +//! @SYMTestPriority High
1.1878 +//! @SYMTestStatus Implemented
1.1879 +//---------------------------------------------
1.1880 +
1.1881 + {
1.1882 + {888, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1883 + {&gFixedDriveValid, (TText*)L"",
1.1884 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1885 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1886 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.1887 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.1888 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.1889 + },
1.1890 +
1.1891 +//---------------------------------------------
1.1892 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0889
1.1893 +//! @SYMTestType CIT
1.1894 +//!
1.1895 +//! @SYMAPI CFileMan::Copy()
1.1896 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1897 +//! Copy Src file?.TXT to the target while renaming with wildcard condition 'FILE*.TXT'.
1.1898 +//! @SYMTestActions Copies the specified files from source to the target.
1.1899 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1900 +//! @SYMTestPriority High
1.1901 +//! @SYMTestStatus Implemented
1.1902 +//---------------------------------------------
1.1903 +
1.1904 + {
1.1905 + {889, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1906 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.1907 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1908 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1909 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.1910 + (TText*)L"?:\\Trg\\", {BLOCK14, EMPTY},
1.1911 + (TText*)L"?:\\TrgCom\\", {BLOCK14, EMPTY}}
1.1912 + },
1.1913 +
1.1914 +//---------------------------------------------
1.1915 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0890
1.1916 +//! @SYMTestType CIT
1.1917 +//!
1.1918 +//! @SYMAPI CFileMan::Copy()
1.1919 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1920 +//! Copy Src to the target while renaming without wildcard condition.
1.1921 +//! @SYMTestActions Copies the specified files from source to the target.
1.1922 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1923 +//! @SYMTestPriority High
1.1924 +//! @SYMTestStatus Implemented
1.1925 +//---------------------------------------------
1.1926 +
1.1927 + {
1.1928 + {890, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1929 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.1930 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.1931 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1932 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.1933 + (TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
1.1934 + (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1.1935 + },
1.1936 +
1.1937 +//---------------------------------------------
1.1938 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0891
1.1939 +//! @SYMTestType CIT
1.1940 +//!
1.1941 +//! @SYMAPI CFileMan::Copy()
1.1942 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1943 +//! Copy from Src to same Src location.
1.1944 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1945 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1946 +//! @SYMTestPriority High
1.1947 +//! @SYMTestStatus Implemented
1.1948 +//---------------------------------------------
1.1949 +
1.1950 + {
1.1951 + {891, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1952 + {&gFixedDriveValid, (TText*)L"?:\\Src\\",
1.1953 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1954 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1955 + {&gDriveToTest, (TText*)L"?:\\Src\\",
1.1956 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1957 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.1958 + },
1.1959 +
1.1960 +//---------------------------------------------
1.1961 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0892
1.1962 +//! @SYMTestType CIT
1.1963 +//!
1.1964 +//! @SYMAPI CFileMan::Copy()
1.1965 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1966 +//! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1.1967 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1968 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1969 +//! @SYMTestPriority High
1.1970 +//! @SYMTestStatus Implemented
1.1971 +//---------------------------------------------
1.1972 +
1.1973 + {
1.1974 + {892, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1975 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.1976 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.1977 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.1978 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.1979 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.1980 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.1981 + },
1.1982 +
1.1983 +//---------------------------------------------
1.1984 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0893
1.1985 +//! @SYMTestType CIT
1.1986 +//!
1.1987 +//! @SYMAPI CFileMan::Copy()
1.1988 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.1989 +//! Copy files 'FILE*.TXT' from Src and rename file to 'RENAMED*.TXT' on the target.
1.1990 +//! @SYMTestActions Copy does not happen, returns the error code.
1.1991 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.1992 +//! @SYMTestPriority High
1.1993 +//! @SYMTestStatus Implemented
1.1994 +//---------------------------------------------
1.1995 +
1.1996 + {
1.1997 + {893, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.1998 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.1999 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2000 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2001 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED*.TXT",
1.2002 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.2003 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.2004 + },
1.2005 +
1.2006 +//---------------------------------------------
1.2007 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0894
1.2008 +//! @SYMTestType CIT
1.2009 +//!
1.2010 +//! @SYMAPI CFileMan::Copy()
1.2011 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2012 +//! Copy files 'FILE?.TXT' from Src and rename file to 'RENAMED?.TXT' on the target.
1.2013 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2014 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2015 +//! @SYMTestPriority High
1.2016 +//! @SYMTestStatus Implemented
1.2017 +//---------------------------------------------
1.2018 +
1.2019 + {
1.2020 + {894, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2021 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.2022 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2023 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2024 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED?.TXT",
1.2025 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.2026 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.2027 + },
1.2028 +
1.2029 +//---------------------------------------------
1.2030 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0895
1.2031 +//! @SYMTestType CIT
1.2032 +//!
1.2033 +//! @SYMAPI CFileMan::Copy()
1.2034 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2035 +//! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
1.2036 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2037 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2038 +//! @SYMTestPriority High
1.2039 +//! @SYMTestStatus Implemented
1.2040 +//---------------------------------------------
1.2041 +
1.2042 + {
1.2043 + {895, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2044 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.2045 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2046 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2047 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.2048 + (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
1.2049 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.2050 + },
1.2051 +
1.2052 +//---------------------------------------------
1.2053 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0896
1.2054 +//! @SYMTestType CIT
1.2055 +//!
1.2056 +//! @SYMAPI CFileMan::Copy()
1.2057 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.2058 +//! Copy files from Src directory without backward slash to the target.
1.2059 +//! @SYMTestActions Copies the specified files from source to the target.
1.2060 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2061 +//! @SYMTestPriority High
1.2062 +//! @SYMTestStatus Implemented
1.2063 +//---------------------------------------------
1.2064 +
1.2065 + {
1.2066 + {896, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2067 + {&gFixedDriveValid, (TText*)L"?:\\Src",
1.2068 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2069 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2070 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE02.TXT",
1.2071 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2072 + (TText*)L"?:\\TrgCom\\", {{3,EOB}, EMPTY}}
1.2073 + },
1.2074 +
1.2075 +//---------------------------------------------
1.2076 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0939
1.2077 +//! @SYMTestType CIT
1.2078 +//!
1.2079 +//! @SYMAPI CFileMan::Copy()
1.2080 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2081 +//! Copy Src to the target while renaming without wildcard condition.
1.2082 +//! @SYMTestActions Copies the specified files from source to the target.
1.2083 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2084 +//! @SYMTestPriority High
1.2085 +//! @SYMTestStatus Implemented
1.2086 +//---------------------------------------------
1.2087 +
1.2088 + {
1.2089 + {939, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2090 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.2091 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.2092 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2093 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.2094 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2095 + (TText*)L"?:\\TrgCom\\", {BLOCK16, EMPTY}}
1.2096 + },
1.2097 +
1.2098 + //---------------------------------------------
1.2099 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0940
1.2100 +//! @SYMTestType CIT
1.2101 +//!
1.2102 +//! @SYMAPI CFileMan::Copy()
1.2103 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2104 +//! Copy from Src to same Src location .
1.2105 +//! @SYMTestActions Copies the specified files from source to the target.
1.2106 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2107 +//! @SYMTestPriority High
1.2108 +//! @SYMTestStatus Implemented
1.2109 +//---------------------------------------------
1.2110 +
1.2111 + {
1.2112 + {940, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2113 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.2114 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.2115 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2116 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.2117 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.2118 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.2119 + },
1.2120 +
1.2121 + //---------------------------------------------
1.2122 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0941
1.2123 +//! @SYMTestType CIT
1.2124 +//!
1.2125 +//! @SYMAPI CFileMan::Copy()
1.2126 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2127 +//! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1.2128 +//! @SYMTestActions Copies the specified files from source to the target.
1.2129 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2130 +//! @SYMTestPriority High
1.2131 +//! @SYMTestStatus Implemented
1.2132 +//---------------------------------------------
1.2133 +
1.2134 + {
1.2135 + {941, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2136 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2137 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2138 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2139 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.2140 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.2141 + (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
1.2142 + },
1.2143 +
1.2144 +//---------------------------------------------
1.2145 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0942
1.2146 +//! @SYMTestType CIT
1.2147 +//!
1.2148 +//! @SYMAPI CFileMan::Copy()
1.2149 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2150 +//! Copy files 'FILE*.TXT' from Src and rename file to 'RENAMED*.TXT' on the target.
1.2151 +//! @SYMTestActions Copies the specified files from source to the target.
1.2152 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2153 +//! @SYMTestPriority High
1.2154 +//! @SYMTestStatus Implemented
1.2155 +//---------------------------------------------
1.2156 +
1.2157 + {
1.2158 + {942, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2159 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.2160 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2161 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2162 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED*.TXT",
1.2163 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.2164 + (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
1.2165 + },
1.2166 +
1.2167 + //---------------------------------------------
1.2168 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0943
1.2169 +//! @SYMTestType CIT
1.2170 +//!
1.2171 +//! @SYMAPI CFileMan::Copy()
1.2172 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2173 +//! Copy files 'FILE?.TXT' from Src and rename file to 'RENAMED?.TXT' on the target.
1.2174 +//! @SYMTestActions Copies the specified files from source to the target.
1.2175 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2176 +//! @SYMTestPriority High
1.2177 +//! @SYMTestStatus Implemented
1.2178 +//---------------------------------------------
1.2179 +
1.2180 + {
1.2181 + {943, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2182 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.2183 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2184 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2185 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED?.TXT",
1.2186 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.2187 + (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
1.2188 + },
1.2189 +
1.2190 + //---------------------------------------------
1.2191 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0944
1.2192 +//! @SYMTestType CIT
1.2193 +//!
1.2194 +//! @SYMAPI CFileMan::Copy()
1.2195 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2196 +//! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
1.2197 +//! @SYMTestActions Copies the specified files from source to the target.
1.2198 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2199 +//! @SYMTestPriority High
1.2200 +//! @SYMTestStatus Implemented
1.2201 +//---------------------------------------------
1.2202 +
1.2203 + {
1.2204 + {944, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2205 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.2206 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2207 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2208 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.2209 + (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
1.2210 + (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
1.2211 + },
1.2212 +
1.2213 +
1.2214 + //---------------------------------------------
1.2215 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0945
1.2216 +//! @SYMTestType CIT
1.2217 +//!
1.2218 +//! @SYMAPI CFileMan::Copy()
1.2219 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.2220 +//! Copy files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
1.2221 +//! @SYMTestActions Copies the specified files from source to the target.
1.2222 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2223 +//! @SYMTestPriority High
1.2224 +//! @SYMTestStatus Implemented
1.2225 +//---------------------------------------------
1.2226 +
1.2227 + {
1.2228 + {945, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2229 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.2230 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2231 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2232 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.2233 + (TText*)L"?:\\Trg\\", {BLOCK46, EMPTY},
1.2234 + (TText*)L"?:\\TrgCom\\", {BLOCK46, EMPTY}}
1.2235 + },
1.2236 +
1.2237 + //---------------------------------------------
1.2238 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0947
1.2239 +//! @SYMTestType CIT
1.2240 +//!
1.2241 +//! @SYMAPI CFileMan::Copy()
1.2242 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.2243 +//! Copy files Cyclically.
1.2244 +//! @SYMTestActions Cyclically Copies the specified files from source to the target.
1.2245 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2246 +//! @SYMTestPriority High
1.2247 +//! @SYMTestStatus Implemented
1.2248 +//---------------------------------------------
1.2249 +
1.2250 + {
1.2251 + {947, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1.2252 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
1.2253 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2254 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2255 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\DIR11\\",
1.2256 + (TText*)L"?:\\Src\\DIR1\\DIR11\\", {EMPTY, EMPTY},
1.2257 + (TText*)L"?:\\TrgCom\\", {BLOCK42, EMPTY}}
1.2258 + },
1.2259 +
1.2260 + //---------------------------------------------
1.2261 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0948
1.2262 +//! @SYMTestType CIT
1.2263 +//!
1.2264 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2265 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.2266 +//! Copy file 'FILE01.TXT'from source to target .
1.2267 +//! @SYMTestActions Copies the specified file from source to the target.
1.2268 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2269 +//! @SYMTestPriority High
1.2270 +//! @SYMTestStatus Implemented
1.2271 +//---------------------------------------------
1.2272 +
1.2273 + {
1.2274 + {948, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
1.2275 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2276 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2277 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2278 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2279 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2280 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2281 + },
1.2282 +
1.2283 + //---------------------------------------------
1.2284 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0949
1.2285 +//! @SYMTestType CIT
1.2286 +//!
1.2287 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2288 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2289 +//! Copy file 'FILE01.TXT'from source to target .
1.2290 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2291 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2292 +//! @SYMTestPriority High
1.2293 +//! @SYMTestStatus Implemented
1.2294 +//---------------------------------------------
1.2295 +
1.2296 + {
1.2297 + {949, ECFMCopyHandle, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2298 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2299 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2300 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2301 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2302 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.2303 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2304 + },
1.2305 +
1.2306 +
1.2307 + //---------------------------------------------
1.2308 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0950
1.2309 +//! @SYMTestType CIT
1.2310 +//!
1.2311 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2312 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.2313 +//! Copy file 'FILE01.TXT'from source to target .
1.2314 +//! @SYMTestActions Copies the specified file from source to the target.
1.2315 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2316 +//! @SYMTestPriority High
1.2317 +//! @SYMTestStatus Implemented
1.2318 +//---------------------------------------------
1.2319 +
1.2320 + {
1.2321 + {950, ECFMCopyHandle, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2322 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2323 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2324 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2325 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2326 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2327 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2328 + },
1.2329 +
1.2330 +
1.2331 + //---------------------------------------------
1.2332 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0951
1.2333 +//! @SYMTestType CIT
1.2334 +//!
1.2335 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2336 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.2337 +//! Copy file 'FILE01.TXT'from source to target .
1.2338 +//! @SYMTestActions Copies the specified file from source to the target.
1.2339 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2340 +//! @SYMTestPriority High
1.2341 +//! @SYMTestStatus Implemented
1.2342 +//---------------------------------------------
1.2343 +
1.2344 + {
1.2345 + {951, ECFMCopyHandle, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2346 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2347 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2348 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2349 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2350 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.2351 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2352 + },
1.2353 +
1.2354 + //---------------------------------------------
1.2355 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0952
1.2356 +//! @SYMTestType CIT
1.2357 +//!
1.2358 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2359 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.2360 +//! Copy file 'FILE01.TXT'from source to target .
1.2361 +//! @SYMTestActions Copies the specified file from source to the target.
1.2362 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2363 +//! @SYMTestPriority High
1.2364 +//! @SYMTestStatus Implemented
1.2365 +//---------------------------------------------
1.2366 +
1.2367 + {
1.2368 + {952, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
1.2369 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2370 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2371 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2372 + {&gDriveToTest, (TText*)L"",
1.2373 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.2374 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2375 + },
1.2376 +
1.2377 +
1.2378 + //---------------------------------------------
1.2379 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0953
1.2380 +//! @SYMTestType CIT
1.2381 +//!
1.2382 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2383 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.2384 +//! Copy files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
1.2385 +//! @SYMTestActions Copies the specified file from source to the target.
1.2386 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2387 +//! @SYMTestPriority High
1.2388 +//! @SYMTestStatus Implemented
1.2389 +//---------------------------------------------
1.2390 +
1.2391 + {
1.2392 + {953, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
1.2393 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2394 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2395 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2396 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.2397 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2398 + (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1.2399 + },
1.2400 +
1.2401 + //---------------------------------------------
1.2402 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0954
1.2403 +//! @SYMTestType CIT
1.2404 +//!
1.2405 +//! @SYMAPI CFileMan::Copy() (overloaded Copy)
1.2406 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
1.2407 +//! Copy from Src to same Src location .
1.2408 +//! @SYMTestActions Copies the specified file from source to the target.
1.2409 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2410 +//! @SYMTestPriority High
1.2411 +//! @SYMTestStatus Implemented
1.2412 +//---------------------------------------------
1.2413 +
1.2414 + {
1.2415 + {954, ECFMCopyHandle, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2416 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.2417 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2418 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2419 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.2420 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.2421 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.2422 + },
1.2423 +
1.2424 +//Basic Negative test case for Copy:
1.2425 + //---------------------------------------------
1.2426 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0970
1.2427 +//! @SYMTestType CIT
1.2428 +//!
1.2429 +//! @SYMAPI CFileMan::Copy()
1.2430 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2431 +//! Copy a directory with longpath name from Src to the target.
1.2432 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2433 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.2434 +//! @SYMTestPriority High
1.2435 +//! @SYMTestStatus Implemented
1.2436 +//---------------------------------------------
1.2437 +
1.2438 + {
1.2439 + {970, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
1.2440 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
1.2441 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.2442 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.2443 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2444 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2445 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2446 + },
1.2447 +
1.2448 +
1.2449 + //---------------------------------------------
1.2450 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0971
1.2451 +//! @SYMTestType CIT
1.2452 +//!
1.2453 +//! @SYMAPI CFileMan::Copy()
1.2454 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2455 +//! Copy a file with longname from Src to the target.
1.2456 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2457 +//! @SYMTestExpectedResults 1.KErrBadName in success case
1.2458 +//! @SYMTestPriority High
1.2459 +//! @SYMTestStatus Implemented
1.2460 +//---------------------------------------------
1.2461 +
1.2462 + {
1.2463 + {971, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
1.2464 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asfdsa21asfdsa22asfdsa23asfdsa24asfdsa25asfdsa26",
1.2465 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.2466 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.2467 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2468 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2469 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2470 + },
1.2471 +
1.2472 + //---------------------------------------------
1.2473 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0972
1.2474 +//! @SYMTestType CIT
1.2475 +//!
1.2476 +//! @SYMAPI CFileMan::Copy()
1.2477 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2478 +//! Copy a directory from non available Src drive to the target.
1.2479 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2480 +//! @SYMTestExpectedResults 1.KErrNotReady in success case
1.2481 +//! @SYMTestPriority High
1.2482 +//! @SYMTestStatus Implemented
1.2483 +//---------------------------------------------
1.2484 +
1.2485 + {
1.2486 + {972, ECFMCopy, 0, KErrNotReady, KErrNone, KErrNotReady},
1.2487 + {&gFixedDriveNotReady, (TText*)L"?:\\Src\\",
1.2488 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.2489 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.2490 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2491 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2492 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2493 + },
1.2494 +
1.2495 + //---------------------------------------------
1.2496 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0973
1.2497 +//! @SYMTestType CIT
1.2498 +//!
1.2499 +//! @SYMAPI CFileMan::Copy()
1.2500 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2501 +//! Copy a directory from Src drive to the non available target.
1.2502 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2503 +//! @SYMTestExpectedResults 1.KErrNotReady in success case
1.2504 +//! @SYMTestPriority High
1.2505 +//! @SYMTestStatus Implemented
1.2506 +//---------------------------------------------
1.2507 +
1.2508 + {
1.2509 + {973, ECFMCopy, 0, KErrNotReady, KErrNone, KErrNotReady},
1.2510 + {&gDriveToTest, (TText*)L"?:\\Src\\",
1.2511 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2512 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2513 + {&gFixedDriveNotReady, (TText*)L"?:\\Trg\\",
1.2514 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2515 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2516 + },
1.2517 +
1.2518 + //---------------------------------------------
1.2519 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0974
1.2520 +//! @SYMTestType CIT
1.2521 +//!
1.2522 +//! @SYMAPI CFileMan::Copy()
1.2523 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2524 +//! Copy a directory from Src drive to the Readonly target drive.
1.2525 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2526 +//! @SYMTestExpectedResults 1.KErrAccessDenied in success case
1.2527 +//! @SYMTestPriority High
1.2528 +//! @SYMTestStatus Implemented
1.2529 +//---------------------------------------------
1.2530 +
1.2531 + {
1.2532 + {974, ECFMCopy, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
1.2533 + {&gDriveToTest, (TText*)L"?:\\Src\\",
1.2534 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2535 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2536 + {&gFixedDriveReadOnly, (TText*)L"?:\\test\\",
1.2537 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2538 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2539 + },
1.2540 +
1.2541 + //---------------------------------------------
1.2542 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0975
1.2543 +//! @SYMTestType CIT
1.2544 +//!
1.2545 +//! @SYMAPI CFileMan::Copy()
1.2546 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2547 +//! Copy a directory from non available Src directory to the target.
1.2548 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2549 +//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.2550 +//! @SYMTestPriority High
1.2551 +//! @SYMTestStatus Implemented
1.2552 +//---------------------------------------------
1.2553 +
1.2554 + {
1.2555 + {975, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.2556 + {&gFixedDriveValid, (TText*)L"?:\\src\\NODIR\\",
1.2557 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2558 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2559 + {&gDriveToTest, (TText*)L"?:\\test\\",
1.2560 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.2561 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.2562 + },
1.2563 +
1.2564 + //---------------------------------------------
1.2565 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0976
1.2566 +//! @SYMTestType CIT
1.2567 +//!
1.2568 +//! @SYMAPI CFileMan::Copy()
1.2569 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2570 +//! Copy a directory from non available Src directory to the target.
1.2571 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2572 +//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.2573 +//! @SYMTestPriority High
1.2574 +//! @SYMTestStatus Implemented
1.2575 +//---------------------------------------------
1.2576 +
1.2577 + {
1.2578 + {976, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.2579 + {&gFixedDriveValid, (TText*)L"?:\\Src\\Dir1\\",
1.2580 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2581 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2582 + {&gDriveToTest, (TText*)L"?:\\Trg\\test\\",
1.2583 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.2584 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.2585 + },
1.2586 +
1.2587 + //---------------------------------------------
1.2588 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0977
1.2589 +//! @SYMTestType CIT
1.2590 +//!
1.2591 +//! @SYMAPI CFileMan::Copy()
1.2592 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2593 +//! Copy a invaid directory path from Src directory to the target.
1.2594 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2595 +//! @SYMTestExpectedResults 1.KErrBadName in success case.
1.2596 +//! @SYMTestPriority High
1.2597 +//! @SYMTestStatus Implemented
1.2598 +//---------------------------------------------
1.2599 +
1.2600 + {
1.2601 + {977, ECFMCopy, 0, KErrBadName, KErrNone, KErrBadName},
1.2602 + {&gFixedDriveValid, (TText*)L"::C:",
1.2603 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.2604 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.2605 + {&gDriveToTest, (TText*)L"?:\\test\\",
1.2606 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2607 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2608 + },
1.2609 +
1.2610 +//---------------------------------------------
1.2611 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0979
1.2612 +//! @SYMTestType CIT
1.2613 +//!
1.2614 +//! @SYMAPI CFileMan::Copy()
1.2615 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2616 +//! Copy a invaid directory path with single from Src directory to the target.
1.2617 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2618 +//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.2619 +//! @SYMTestPriority High
1.2620 +//! @SYMTestStatus Implemented
1.2621 +//---------------------------------------------
1.2622 +
1.2623 + {
1.2624 + {979, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.2625 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01zz.txt\\",
1.2626 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2627 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2628 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2629 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2630 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2631 + },
1.2632 +
1.2633 + //---------------------------------------------
1.2634 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0980
1.2635 +//! @SYMTestType CIT
1.2636 +//!
1.2637 +//! @SYMAPI CFileMan::Copy()
1.2638 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2639 +//! Copy files from Src directory to the non available target directory.
1.2640 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2641 +//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.2642 +//! @SYMTestPriority High
1.2643 +//! @SYMTestStatus Implemented
1.2644 +//---------------------------------------------
1.2645 +
1.2646 + {
1.2647 + {980, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.2648 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
1.2649 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2650 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2651 + {&gDriveToTest, (TText*)L"?:\\Trg\\Dummy\\",
1.2652 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2653 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2654 + },
1.2655 +
1.2656 + //---------------------------------------------
1.2657 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0981
1.2658 +//! @SYMTestType CIT
1.2659 +//!
1.2660 +//! @SYMAPI CFileMan::Copy()
1.2661 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
1.2662 +//! Copy files from Src directory to the target directory with a long paths.
1.2663 +//! @SYMTestActions Copy does not happen, returns the error code.
1.2664 +//! @SYMTestExpectedResults 1.KErrBadName in success case.
1.2665 +//! @SYMTestPriority High
1.2666 +//! @SYMTestStatus Implemented
1.2667 +//---------------------------------------------
1.2668 +
1.2669 + {
1.2670 + {981, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
1.2671 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2672 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.2673 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.2674 + {&gDriveToTest, (TText*)L"?:\\Trg\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
1.2675 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2676 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.2677 + },
1.2678 +
1.2679 +//---------------------------------------------
1.2680 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0982
1.2681 +//! @SYMTestType CIT
1.2682 +//!
1.2683 +//! @SYMAPI CFileMan::Move()
1.2684 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.2685 +//! Move a file 'FILE01.TXT' from source to the target.
1.2686 +//! @SYMTestActions Moves specified files from source to the target.
1.2687 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2688 +//! @SYMTestPriority High
1.2689 +//! @SYMTestStatus Implemented
1.2690 +//---------------------------------------------
1.2691 +
1.2692 + {
1.2693 + {982, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.2694 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2695 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2696 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.2697 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2698 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2699 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2700 + },
1.2701 +
1.2702 +//---------------------------------------------
1.2703 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0983
1.2704 +//! @SYMTestType CIT
1.2705 +//!
1.2706 +//! @SYMAPI CFileMan::Move()
1.2707 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.2708 +//! Move files with wildcard combination '*.*' from source to the target.
1.2709 +//! @SYMTestActions Moves specified files from source to the target.
1.2710 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2711 +//! @SYMTestPriority High
1.2712 +//! @SYMTestStatus Implemented
1.2713 +//---------------------------------------------
1.2714 +
1.2715 + {
1.2716 + {983, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.2717 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.2718 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2719 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.2720 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2721 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2722 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.2723 + },
1.2724 +
1.2725 +//---------------------------------------------
1.2726 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0984
1.2727 +//! @SYMTestType CIT
1.2728 +//!
1.2729 +//! @SYMAPI CFileMan::Move()
1.2730 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.2731 +//! Move files with wildcard combination 'FILE*.TXT' from source to the target.
1.2732 +//! @SYMTestActions Moves specified files from source to the target.
1.2733 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2734 +//! @SYMTestPriority High
1.2735 +//! @SYMTestStatus Implemented
1.2736 +//---------------------------------------------
1.2737 +
1.2738 + {
1.2739 + {984, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.2740 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.2741 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2742 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
1.2743 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2744 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2745 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.2746 + },
1.2747 +
1.2748 +//---------------------------------------------
1.2749 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0985
1.2750 +//! @SYMTestType CIT
1.2751 +//!
1.2752 +//! @SYMAPI CFileMan::Move()
1.2753 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.2754 +//! Move files with wildcard combination 'FILE?.TXT' from source to the target.
1.2755 +//! @SYMTestActions Moves specified files from source to the target.
1.2756 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2757 +//! @SYMTestPriority High
1.2758 +//! @SYMTestStatus Implemented
1.2759 +//---------------------------------------------
1.2760 +
1.2761 + {
1.2762 + {985, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.2763 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.2764 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2765 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.2766 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2767 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2768 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.2769 + },
1.2770 +
1.2771 +//---------------------------------------------
1.2772 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0986
1.2773 +//! @SYMTestType CIT
1.2774 +//!
1.2775 +//! @SYMAPI CFileMan::Move()
1.2776 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.2777 +//! Move files with wildcard combination '*.TXT' from source to the target.
1.2778 +//! @SYMTestActions Moves specified files from source to the target.
1.2779 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2780 +//! @SYMTestPriority High
1.2781 +//! @SYMTestStatus Implemented
1.2782 +//---------------------------------------------
1.2783 +
1.2784 + {
1.2785 + {986, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.2786 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.2787 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2788 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK29}},
1.2789 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2790 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2791 + (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
1.2792 + },
1.2793 +
1.2794 +//---------------------------------------------
1.2795 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0987
1.2796 +//! @SYMTestType CIT
1.2797 +//!
1.2798 +//! @SYMAPI CFileMan::Move()
1.2799 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.2800 +//! Move files with wildcard combination 'FILE.*' from source to the target.
1.2801 +//! @SYMTestActions Moves specified files from source to the target.
1.2802 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2803 +//! @SYMTestPriority High
1.2804 +//! @SYMTestStatus Implemented
1.2805 +//---------------------------------------------
1.2806 +
1.2807 + {
1.2808 + {987, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.2809 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.2810 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2811 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.2812 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2813 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.2814 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.2815 + },
1.2816 +
1.2817 +
1.2818 + //---------------------------------------------
1.2819 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0988
1.2820 +//! @SYMTestType CIT
1.2821 +//!
1.2822 +//! @SYMAPI CFileMan::Move()
1.2823 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2824 +//! Move files with combination 'FILE01.TXT' from source to the target.
1.2825 +//! @SYMTestActions Move does not happen just returns the error code.
1.2826 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2827 +//! @SYMTestPriority High
1.2828 +//! @SYMTestStatus Implemented
1.2829 +//---------------------------------------------
1.2830 +
1.2831 + {
1.2832 + {988, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2833 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2834 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2835 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2836 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2837 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.2838 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2839 + },
1.2840 +
1.2841 + //---------------------------------------------
1.2842 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0989
1.2843 +//! @SYMTestType CIT
1.2844 +//!
1.2845 +//! @SYMAPI CFileMan::Move()
1.2846 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2847 +//! Move files with combination '*.*' from source to the target.
1.2848 +//! @SYMTestActions Move does not happen just returns the error code.
1.2849 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2850 +//! @SYMTestPriority High
1.2851 +//! @SYMTestStatus Implemented
1.2852 +//---------------------------------------------
1.2853 +
1.2854 + {
1.2855 + {989, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2856 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.2857 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2858 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2859 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2860 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.2861 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.2862 + },
1.2863 +
1.2864 + //---------------------------------------------
1.2865 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0990
1.2866 +//! @SYMTestType CIT
1.2867 +//!
1.2868 +//! @SYMAPI CFileMan::Move()
1.2869 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2870 +//! Move files with combination 'FILE*.TXT' from source to the target.
1.2871 +//! @SYMTestActions Move does not happen just returns the error code.
1.2872 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2873 +//! @SYMTestPriority High
1.2874 +//! @SYMTestStatus Implemented
1.2875 +//---------------------------------------------
1.2876 +
1.2877 + {
1.2878 + {990, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2879 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.2880 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2881 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2882 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2883 + (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1.2884 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.2885 + },
1.2886 +
1.2887 + //---------------------------------------------
1.2888 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0991
1.2889 +//! @SYMTestType CIT
1.2890 +//!
1.2891 +//! @SYMAPI CFileMan::Move()
1.2892 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2893 +//! Move files with combination 'FILE?.TXT' from source to the target.
1.2894 +//! @SYMTestActions Move does not happen just returns the error code.
1.2895 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2896 +//! @SYMTestPriority High
1.2897 +//! @SYMTestStatus Implemented
1.2898 +//---------------------------------------------
1.2899 +
1.2900 + {
1.2901 + {991, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2902 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.2903 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2904 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2905 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2906 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.2907 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.2908 + },
1.2909 +
1.2910 + //---------------------------------------------
1.2911 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0992
1.2912 +//! @SYMTestType CIT
1.2913 +//!
1.2914 +//! @SYMAPI CFileMan::Move()
1.2915 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2916 +//! Move files with combination '*.TXT' from source to the target.
1.2917 +//! @SYMTestActions Move does not happen just returns the error code.
1.2918 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2919 +//! @SYMTestPriority High
1.2920 +//! @SYMTestStatus Implemented
1.2921 +//---------------------------------------------
1.2922 +
1.2923 + {
1.2924 + {992, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2925 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.2926 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2927 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2928 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2929 + (TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
1.2930 + (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
1.2931 + },
1.2932 +
1.2933 + //---------------------------------------------
1.2934 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0993
1.2935 +//! @SYMTestType CIT
1.2936 +//!
1.2937 +//! @SYMAPI CFileMan::Move()
1.2938 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.2939 +//! Move files with combination 'FILE.*' from source to the target.
1.2940 +//! @SYMTestActions Move does not happen just returns the error code.
1.2941 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.2942 +//! @SYMTestPriority High
1.2943 +//! @SYMTestStatus Implemented
1.2944 +//---------------------------------------------
1.2945 +
1.2946 + {
1.2947 + {993, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.2948 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.2949 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2950 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.2951 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2952 + (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
1.2953 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.2954 + },
1.2955 +
1.2956 + //---------------------------------------------
1.2957 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0994
1.2958 +//! @SYMTestType CIT
1.2959 +//!
1.2960 +//! @SYMAPI CFileMan::Move()
1.2961 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.2962 +//! Move files with combination 'FILE01.TXT' from source to the target.
1.2963 +//! @SYMTestActions Moves the specified files from source to the target.
1.2964 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2965 +//! @SYMTestPriority High
1.2966 +//! @SYMTestStatus Implemented
1.2967 +//---------------------------------------------
1.2968 +
1.2969 + {
1.2970 + {994, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2971 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.2972 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2973 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.2974 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2975 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.2976 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.2977 + },
1.2978 +
1.2979 + //---------------------------------------------
1.2980 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0995
1.2981 +//! @SYMTestType CIT
1.2982 +//!
1.2983 +//! @SYMAPI CFileMan::Move()
1.2984 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.2985 +//! Move files with combination '*.*' from source to the target.
1.2986 +//! @SYMTestActions Moves the specified files from source to the target.
1.2987 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.2988 +//! @SYMTestPriority High
1.2989 +//! @SYMTestStatus Implemented
1.2990 +//---------------------------------------------
1.2991 +
1.2992 + {
1.2993 + {995, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.2994 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.2995 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.2996 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.2997 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.2998 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.2999 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.3000 + },
1.3001 +
1.3002 + //---------------------------------------------
1.3003 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0996
1.3004 +//! @SYMTestType CIT
1.3005 +//!
1.3006 +//! @SYMAPI CFileMan::Move()
1.3007 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.3008 +//! Move files with combination 'FILE*.TXT' from source to the target.
1.3009 +//! @SYMTestActions Moves the specified files from source to the target.
1.3010 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3011 +//! @SYMTestPriority High
1.3012 +//! @SYMTestStatus Implemented
1.3013 +//---------------------------------------------
1.3014 +
1.3015 + {
1.3016 + {996, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3017 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.3018 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3019 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
1.3020 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3021 + (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1.3022 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.3023 + },
1.3024 +
1.3025 + //---------------------------------------------
1.3026 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0997
1.3027 +//! @SYMTestType CIT
1.3028 +//!
1.3029 +//! @SYMAPI CFileMan::Move()
1.3030 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.3031 +//! Move files with combination 'FILE?.TXT' from source to the target.
1.3032 +//! @SYMTestActions Moves the specified files from source to the target.
1.3033 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3034 +//! @SYMTestPriority High
1.3035 +//! @SYMTestStatus Implemented
1.3036 +//---------------------------------------------
1.3037 +
1.3038 + {
1.3039 + {997, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3040 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.3041 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3042 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.3043 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3044 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.3045 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.3046 + },
1.3047 +
1.3048 + //---------------------------------------------
1.3049 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0998
1.3050 +//! @SYMTestType CIT
1.3051 +//!
1.3052 +//! @SYMAPI CFileMan::Move()
1.3053 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.3054 +//! Move files with combination '*.TXT' from source to the target.
1.3055 +//! @SYMTestActions Moves the specified files from source to the target.
1.3056 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3057 +//! @SYMTestPriority High
1.3058 +//! @SYMTestStatus Implemented
1.3059 +//---------------------------------------------
1.3060 +
1.3061 + {
1.3062 + {998, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3063 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.3064 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3065 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK29}},
1.3066 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3067 + (TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
1.3068 + (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
1.3069 + },
1.3070 +
1.3071 + //---------------------------------------------
1.3072 +//! @SYMTestCaseID PBASE-T_CFILEMAN-0999
1.3073 +//! @SYMTestType CIT
1.3074 +//!
1.3075 +//! @SYMAPI CFileMan::Move()
1.3076 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.3077 +//! Move files with combination 'FILE.*' from source to the target.
1.3078 +//! @SYMTestActions Moves the specified files from source to the target.
1.3079 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3080 +//! @SYMTestPriority High
1.3081 +//! @SYMTestStatus Implemented
1.3082 +//---------------------------------------------
1.3083 +
1.3084 + {
1.3085 + {999, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3086 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.3087 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3088 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.3089 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3090 + (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
1.3091 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.3092 + },
1.3093 +
1.3094 + //---------------------------------------------
1.3095 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1000
1.3096 +//! @SYMTestType CIT
1.3097 +//!
1.3098 +//! @SYMAPI CFileMan::Move()
1.3099 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.3100 +//! Move files with combination 'FILE01.TXT' from source to the target.
1.3101 +//! @SYMTestActions Moves the specified files from source to the target.
1.3102 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3103 +//! @SYMTestPriority High
1.3104 +//! @SYMTestStatus Implemented
1.3105 +//---------------------------------------------
1.3106 +
1.3107 + {
1.3108 + {1000, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.3109 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.3110 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3111 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.3112 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3113 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3114 + (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1.3115 + },
1.3116 +
1.3117 + //---------------------------------------------
1.3118 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1001
1.3119 +//! @SYMTestType CIT
1.3120 +//!
1.3121 +//! @SYMAPI CFileMan::Move()
1.3122 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.3123 +//! Move files with combination 'FILE01.TXT' from source to the target.
1.3124 +//! @SYMTestActions Moves the specified files from source to the target.
1.3125 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3126 +//! @SYMTestPriority High
1.3127 +//! @SYMTestStatus Implemented
1.3128 +//---------------------------------------------
1.3129 +
1.3130 + {
1.3131 + {1001, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.3132 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.3133 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3134 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.3135 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3136 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3137 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.3138 + },
1.3139 +
1.3140 + //---------------------------------------------
1.3141 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1002
1.3142 +//! @SYMTestType CIT
1.3143 +//!
1.3144 +//! @SYMAPI CFileMan::Move()
1.3145 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.3146 +//! Move files with combination 'FILE*.TXT' from source to the target.
1.3147 +//! @SYMTestActions Moves the specified files from source to the target.
1.3148 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3149 +//! @SYMTestPriority High
1.3150 +//! @SYMTestStatus Implemented
1.3151 +//---------------------------------------------
1.3152 +
1.3153 + {
1.3154 + {1002, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.3155 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.3156 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3157 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
1.3158 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3159 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3160 + (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1.3161 + },
1.3162 +
1.3163 + //---------------------------------------------
1.3164 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1003
1.3165 +//! @SYMTestType CIT
1.3166 +//!
1.3167 +//! @SYMAPI CFileMan::Move()
1.3168 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.3169 +//! Move files with combination 'FILE?.TXT' from source to the target.
1.3170 +//! @SYMTestActions Moves the specified files from source to the target.
1.3171 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3172 +//! @SYMTestPriority High
1.3173 +//! @SYMTestStatus Implemented
1.3174 +//---------------------------------------------
1.3175 +
1.3176 + {
1.3177 + {1003, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.3178 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.3179 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3180 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
1.3181 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3182 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3183 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.3184 + },
1.3185 +
1.3186 + //---------------------------------------------
1.3187 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1004
1.3188 +//! @SYMTestType CIT
1.3189 +//!
1.3190 +//! @SYMAPI CFileMan::Move()
1.3191 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.3192 +//! Move files with combination '*.TXT' from source to the target.
1.3193 +//! @SYMTestActions Moves the specified files from source to the target.
1.3194 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3195 +//! @SYMTestPriority High
1.3196 +//! @SYMTestStatus Implemented
1.3197 +//---------------------------------------------
1.3198 +
1.3199 + {
1.3200 + {1004, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.3201 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.3202 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3203 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
1.3204 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3205 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3206 + (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
1.3207 + },
1.3208 +
1.3209 + //---------------------------------------------
1.3210 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1005
1.3211 +//! @SYMTestType CIT
1.3212 +//!
1.3213 +//! @SYMAPI CFileMan::Move()
1.3214 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.3215 +//! Move files with combination 'FILE.*' from source to the target.
1.3216 +//! @SYMTestActions Moves the specified files from source to the target.
1.3217 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.3218 +//! @SYMTestPriority High
1.3219 +//! @SYMTestStatus Implemented
1.3220 +//---------------------------------------------
1.3221 +
1.3222 + {
1.3223 + {1005, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.3224 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.3225 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3226 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
1.3227 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3228 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3229 + (TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
1.3230 + },
1.3231 +
1.3232 + //---------------------------------------------
1.3233 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1006
1.3234 +//! @SYMTestType CIT
1.3235 +//!
1.3236 +//! @SYMAPI CFileMan::Move()
1.3237 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.3238 +//! Move files with combination 'FILE01.TXT' from source to the target.
1.3239 +//! @SYMTestActions Move does not happen just returns the error code.
1.3240 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3241 +//! @SYMTestPriority High
1.3242 +//! @SYMTestStatus Implemented
1.3243 +//---------------------------------------------
1.3244 +
1.3245 + {
1.3246 + {1006, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3247 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.3248 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3249 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3250 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3251 + (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
1.3252 + (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1.3253 + },
1.3254 +
1.3255 + //---------------------------------------------
1.3256 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1007
1.3257 +//! @SYMTestType CIT
1.3258 +//!
1.3259 +//! @SYMAPI CFileMan::Move()
1.3260 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.3261 +//! Move files with combination '*.*' from source to the target.
1.3262 +//! @SYMTestActions Move does not happen just returns the error code.
1.3263 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3264 +//! @SYMTestPriority High
1.3265 +//! @SYMTestStatus Implemented
1.3266 +//---------------------------------------------
1.3267 +
1.3268 + {
1.3269 + {1007, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3270 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1.3271 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3272 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3273 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3274 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.3275 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.3276 + },
1.3277 +
1.3278 + //---------------------------------------------
1.3279 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1008
1.3280 +//! @SYMTestType CIT
1.3281 +//!
1.3282 +//! @SYMAPI CFileMan::Move()
1.3283 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.3284 +//! Move files with combination 'FILE*.TXT' from source to the target.
1.3285 +//! @SYMTestActions Move does not happen just returns the error code.
1.3286 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3287 +//! @SYMTestPriority High
1.3288 +//! @SYMTestStatus Implemented
1.3289 +//---------------------------------------------
1.3290 +
1.3291 + {
1.3292 + {1008, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3293 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.3294 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3295 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3296 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3297 + (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
1.3298 + (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1.3299 + },
1.3300 +
1.3301 + //---------------------------------------------
1.3302 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1009
1.3303 +//! @SYMTestType CIT
1.3304 +//!
1.3305 +//! @SYMAPI CFileMan::Move()
1.3306 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.3307 +//! Move files with combination 'FILE?.TXT' from source to the target.
1.3308 +//! @SYMTestActions Move does not happen just returns the error code.
1.3309 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3310 +//! @SYMTestPriority High
1.3311 +//! @SYMTestStatus Implemented
1.3312 +//---------------------------------------------
1.3313 +
1.3314 + {
1.3315 + {1009, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3316 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.3317 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3318 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3319 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3320 + (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1.3321 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.3322 + },
1.3323 +
1.3324 + //---------------------------------------------
1.3325 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1010
1.3326 +//! @SYMTestType CIT
1.3327 +//!
1.3328 +//! @SYMAPI CFileMan::Move()
1.3329 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.3330 +//! Move files with combination '*.TXT' from source to the target.
1.3331 +//! @SYMTestActions Move does not happen just returns the error code.
1.3332 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3333 +//! @SYMTestPriority High
1.3334 +//! @SYMTestStatus Implemented
1.3335 +//---------------------------------------------
1.3336 +
1.3337 + {
1.3338 + {1010, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3339 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.3340 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3341 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3342 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3343 + (TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
1.3344 + (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
1.3345 + },
1.3346 +
1.3347 + //---------------------------------------------
1.3348 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1011
1.3349 +//! @SYMTestType CIT
1.3350 +//!
1.3351 +//! @SYMAPI CFileMan::Move()
1.3352 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.3353 +//! Move files with combination 'FILE.*' from source to the target.
1.3354 +//! @SYMTestActions Move does not happen just returns the error code.
1.3355 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3356 +//! @SYMTestPriority High
1.3357 +//! @SYMTestStatus Implemented
1.3358 +//---------------------------------------------
1.3359 +
1.3360 + {
1.3361 + {1011, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3362 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.3363 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3364 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3365 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3366 + (TText*)L"?:\\Trg\\", {BLOCK35, EMPTY},
1.3367 + (TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
1.3368 + },
1.3369 +
1.3370 + //---------------------------------------------
1.3371 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1012
1.3372 +//! @SYMTestType CIT
1.3373 +//!
1.3374 +//! @SYMAPI CFileMan::Move()
1.3375 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.3376 +//! Move files with combination 'FILE01.TXT' from source to the target.
1.3377 +//! @SYMTestActions Moves the specified files from source to the target.
1.3378 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3379 +//! @SYMTestPriority High
1.3380 +//! @SYMTestStatus Implemented
1.3381 +//---------------------------------------------
1.3382 +
1.3383 + {
1.3384 + {1012, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3385 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.3386 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3387 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.3388 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3389 + (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
1.3390 + (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1.3391 + },
1.3392 +
1.3393 + //---------------------------------------------
1.3394 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1013
1.3395 +//! @SYMTestType CIT
1.3396 + //! @SYMREQ NA
1.3397 + //! @SYMTestPurpose CFileMan::Move()
1.3398 + //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.3399 + //! Move files with combination '*' from source to the target.
1.3400 + //! @SYMTestActions Moves the specified files from source to the target.
1.3401 + //! @SYMTestExpectedResults 1.KErrNone in success case.
1.3402 + //! @SYMTestPriority High
1.3403 + //! @SYMTestStatus Implemented
1.3404 + //---------------------------------------------
1.3405 +
1.3406 + {
1.3407 + {1013, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3408 + {&gDriveToTest, (TText*)L"?:\\Src\\*",
1.3409 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3410 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.3411 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3412 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.3413 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.3414 + },
1.3415 +
1.3416 + //---------------------------------------------
1.3417 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1014
1.3418 +//! @SYMTestType CIT
1.3419 +//!
1.3420 +//! @SYMAPI CFileMan::Move()
1.3421 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.3422 +//! Move files with combination 'FILE*.TXT' from source to the target.
1.3423 +//! @SYMTestActions Moves the specified files from source to the target.
1.3424 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3425 +//! @SYMTestPriority High
1.3426 +//! @SYMTestStatus Implemented
1.3427 +//---------------------------------------------
1.3428 +
1.3429 + {
1.3430 + {1014, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3431 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1.3432 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3433 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
1.3434 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3435 + (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
1.3436 + (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1.3437 + },
1.3438 +
1.3439 + //---------------------------------------------
1.3440 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1015
1.3441 +//! @SYMTestType CIT
1.3442 +//!
1.3443 +//! @SYMAPI CFileMan::Move()
1.3444 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.3445 +//! Move files with combination 'FILE?.TXT' from source to the target.
1.3446 +//! @SYMTestActions Moves the specified files from source to the target.
1.3447 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3448 +//! @SYMTestPriority High
1.3449 +//! @SYMTestStatus Implemented
1.3450 +//---------------------------------------------
1.3451 +
1.3452 + {
1.3453 + {1015, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3454 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1.3455 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3456 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
1.3457 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3458 + (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1.3459 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.3460 + },
1.3461 +
1.3462 + //---------------------------------------------
1.3463 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1016
1.3464 +//! @SYMTestType CIT
1.3465 +//!
1.3466 +//! @SYMAPI CFileMan::Move()
1.3467 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.3468 +//! Move files with combination '*.TXT' from source to the target.
1.3469 +//! @SYMTestActions Moves the specified files from source to the target.
1.3470 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3471 +//! @SYMTestPriority High
1.3472 +//! @SYMTestStatus Implemented
1.3473 +//---------------------------------------------
1.3474 +
1.3475 + {
1.3476 + {1016, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3477 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.3478 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3479 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
1.3480 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3481 + (TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
1.3482 + (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
1.3483 + },
1.3484 +
1.3485 + //---------------------------------------------
1.3486 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1017
1.3487 +//! @SYMTestType CIT
1.3488 +//!
1.3489 +//! @SYMAPI CFileMan::Move()
1.3490 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.3491 +//! Move files with combination 'FILE.*' from source to the target.
1.3492 +//! @SYMTestActions Moves the specified files from source to the target.
1.3493 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3494 +//! @SYMTestPriority High
1.3495 +//! @SYMTestStatus Implemented
1.3496 +//---------------------------------------------
1.3497 +
1.3498 + {
1.3499 + {1017, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3500 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.3501 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3502 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
1.3503 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3504 + (TText*)L"?:\\Trg\\", {BLOCK35, EMPTY},
1.3505 + (TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
1.3506 + },
1.3507 +
1.3508 + //---------------------------------------------
1.3509 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1018
1.3510 +//! @SYMTestType CIT
1.3511 +//!
1.3512 +//! @SYMAPI CFileMan::Move()
1.3513 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3514 +//! Move files from Src directory without backward slash to the target.
1.3515 +//! @SYMTestActions Moves the specified files from source to the target.
1.3516 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3517 +//! @SYMTestPriority High
1.3518 +//! @SYMTestStatus Implemented
1.3519 +//---------------------------------------------
1.3520 +
1.3521 + {
1.3522 + {1018, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3523 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3524 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3525 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.3526 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3527 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3528 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3529 + },
1.3530 +
1.3531 + //---------------------------------------------
1.3532 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1019
1.3533 +//! @SYMTestType CIT
1.3534 +//!
1.3535 +//! @SYMAPI CFileMan::Move()
1.3536 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3537 +//! Move files from Src directory without backward slash to the target directory without backward slash.
1.3538 +//! @SYMTestActions Moves the specified files from source to the target.
1.3539 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3540 +//! @SYMTestPriority High
1.3541 +//! @SYMTestStatus Implemented
1.3542 +//---------------------------------------------
1.3543 +
1.3544 + {
1.3545 + {1019, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3546 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3547 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3548 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.3549 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.3550 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3551 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3552 + },
1.3553 +
1.3554 + //---------------------------------------------
1.3555 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1020
1.3556 +//! @SYMTestType CIT
1.3557 +//!
1.3558 +//! @SYMAPI CFileMan::Move()
1.3559 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3560 +//! Move files from Src to the unspecified(NULL) target path.
1.3561 +//! @SYMTestActions Moves the specified files from source to the target.
1.3562 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3563 +//! @SYMTestPriority High
1.3564 +//! @SYMTestStatus Implemented
1.3565 +//---------------------------------------------
1.3566 +
1.3567 + {
1.3568 + {1020, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3569 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3570 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3571 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.3572 + {&gDriveToTest, (TText*)L"",
1.3573 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.3574 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3575 + },
1.3576 +
1.3577 + //---------------------------------------------
1.3578 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1021
1.3579 +//! @SYMTestType CIT
1.3580 +//!
1.3581 +//! @SYMAPI CFileMan::Move()
1.3582 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3583 +//! Move files from unspecified(NULL) Src to the target.
1.3584 +//! @SYMTestActions Moves the specified files from source to the target.
1.3585 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3586 +//! @SYMTestPriority High
1.3587 +//! @SYMTestStatus Implemented
1.3588 +//---------------------------------------------
1.3589 +
1.3590 + {
1.3591 + {1021, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3592 + {&gFixedDriveValid, (TText*)L"",
1.3593 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3594 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.3595 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3596 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3597 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.3598 + },
1.3599 +
1.3600 + //---------------------------------------------
1.3601 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1022
1.3602 +//! @SYMTestType CIT
1.3603 +//!
1.3604 +//! @SYMAPI CFileMan::Move()
1.3605 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3606 +//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
1.3607 +//! @SYMTestActions Moves the specified files from source to the target.
1.3608 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3609 +//! @SYMTestPriority High
1.3610 +//! @SYMTestStatus Implemented
1.3611 +//---------------------------------------------
1.3612 +
1.3613 + {
1.3614 + {1022, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3615 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.3616 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3617 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.3618 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.3619 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3620 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.3621 + },
1.3622 +
1.3623 + //---------------------------------------------
1.3624 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1023
1.3625 +//! @SYMTestType CIT
1.3626 +//!
1.3627 +//! @SYMAPI CFileMan::Move()
1.3628 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3629 +//! Move files 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1.3630 +//! @SYMTestActions Moves the specified files from source to the target.
1.3631 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3632 +//! @SYMTestPriority High
1.3633 +//! @SYMTestStatus Implemented
1.3634 +//---------------------------------------------
1.3635 +
1.3636 + {
1.3637 + {1023, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3638 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.3639 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3640 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.3641 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.3642 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3643 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.3644 + },
1.3645 +
1.3646 + //---------------------------------------------
1.3647 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1026
1.3648 +//! @SYMTestType CIT
1.3649 +//!
1.3650 +//! @SYMAPI CFileMan::Move()
1.3651 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3652 +//! Move files '*.TXT' from Src and rename file to '*.REN' on the target.
1.3653 +//! @SYMTestActions Moves the specified files from source to the target.
1.3654 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3655 +//! @SYMTestPriority High
1.3656 +//! @SYMTestStatus Implemented
1.3657 +//---------------------------------------------
1.3658 +
1.3659 + {
1.3660 + {1026, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3661 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.3662 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3663 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.3664 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.3665 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3666 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.3667 + },
1.3668 +
1.3669 + //---------------------------------------------
1.3670 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1027
1.3671 +//! @SYMTestType CIT
1.3672 +//!
1.3673 +//! @SYMAPI CFileMan::Move()
1.3674 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3675 +//! Move files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
1.3676 +//! @SYMTestActions Moves the specified files from source to the target.
1.3677 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3678 +//! @SYMTestPriority High
1.3679 +//! @SYMTestStatus Implemented
1.3680 +//---------------------------------------------
1.3681 +
1.3682 + {
1.3683 + {1027, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3684 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.3685 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3686 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.3687 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.3688 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3689 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.3690 + },
1.3691 +
1.3692 + //---------------------------------------------
1.3693 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1029
1.3694 +//! @SYMTestType CIT
1.3695 +//!
1.3696 +//! @SYMAPI CFileMan::Move()
1.3697 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3698 +//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
1.3699 +//! @SYMTestActions Moves the specified files from source to the target.
1.3700 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3701 +//! @SYMTestPriority High
1.3702 +//! @SYMTestStatus Implemented
1.3703 +//---------------------------------------------
1.3704 +
1.3705 + {
1.3706 + {1029, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3707 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.3708 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3709 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.3710 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.3711 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3712 + (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1.3713 + },
1.3714 +
1.3715 +
1.3716 +//---------------------------------------------
1.3717 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1030
1.3718 +//! @SYMTestType CIT
1.3719 +//!
1.3720 +//! @SYMAPI CFileMan::Move()
1.3721 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.3722 +//! Move files from Src to same Src location.
1.3723 +//! @SYMTestActions Moves the specified files from source to the target.
1.3724 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3725 +//! @SYMTestPriority High
1.3726 +//! @SYMTestStatus Implemented
1.3727 +//---------------------------------------------
1.3728 +
1.3729 + {
1.3730 + {1030, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3731 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.3732 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3733 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3734 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.3735 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3736 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.3737 + },
1.3738 +
1.3739 + //---------------------------------------------
1.3740 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1031
1.3741 +//! @SYMTestType CIT
1.3742 +//!
1.3743 +//! @SYMAPI CFileMan::Move()
1.3744 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3745 +//! Move files from Src directory without backward slash to the target.
1.3746 +//! @SYMTestActions Move does not happen, returns the error code.
1.3747 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3748 +//! @SYMTestPriority High
1.3749 +//! @SYMTestStatus Implemented
1.3750 +//---------------------------------------------
1.3751 +
1.3752 + {
1.3753 + {1031, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
1.3754 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3755 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3756 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3757 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3758 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.3759 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3760 + },
1.3761 +
1.3762 + //---------------------------------------------
1.3763 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1032
1.3764 +//! @SYMTestType CIT
1.3765 +//!
1.3766 +//! @SYMAPI CFileMan::Move()
1.3767 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3768 +//! Move files from Src directory without backward slash to the target directory without backward slash.
1.3769 +//! @SYMTestActions Move does not happen, returns the error code.
1.3770 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3771 +//! @SYMTestPriority High
1.3772 +//! @SYMTestStatus Implemented
1.3773 +//---------------------------------------------
1.3774 +
1.3775 + {
1.3776 + {1032, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
1.3777 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3778 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3779 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3780 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.3781 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.3782 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3783 + },
1.3784 +
1.3785 + //---------------------------------------------
1.3786 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1033
1.3787 +//! @SYMTestType CIT
1.3788 +//!
1.3789 +//! @SYMAPI CFileMan::Move()
1.3790 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3791 +//! Move files from Src to the unspecified(NULL) target path.
1.3792 +//! @SYMTestActions Move does not happen, returns the error code.
1.3793 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3794 +//! @SYMTestPriority High
1.3795 +//! @SYMTestStatus Implemented
1.3796 +//---------------------------------------------
1.3797 +
1.3798 + {
1.3799 + {1033, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
1.3800 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3801 + (TText*)L"?:\\SRC\\", {ALL, EMPTY},
1.3802 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3803 + {&gDriveToTest, (TText*)L"",
1.3804 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
1.3805 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3806 + },
1.3807 +
1.3808 + //---------------------------------------------
1.3809 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1034
1.3810 +//! @SYMTestType CIT
1.3811 +//!
1.3812 +//! @SYMAPI CFileMan::Move()
1.3813 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3814 +//! Move files from unspecified(NULL) Src to the target.
1.3815 +//! @SYMTestActions Move does not happen, returns the error code.
1.3816 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3817 +//! @SYMTestPriority High
1.3818 +//! @SYMTestStatus Implemented
1.3819 +//---------------------------------------------
1.3820 +
1.3821 + {
1.3822 + {1034, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3823 + {&gFixedDriveValid, (TText*)L"",
1.3824 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3825 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3826 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3827 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.3828 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.3829 + },
1.3830 +
1.3831 + //---------------------------------------------
1.3832 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1035
1.3833 +//! @SYMTestType CIT
1.3834 +//!
1.3835 +//! @SYMAPI CFileMan::Move()
1.3836 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3837 +//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
1.3838 +//! @SYMTestActions Move does not happen, returns the error code.
1.3839 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3840 +//! @SYMTestPriority High
1.3841 +//! @SYMTestStatus Implemented
1.3842 +//---------------------------------------------
1.3843 +
1.3844 + {
1.3845 + {1035, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3846 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.3847 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3848 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3849 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.3850 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.3851 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.3852 + },
1.3853 +
1.3854 + //---------------------------------------------
1.3855 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1036
1.3856 +//! @SYMTestType CIT
1.3857 +//!
1.3858 +//! @SYMAPI CFileMan::Move()
1.3859 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3860 +//! Move files 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1.3861 +//! @SYMTestActions Move does not happen, returns the error code.
1.3862 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3863 +//! @SYMTestPriority High
1.3864 +//! @SYMTestStatus Implemented
1.3865 +//---------------------------------------------
1.3866 +
1.3867 + {
1.3868 + {1036, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3869 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.3870 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3871 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3872 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.3873 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.3874 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.3875 + },
1.3876 +
1.3877 + //---------------------------------------------
1.3878 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1039
1.3879 +//! @SYMTestType CIT
1.3880 +//!
1.3881 +//! @SYMAPI CFileMan::Move()
1.3882 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3883 +//! Move files '*.TXT' from Src and rename file to '*.REN' on the target.
1.3884 +//! @SYMTestActions Move does not happen, returns the error code.
1.3885 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3886 +//! @SYMTestPriority High
1.3887 +//! @SYMTestStatus Implemented
1.3888 +//---------------------------------------------
1.3889 +
1.3890 + {
1.3891 + {1039, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3892 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.3893 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3894 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3895 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.3896 + (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
1.3897 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.3898 + },
1.3899 +
1.3900 + //---------------------------------------------
1.3901 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1040
1.3902 +//! @SYMTestType CIT
1.3903 +//!
1.3904 +//! @SYMAPI CFileMan::Move()
1.3905 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3906 +//! Move files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
1.3907 +//! @SYMTestActions Move does not happen, returns the error code.
1.3908 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3909 +//! @SYMTestPriority High
1.3910 +//! @SYMTestStatus Implemented
1.3911 +//---------------------------------------------
1.3912 +
1.3913 + {
1.3914 + {1040, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3915 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.3916 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3917 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3918 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.3919 + (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
1.3920 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.3921 + },
1.3922 +
1.3923 + //---------------------------------------------
1.3924 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1042
1.3925 +//! @SYMTestType CIT
1.3926 +//!
1.3927 +//! @SYMAPI CFileMan::Move()
1.3928 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3929 +//! Move files from Src and rename file on the target without wildcard.
1.3930 +//! @SYMTestActions Move does not happen, returns the error code.
1.3931 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.3932 +//! @SYMTestPriority High
1.3933 +//! @SYMTestStatus Implemented
1.3934 +//---------------------------------------------
1.3935 +
1.3936 + {
1.3937 + {1042, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.3938 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.3939 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3940 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3941 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.3942 + (TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
1.3943 + (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1.3944 + },
1.3945 +
1.3946 + //---------------------------------------------
1.3947 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1043
1.3948 +//! @SYMTestType CIT
1.3949 +//!
1.3950 +//! @SYMAPI CFileMan::Move()
1.3951 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.3952 +//! Move files from Src to same Src location.
1.3953 +//! @SYMTestActions Move does not happen, returns the error code.
1.3954 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3955 +//! @SYMTestPriority High
1.3956 +//! @SYMTestStatus Implemented
1.3957 +//---------------------------------------------
1.3958 +
1.3959 + {
1.3960 + {1043, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
1.3961 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.3962 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.3963 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.3964 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.3965 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.3966 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.3967 + },
1.3968 +
1.3969 + //---------------------------------------------
1.3970 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1044
1.3971 +//! @SYMTestType CIT
1.3972 +//!
1.3973 +//! @SYMAPI CFileMan::Move()
1.3974 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.3975 +//! Move files from Src directory without backward slash to the target.
1.3976 +//! @SYMTestActions Moves the specified files from source to the target.
1.3977 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.3978 +//! @SYMTestPriority High
1.3979 +//! @SYMTestStatus Implemented
1.3980 +//---------------------------------------------
1.3981 +
1.3982 + {
1.3983 + {1044, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.3984 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.3985 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.3986 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.3987 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.3988 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.3989 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.3990 + },
1.3991 +
1.3992 + //---------------------------------------------
1.3993 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1045
1.3994 +//! @SYMTestType CIT
1.3995 +//!
1.3996 +//! @SYMAPI CFileMan::Move()
1.3997 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.3998 +//! Move files from Src directory without backward slash to the target directory without backward slash.
1.3999 +//! @SYMTestActions Moves the specified files from source to the target.
1.4000 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4001 +//! @SYMTestPriority High
1.4002 +//! @SYMTestStatus Implemented
1.4003 +//---------------------------------------------
1.4004 +
1.4005 + {
1.4006 + {1045, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4007 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4008 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4009 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4010 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.4011 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.4012 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4013 + },
1.4014 +
1.4015 + //---------------------------------------------
1.4016 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1046
1.4017 +//! @SYMTestType CIT
1.4018 +//!
1.4019 +//! @SYMAPI CFileMan::Move()
1.4020 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4021 +//! Move files from Src to the unspecified(NULL) target path.
1.4022 +//! @SYMTestActions Moves the specified files from source to the target.
1.4023 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4024 +//! @SYMTestPriority High
1.4025 +//! @SYMTestStatus Implemented
1.4026 +//---------------------------------------------
1.4027 +
1.4028 + {
1.4029 + {1046, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4030 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4031 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4032 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4033 + {&gDriveToTest, (TText*)L"",
1.4034 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
1.4035 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4036 + },
1.4037 +
1.4038 + //---------------------------------------------
1.4039 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1047
1.4040 +//! @SYMTestType CIT
1.4041 +//!
1.4042 +//! @SYMAPI CFileMan::Move()
1.4043 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4044 +//! Move files from unspecified(NULL) Src to the target.
1.4045 +//! @SYMTestActions Moves the specified files from source to the target.
1.4046 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4047 +//! @SYMTestPriority High
1.4048 +//! @SYMTestStatus Implemented
1.4049 +//---------------------------------------------
1.4050 +
1.4051 + {
1.4052 + {1047, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4053 + {&gFixedDriveValid, (TText*)L"",
1.4054 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4055 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.4056 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4057 + (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1.4058 + (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1.4059 + },
1.4060 +
1.4061 + //---------------------------------------------
1.4062 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1048
1.4063 +//! @SYMTestType CIT
1.4064 +//!
1.4065 +//! @SYMAPI CFileMan::Move()
1.4066 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4067 +//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
1.4068 +//! @SYMTestActions Moves the specified files from source to the target.
1.4069 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4070 +//! @SYMTestPriority High
1.4071 +//! @SYMTestStatus Implemented
1.4072 +//---------------------------------------------
1.4073 +
1.4074 + {
1.4075 + {1048, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4076 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.4077 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4078 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.4079 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.4080 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.4081 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.4082 + },
1.4083 +
1.4084 + //---------------------------------------------
1.4085 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1049
1.4086 +//! @SYMTestType CIT
1.4087 +//!
1.4088 +//! @SYMAPI CFileMan::Move()
1.4089 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4090 +//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
1.4091 +//! @SYMTestActions Moves the specified files from source to the target.
1.4092 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4093 +//! @SYMTestPriority High
1.4094 +//! @SYMTestStatus Implemented
1.4095 +//---------------------------------------------
1.4096 +
1.4097 + {
1.4098 + {1049, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4099 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.4100 + (TText*)L"?:\\SRC\\", {ALL, EMPTY},
1.4101 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.4102 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.4103 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.4104 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.4105 + },
1.4106 +
1.4107 + //---------------------------------------------
1.4108 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1052
1.4109 +//! @SYMTestType CIT
1.4110 +//!
1.4111 +//! @SYMAPI CFileMan::Move()
1.4112 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4113 +//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
1.4114 +//! @SYMTestActions Moves the specified files from source to the target.
1.4115 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4116 +//! @SYMTestPriority High
1.4117 +//! @SYMTestStatus Implemented
1.4118 +//---------------------------------------------
1.4119 +
1.4120 + {
1.4121 + {1052, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4122 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.4123 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4124 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.4125 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.4126 + (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
1.4127 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.4128 + },
1.4129 +
1.4130 + //---------------------------------------------
1.4131 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1053
1.4132 +//! @SYMTestType CIT
1.4133 +//!
1.4134 +//! @SYMAPI CFileMan::Move()
1.4135 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4136 +//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
1.4137 +//! @SYMTestActions Moves the specified files from source to the target.
1.4138 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4139 +//! @SYMTestPriority High
1.4140 +//! @SYMTestStatus Implemented
1.4141 +//---------------------------------------------
1.4142 +
1.4143 + {
1.4144 + {1053, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4145 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.4146 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4147 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.4148 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.4149 + (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
1.4150 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.4151 + },
1.4152 +
1.4153 + //---------------------------------------------
1.4154 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1055
1.4155 +//! @SYMTestType CIT
1.4156 +//!
1.4157 +//! @SYMAPI CFileMan::Move()
1.4158 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4159 +//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
1.4160 +//! @SYMTestActions Moves the specified files from source to the target.
1.4161 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4162 +//! @SYMTestPriority High
1.4163 +//! @SYMTestStatus Implemented
1.4164 +//---------------------------------------------
1.4165 +
1.4166 + {
1.4167 + {1055, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4168 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4169 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4170 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.4171 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.4172 + (TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
1.4173 + (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1.4174 + },
1.4175 +
1.4176 + //---------------------------------------------
1.4177 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1056
1.4178 +//! @SYMTestType CIT
1.4179 +//!
1.4180 +//! @SYMAPI CFileMan::Move()
1.4181 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.4182 +//! Move files from Src to same Src location.
1.4183 +//! @SYMTestActions Moves the specified files from source to the target.
1.4184 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4185 +//! @SYMTestPriority High
1.4186 +//! @SYMTestStatus Implemented
1.4187 +//---------------------------------------------
1.4188 +
1.4189 + {
1.4190 + {1056, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4191 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\CFILEMAN\\FILE01.TXT",
1.4192 + (TText*)L"?:\\F32-TST\\CFILEMAN\\", {ALL, EMPTY},
1.4193 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4194 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\CFILEMAN\\FILE01.TXT",
1.4195 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.4196 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4197 + },
1.4198 +
1.4199 + //---------------------------------------------
1.4200 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1057
1.4201 +//! @SYMTestType CIT
1.4202 +//!
1.4203 +//! @SYMAPI CFileMan::Move()
1.4204 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4205 +//! Move files from Src directory without backward slash to the target.
1.4206 +//! @SYMTestActions Moves the specified files from source to the target.
1.4207 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4208 +//! @SYMTestPriority High
1.4209 +//! @SYMTestStatus Implemented
1.4210 +//---------------------------------------------
1.4211 +
1.4212 + {
1.4213 + {1057, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4214 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4215 + (TText*)L"?:\\SRC\\", {ALL, EMPTY},
1.4216 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4217 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4218 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4219 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4220 + },
1.4221 +
1.4222 + //---------------------------------------------
1.4223 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1058
1.4224 +//! @SYMTestType CIT
1.4225 +//!
1.4226 +//! @SYMAPI CFileMan::Move()
1.4227 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4228 +//! Move files from Src directory without backward slash to the target directory without backward slash.
1.4229 +//! @SYMTestActions Moves the specified files from source to the target.
1.4230 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4231 +//! @SYMTestPriority High
1.4232 +//! @SYMTestStatus Implemented
1.4233 +//---------------------------------------------
1.4234 +
1.4235 + {
1.4236 + {1058, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4237 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4238 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4239 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4240 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.4241 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4242 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4243 + },
1.4244 +
1.4245 + //---------------------------------------------
1.4246 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1059
1.4247 +//! @SYMTestType CIT
1.4248 +//!
1.4249 +//! @SYMAPI CFileMan::Move()
1.4250 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4251 +//! Move files from Src to the unspecified(NULL) target path.
1.4252 +//! @SYMTestActions Moves the specified files from source to the target.
1.4253 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4254 +//! @SYMTestPriority High
1.4255 +//! @SYMTestStatus Implemented
1.4256 +//---------------------------------------------
1.4257 +
1.4258 + {
1.4259 + {1059, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4260 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4261 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4262 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4263 + {&gDriveToTest, (TText*)L"",
1.4264 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.4265 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4266 + },
1.4267 +
1.4268 + //---------------------------------------------
1.4269 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1060
1.4270 +//! @SYMTestType CIT
1.4271 +//!
1.4272 +//! @SYMAPI CFileMan::Move()
1.4273 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4274 +//! Move files from unspecified(NULL) Src to the target.
1.4275 +//! @SYMTestActions Moves the specified files from source to the target.
1.4276 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4277 +//! @SYMTestPriority High
1.4278 +//! @SYMTestStatus Implemented
1.4279 +//---------------------------------------------
1.4280 +
1.4281 + {
1.4282 + {1060, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4283 + {&gFixedDriveValid, (TText*)L"",
1.4284 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4285 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.4286 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4287 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4288 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4289 + },
1.4290 +
1.4291 + //---------------------------------------------
1.4292 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1061
1.4293 +//! @SYMTestType CIT
1.4294 +//!
1.4295 +//! @SYMAPI CFileMan::Move()
1.4296 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4297 +//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
1.4298 +//! @SYMTestActions Moves the specified files from source to the target.
1.4299 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4300 +//! @SYMTestPriority High
1.4301 +//! @SYMTestStatus Implemented
1.4302 +//---------------------------------------------
1.4303 +
1.4304 + {
1.4305 + {1061, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4306 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.4307 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4308 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
1.4309 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.4310 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4311 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.4312 + },
1.4313 +
1.4314 + //---------------------------------------------
1.4315 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1062
1.4316 +//! @SYMTestType CIT
1.4317 +//!
1.4318 +//! @SYMAPI CFileMan::Move()
1.4319 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4320 +//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
1.4321 +//! @SYMTestActions Moves the specified files from source to the target.
1.4322 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4323 +//! @SYMTestPriority High
1.4324 +//! @SYMTestStatus Implemented
1.4325 +//---------------------------------------------
1.4326 +
1.4327 + {
1.4328 + {1062, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4329 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.4330 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4331 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.4332 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.4333 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4334 + (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
1.4335 + },
1.4336 +
1.4337 + //---------------------------------------------
1.4338 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1065
1.4339 +//! @SYMTestType CIT
1.4340 +//!
1.4341 +//! @SYMAPI CFileMan::Move()
1.4342 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4343 +//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
1.4344 +//! @SYMTestActions Moves the specified files from source to the target.
1.4345 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4346 +//! @SYMTestPriority High
1.4347 +//! @SYMTestStatus Implemented
1.4348 +//---------------------------------------------
1.4349 +
1.4350 + {
1.4351 + {1065, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4352 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.4353 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4354 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
1.4355 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.4356 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4357 + (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
1.4358 + },
1.4359 +
1.4360 + //---------------------------------------------
1.4361 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1066
1.4362 +//! @SYMTestType CIT
1.4363 +//!
1.4364 +//! @SYMAPI CFileMan::Move()
1.4365 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4366 +//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
1.4367 +//! @SYMTestActions Moves the specified files from source to the target.
1.4368 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4369 +//! @SYMTestPriority High
1.4370 +//! @SYMTestStatus Implemented
1.4371 +//---------------------------------------------
1.4372 +
1.4373 + {
1.4374 + {1066, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4375 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.4376 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4377 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
1.4378 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.4379 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4380 + (TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
1.4381 + },
1.4382 +
1.4383 + //---------------------------------------------
1.4384 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1068
1.4385 +//! @SYMTestType CIT
1.4386 +//!
1.4387 +//! @SYMAPI CFileMan::Move()
1.4388 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4389 +//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
1.4390 +//! @SYMTestActions Moves the specified files from source to the target.
1.4391 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4392 +//! @SYMTestPriority High
1.4393 +//! @SYMTestStatus Implemented
1.4394 +//---------------------------------------------
1.4395 +
1.4396 + {
1.4397 + {1068, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4398 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4399 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4400 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.4401 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.4402 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4403 + (TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
1.4404 + },
1.4405 +
1.4406 + //---------------------------------------------
1.4407 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1069
1.4408 +//! @SYMTestType CIT
1.4409 +//!
1.4410 +//! @SYMAPI CFileMan::Move()
1.4411 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1.4412 +//! Move files from Src to same Src location.
1.4413 +//! @SYMTestActions Moves the specified files from source to the target.
1.4414 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.4415 +//! @SYMTestPriority High
1.4416 +//! @SYMTestStatus Implemented
1.4417 +//---------------------------------------------
1.4418 +
1.4419 + {
1.4420 + {1069, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4421 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4422 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4423 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4424 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4425 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4426 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.4427 + },
1.4428 +
1.4429 + //---------------------------------------------
1.4430 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1070
1.4431 +//! @SYMTestType CIT
1.4432 +//!
1.4433 +//! @SYMAPI CFileMan::Move()
1.4434 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4435 +//! Move files from Src directory without backward slash to the target.
1.4436 +//! @SYMTestActions Move does not happen, returns the error code.
1.4437 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4438 +//! @SYMTestPriority High
1.4439 +//! @SYMTestStatus Implemented
1.4440 +//---------------------------------------------
1.4441 +
1.4442 + {
1.4443 + {1070, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
1.4444 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4445 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4446 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4447 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4448 + (TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
1.4449 + (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
1.4450 + },
1.4451 +
1.4452 + //---------------------------------------------
1.4453 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1071
1.4454 +//! @SYMTestType CIT
1.4455 +//!
1.4456 +//! @SYMAPI CFileMan::Move()
1.4457 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4458 +//! Move files from Src directory without backward slash to the target directory without backward slash.
1.4459 +//! @SYMTestActions Move does not happen, returns the error code.
1.4460 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4461 +//! @SYMTestPriority High
1.4462 +//! @SYMTestStatus Implemented
1.4463 +//---------------------------------------------
1.4464 +
1.4465 + {
1.4466 + {1071, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
1.4467 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4468 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4469 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4470 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.4471 + (TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
1.4472 + (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
1.4473 + },
1.4474 +
1.4475 + //---------------------------------------------
1.4476 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1072
1.4477 +//! @SYMTestType CIT
1.4478 +//!
1.4479 +//! @SYMAPI CFileMan::Move()
1.4480 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4481 +//! Move files from Src to the unspecified(NULL) target path.
1.4482 +//! @SYMTestActions Move does not happen, returns the error code.
1.4483 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4484 +//! @SYMTestPriority High
1.4485 +//! @SYMTestStatus Implemented
1.4486 +//---------------------------------------------
1.4487 +
1.4488 + {
1.4489 + {1072, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
1.4490 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4491 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4492 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4493 + {&gDriveToTest, (TText*)L"",
1.4494 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK09, EMPTY},
1.4495 + (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
1.4496 + },
1.4497 +
1.4498 + //---------------------------------------------
1.4499 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1073
1.4500 +//! @SYMTestType CIT
1.4501 +//!
1.4502 +//! @SYMAPI CFileMan::Move()
1.4503 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4504 +//! Move files from unspecified(NULL) Src to the target.
1.4505 +//! @SYMTestActions Move does not happen, returns the error code.
1.4506 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4507 +//! @SYMTestPriority High
1.4508 +//! @SYMTestStatus Implemented
1.4509 +//---------------------------------------------
1.4510 +
1.4511 + {
1.4512 + {1073, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.4513 + {&gFixedDriveValid, (TText*)L"",
1.4514 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4515 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4516 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4517 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.4518 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4519 + },
1.4520 +
1.4521 + //---------------------------------------------
1.4522 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1074
1.4523 +//! @SYMTestType CIT
1.4524 +//!
1.4525 +//! @SYMAPI CFileMan::Move()
1.4526 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4527 +//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
1.4528 +//! @SYMTestActions Move does not happen, returns the error code.
1.4529 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4530 +//! @SYMTestPriority High
1.4531 +//! @SYMTestStatus Implemented
1.4532 +//---------------------------------------------
1.4533 +
1.4534 + {
1.4535 + {1074, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.4536 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.4537 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4538 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4539 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.4540 + (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1.4541 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.4542 + },
1.4543 +
1.4544 + //---------------------------------------------
1.4545 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1075
1.4546 +//! @SYMTestType CIT
1.4547 +//!
1.4548 +//! @SYMAPI CFileMan::Move()
1.4549 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4550 +//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
1.4551 +//! @SYMTestActions Move does not happen, returns the error code.
1.4552 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4553 +//! @SYMTestPriority High
1.4554 +//! @SYMTestStatus Implemented
1.4555 +//---------------------------------------------
1.4556 +
1.4557 + {
1.4558 + {1075, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.4559 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.4560 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4561 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4562 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.4563 + (TText*)L"?:\\Trg\\", {BLOCK30, EMPTY},
1.4564 + (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
1.4565 + },
1.4566 +
1.4567 + //---------------------------------------------
1.4568 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1078
1.4569 +//! @SYMTestType CIT
1.4570 +//!
1.4571 +//! @SYMAPI CFileMan::Move()
1.4572 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4573 +//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
1.4574 +//! @SYMTestActions Move does not happen, returns the error code.
1.4575 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4576 +//! @SYMTestPriority High
1.4577 +//! @SYMTestStatus Implemented
1.4578 +//---------------------------------------------
1.4579 +
1.4580 + {
1.4581 + {1078, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.4582 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.4583 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4584 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4585 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.4586 + (TText*)L"?:\\Trg\\", {BLOCK32, EMPTY},
1.4587 + (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
1.4588 + },
1.4589 +
1.4590 + //---------------------------------------------
1.4591 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1079
1.4592 +//! @SYMTestType CIT
1.4593 +//!
1.4594 +//! @SYMAPI CFileMan::Move()
1.4595 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4596 +//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
1.4597 +//! @SYMTestActions Move does not happen, returns the error code.
1.4598 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4599 +//! @SYMTestPriority High
1.4600 +//! @SYMTestStatus Implemented
1.4601 +//--------------------------------------------
1.4602 +
1.4603 + {
1.4604 + {1079, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.4605 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.4606 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4607 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4608 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.4609 + (TText*)L"?:\\Trg\\", {BLOCK40, EMPTY},
1.4610 + (TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
1.4611 + },
1.4612 +
1.4613 + //---------------------------------------------
1.4614 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1081
1.4615 +//! @SYMTestType CIT
1.4616 +//!
1.4617 +//! @SYMAPI CFileMan::Move()
1.4618 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4619 +//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
1.4620 +//! @SYMTestActions Move does not happen, returns the error code.
1.4621 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4622 +//! @SYMTestPriority High
1.4623 +//! @SYMTestStatus Implemented
1.4624 +//--------------------------------------------
1.4625 +
1.4626 + {
1.4627 + {1081, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.4628 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4629 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4630 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4631 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.4632 + (TText*)L"?:\\Trg\\", {{5,14,23,32,41,EOB}, EMPTY},
1.4633 + (TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
1.4634 + },
1.4635 +
1.4636 + //---------------------------------------------
1.4637 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1082
1.4638 +//! @SYMTestType CIT
1.4639 +//!
1.4640 +//! @SYMAPI CFileMan::Move()
1.4641 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1.4642 +//! Move files from Src to same Src location.
1.4643 +//! @SYMTestActions Move does not happen, returns the error code.
1.4644 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1.4645 +//! @SYMTestPriority High
1.4646 +//! @SYMTestStatus Implemented
1.4647 +//--------------------------------------------
1.4648 +
1.4649 + {
1.4650 + {1082, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1.4651 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4652 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4653 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4654 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4655 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.4656 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4657 + },
1.4658 +
1.4659 + //---------------------------------------------
1.4660 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1083
1.4661 +//! @SYMTestType CIT
1.4662 +//!
1.4663 +//! @SYMAPI CFileMan::Move()
1.4664 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4665 +//! Move files from Src directory without backward slash to the target.
1.4666 +//! @SYMTestActions Moves the specified files from source to the target.
1.4667 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4668 +//! @SYMTestPriority High
1.4669 +//! @SYMTestStatus Implemented
1.4670 +//--------------------------------------------
1.4671 +
1.4672 + {
1.4673 + {1083, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4674 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4675 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4676 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4677 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4678 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.4679 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4680 + },
1.4681 +
1.4682 + //---------------------------------------------
1.4683 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1084
1.4684 +//! @SYMTestType CIT
1.4685 +//!
1.4686 +//! @SYMAPI CFileMan::Move()
1.4687 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4688 +//! Move files from Src directory without backward slash to the target directory without backward slash.
1.4689 +//! @SYMTestActions Moves the specified files from source to the target.
1.4690 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4691 +//! @SYMTestPriority High
1.4692 +//! @SYMTestStatus Implemented
1.4693 +//--------------------------------------------
1.4694 +
1.4695 + {
1.4696 + {1084, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4697 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4698 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4699 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4700 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.4701 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.4702 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4703 + },
1.4704 +
1.4705 + //---------------------------------------------
1.4706 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1085
1.4707 +//! @SYMTestType CIT
1.4708 +//!
1.4709 +//! @SYMAPI CFileMan::Move()
1.4710 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4711 +//! Move files from Src to the unspecified(NULL) target path.
1.4712 +//! @SYMTestActions Moves the specified files from source to the target.
1.4713 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4714 +//! @SYMTestPriority High
1.4715 +//! @SYMTestStatus Implemented
1.4716 +//--------------------------------------------
1.4717 +
1.4718 + {
1.4719 + {1085, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4720 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
1.4721 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4722 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.4723 + {&gDriveToTest, (TText*)L"",
1.4724 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
1.4725 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.4726 + },
1.4727 +
1.4728 + //---------------------------------------------
1.4729 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1086
1.4730 +//! @SYMTestType CIT
1.4731 +//! @SYMREQ NA
1.4732 +//! @SYMTestPurpose CFileMan::Move()
1.4733 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4734 +//! Move files from unspecified(NULL) Src to the target.
1.4735 +//! @SYMTestActions Moves the specified files from source to the target.
1.4736 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4737 +//! @SYMTestPriority High
1.4738 +//! @SYMTestStatus Implemented
1.4739 +//--------------------------------------------
1.4740 +
1.4741 + {
1.4742 + {1086, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4743 + {&gDriveToTest, (TText*)L"",
1.4744 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4745 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.4746 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4747 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.4748 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4749 + },
1.4750 + //---------------------------------------------
1.4751 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1087
1.4752 +//! @SYMTestType CIT
1.4753 +//!
1.4754 +//! @SYMAPI CFileMan::Move()
1.4755 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4756 +//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
1.4757 +//! @SYMTestActions Moves the specified files from source to the target.
1.4758 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4759 +//! @SYMTestPriority High
1.4760 +//! @SYMTestStatus Implemented
1.4761 +//--------------------------------------------
1.4762 +
1.4763 + {
1.4764 + {1087, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4765 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1.4766 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4767 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
1.4768 + {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1.4769 + (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1.4770 + (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1.4771 + },
1.4772 +
1.4773 + //---------------------------------------------
1.4774 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1088
1.4775 +//! @SYMTestType CIT
1.4776 +//!
1.4777 +//! @SYMAPI CFileMan::Move()
1.4778 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4779 +//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
1.4780 +//! @SYMTestActions Moves the specified files from source to the target.
1.4781 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4782 +//! @SYMTestPriority High
1.4783 +//! @SYMTestStatus Implemented
1.4784 +//--------------------------------------------
1.4785 +
1.4786 + {
1.4787 + {1088, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4788 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.4789 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4790 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.4791 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.4792 + (TText*)L"?:\\Trg\\", {BLOCK30, EMPTY},
1.4793 + (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
1.4794 + },
1.4795 +
1.4796 + //---------------------------------------------
1.4797 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1091
1.4798 +//! @SYMTestType CIT
1.4799 +//!
1.4800 +//! @SYMAPI CFileMan::Move()
1.4801 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4802 +//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
1.4803 +//! @SYMTestActions Moves the specified files from source to the target.
1.4804 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4805 +//! @SYMTestPriority High
1.4806 +//! @SYMTestStatus Implemented
1.4807 +//--------------------------------------------
1.4808 +
1.4809 + {
1.4810 + {1091, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4811 + {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1.4812 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4813 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
1.4814 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.4815 + (TText*)L"?:\\Trg\\", {BLOCK32, EMPTY},
1.4816 + (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
1.4817 + },
1.4818 +
1.4819 + //---------------------------------------------
1.4820 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1092
1.4821 +//! @SYMTestType CIT
1.4822 +//!
1.4823 +//! @SYMAPI CFileMan::Move()
1.4824 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4825 +//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
1.4826 +//! @SYMTestActions Moves the specified files from source to the target.
1.4827 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4828 +//! @SYMTestPriority High
1.4829 +//! @SYMTestStatus Implemented
1.4830 +//--------------------------------------------
1.4831 +
1.4832 + {
1.4833 + {1092, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4834 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1.4835 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4836 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
1.4837 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.4838 + (TText*)L"?:\\Trg\\", {BLOCK33, EMPTY},
1.4839 + (TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
1.4840 + },
1.4841 +
1.4842 + //---------------------------------------------
1.4843 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1094
1.4844 +//! @SYMTestType CIT
1.4845 +//!
1.4846 +//! @SYMAPI CFileMan::Move()
1.4847 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4848 +//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
1.4849 +//! @SYMTestActions Moves the specified files from source to the target.
1.4850 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4851 +//! @SYMTestPriority High
1.4852 +//! @SYMTestStatus Implemented
1.4853 +//--------------------------------------------
1.4854 +
1.4855 + {
1.4856 + {1094, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4857 + {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4858 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4859 + (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
1.4860 + {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1.4861 + (TText*)L"?:\\Trg\\", {{5,14,23,32,41,EOB}, EMPTY},
1.4862 + (TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
1.4863 + },
1.4864 + //---------------------------------------------
1.4865 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1095
1.4866 +//! @SYMTestType CIT
1.4867 +//!
1.4868 +//! @SYMAPI CFileMan::Move()
1.4869 +//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1.4870 +//! Move files from Src to same Src location.
1.4871 +//! @SYMTestActions Moves the specified files from source to the target.
1.4872 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4873 +//! @SYMTestPriority High
1.4874 +//! @SYMTestStatus Implemented
1.4875 +//--------------------------------------------
1.4876 +
1.4877 + {
1.4878 + {1095, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.4879 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4880 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.4881 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.4882 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.4883 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.4884 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4885 + },
1.4886 +
1.4887 +//---------------------------------------------
1.4888 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1096
1.4889 +//! @SYMTestType CIT
1.4890 +//!
1.4891 +//! @SYMAPI CFileMan::Rename()
1.4892 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.4893 +//! Rename a file 'FILE01.TXT' from source to the target.
1.4894 +//! @SYMTestActions Renames specified files from source to the target.
1.4895 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4896 +//! @SYMTestPriority High
1.4897 +//! @SYMTestStatus Implemented
1.4898 +//---------------------------------------------
1.4899 +
1.4900 + {
1.4901 + {1096, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.4902 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.4903 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4904 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.4905 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4906 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4907 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.4908 + },
1.4909 +
1.4910 +//---------------------------------------------
1.4911 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1097
1.4912 +//! @SYMTestType CIT
1.4913 +//!
1.4914 +//! @SYMAPI CFileMan::Rename()
1.4915 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.4916 +//! Rename files with wildcard combination '*.*' from source to the target.
1.4917 +//! @SYMTestActions Renames specified files from source to the target.
1.4918 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4919 +//! @SYMTestPriority High
1.4920 +//! @SYMTestStatus Implemented
1.4921 +//---------------------------------------------
1.4922 +
1.4923 + {
1.4924 + {1097, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.4925 + {&gDriveToTest, (TText*)L"?:\\Src\\*.*",
1.4926 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4927 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.4928 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4929 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4930 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.4931 + },
1.4932 +
1.4933 +//---------------------------------------------
1.4934 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1098
1.4935 +//! @SYMTestType CIT
1.4936 +//!
1.4937 +//! @SYMAPI CFileMan::Rename()
1.4938 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.4939 +//! Rename files with wildcard combination 'FILE*.TXT' from source to the target.
1.4940 +//! @SYMTestActions Renames specified files from source to the target.
1.4941 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4942 +//! @SYMTestPriority High
1.4943 +//! @SYMTestStatus Implemented
1.4944 +//---------------------------------------------
1.4945 +
1.4946 + {
1.4947 + {1098, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.4948 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
1.4949 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4950 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
1.4951 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4952 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4953 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.4954 + },
1.4955 +
1.4956 +//---------------------------------------------
1.4957 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1099
1.4958 +//! @SYMTestType CIT
1.4959 +//!
1.4960 +//! @SYMAPI CFileMan::Rename()
1.4961 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.4962 +//! Rename files with wildcard combination 'FILE?.TXT' from source to the target.
1.4963 +//! @SYMTestActions Renames specified files from source to the target.
1.4964 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4965 +//! @SYMTestPriority High
1.4966 +//! @SYMTestStatus Implemented
1.4967 +//---------------------------------------------
1.4968 +
1.4969 + {
1.4970 + {1099, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.4971 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
1.4972 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4973 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.4974 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4975 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4976 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.4977 + },
1.4978 +
1.4979 +//---------------------------------------------
1.4980 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1100
1.4981 +//! @SYMTestType CIT
1.4982 +//!
1.4983 +//! @SYMAPI CFileMan::Rename()
1.4984 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.4985 +//! Rename files with wildcard combination '*.TXT' from source to the target.
1.4986 +//! @SYMTestActions Renames specified files from source to the target.
1.4987 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.4988 +//! @SYMTestPriority High
1.4989 +//! @SYMTestStatus Implemented
1.4990 +//---------------------------------------------
1.4991 +
1.4992 + {
1.4993 + {1100, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.4994 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.4995 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.4996 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.4997 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.4998 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.4999 + (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1.5000 + },
1.5001 +
1.5002 +//---------------------------------------------
1.5003 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1101
1.5004 +//! @SYMTestType CIT
1.5005 +//!
1.5006 +//! @SYMAPI CFileMan::Rename()
1.5007 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5008 +//! Rename files with wildcard combination 'FILE.*' from source to the target.
1.5009 +//! @SYMTestActions Renames specified files from source to the target.
1.5010 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.5011 +//! @SYMTestPriority High
1.5012 +//! @SYMTestStatus Implemented
1.5013 +//---------------------------------------------
1.5014 +
1.5015 + {
1.5016 + {1101, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5017 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.5018 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5019 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.5020 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5021 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5022 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.5023 + },
1.5024 +
1.5025 + //---------------------------------------------
1.5026 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1102
1.5027 +//! @SYMTestType CIT
1.5028 +//!
1.5029 +//! @SYMAPI CFileMan::Rename()
1.5030 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5031 +//! Rename files with wildcard combination 'FILE01.TXT' from source to the target.
1.5032 +//! @SYMTestActions Renames specified files from source to the target.
1.5033 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.5034 +//! @SYMTestPriority High
1.5035 +//! @SYMTestStatus Implemented
1.5036 +//---------------------------------------------
1.5037 +
1.5038 + {
1.5039 + {1102, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5040 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.5041 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5042 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.5043 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.5044 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5045 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.5046 + },
1.5047 +
1.5048 + //---------------------------------------------
1.5049 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1105
1.5050 +//! @SYMTestType CIT
1.5051 +//!
1.5052 +//! @SYMAPI CFileMan::Rename()
1.5053 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5054 +//! Rename files with wildcard combination '*.TXT' from source to the '*.REN' in target.
1.5055 +//! @SYMTestActions Renames specified files from source to the target.
1.5056 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.5057 +//! @SYMTestPriority High
1.5058 +//! @SYMTestStatus Implemented
1.5059 +//---------------------------------------------
1.5060 +
1.5061 + {
1.5062 + {1105, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5063 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.5064 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5065 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.5066 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.5067 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5068 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.5069 + },
1.5070 +
1.5071 + //---------------------------------------------
1.5072 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1106
1.5073 +//! @SYMTestType CIT
1.5074 +//!
1.5075 +//! @SYMAPI CFileMan::Rename()
1.5076 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5077 +//! Rename files with wildcard combination 'FILE.*' from source to the '*.REN' in target.
1.5078 +//! @SYMTestActions Renames specified files from source to the target.
1.5079 +//! @SYMTestExpectedResults 1.KErrNone in success case
1.5080 +//! @SYMTestPriority High
1.5081 +//! @SYMTestStatus Implemented
1.5082 +//---------------------------------------------
1.5083 +
1.5084 + {
1.5085 + {1106, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5086 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.5087 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5088 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.5089 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.5090 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5091 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.5092 + },
1.5093 +
1.5094 + //---------------------------------------------
1.5095 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1108
1.5096 +//! @SYMTestType CIT
1.5097 +//!
1.5098 +//! @SYMAPI CFileMan::Rename()
1.5099 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5100 +//! Rename files with wildcard combination 'FILE01.TXT' from source to target.
1.5101 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5102 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5103 +//! @SYMTestPriority High
1.5104 +//! @SYMTestStatus Implemented
1.5105 +//---------------------------------------------
1.5106 +
1.5107 + {
1.5108 + {1108, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5109 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.5110 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5111 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5112 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5113 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.5114 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.5115 + },
1.5116 +
1.5117 + //---------------------------------------------
1.5118 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1109
1.5119 +//! @SYMTestType CIT
1.5120 +//!
1.5121 +//! @SYMAPI CFileMan::Rename()
1.5122 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5123 +//! Rename files with wildcard combination '*.*' from source to target.
1.5124 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5125 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5126 +//! @SYMTestPriority High
1.5127 +//! @SYMTestStatus Implemented
1.5128 +//---------------------------------------------
1.5129 +
1.5130 + {
1.5131 + {1109, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5132 + {&gDriveToTest, (TText*)L"?:\\Src\\*",
1.5133 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5134 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5135 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5136 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.5137 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5138 + },
1.5139 +
1.5140 + //---------------------------------------------
1.5141 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1110
1.5142 +//! @SYMTestType CIT
1.5143 +//!
1.5144 +//! @SYMAPI CFileMan::Rename()
1.5145 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5146 +//! Rename files with wildcard combination 'FILE*.TXT' from source to target.
1.5147 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5148 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5149 +//! @SYMTestPriority High
1.5150 +//! @SYMTestStatus Implemented
1.5151 +//---------------------------------------------
1.5152 +
1.5153 + {
1.5154 + {1110, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5155 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
1.5156 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5157 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5158 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5159 + (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1.5160 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.5161 + },
1.5162 +
1.5163 +
1.5164 +
1.5165 + //---------------------------------------------
1.5166 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1111
1.5167 +//! @SYMTestType CIT
1.5168 +//!
1.5169 +//! @SYMAPI CFileMan::Rename()
1.5170 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5171 +//! Rename files with wildcard combination 'FILE?.TXT' from source to target.
1.5172 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5173 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5174 +//! @SYMTestPriority High
1.5175 +//! @SYMTestStatus Implemented
1.5176 +//---------------------------------------------
1.5177 +
1.5178 + {
1.5179 + {1111, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5180 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
1.5181 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5182 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5183 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5184 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.5185 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.5186 + },
1.5187 +
1.5188 + //---------------------------------------------
1.5189 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1112
1.5190 +//! @SYMTestType CIT
1.5191 +//!
1.5192 +//! @SYMAPI CFileMan::Rename()
1.5193 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5194 +//! Rename files with wildcard combination '*.TXT' from source to target.
1.5195 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5196 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5197 +//! @SYMTestPriority High
1.5198 +//! @SYMTestStatus Implemented
1.5199 +//---------------------------------------------
1.5200 +
1.5201 + {
1.5202 + {1112, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5203 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.5204 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5205 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5206 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5207 + (TText*)L"?:\\Trg\\", {BLOCK20, EMPTY},
1.5208 + (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1.5209 + },
1.5210 +
1.5211 + //---------------------------------------------
1.5212 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1113
1.5213 +//! @SYMTestType CIT
1.5214 +//!
1.5215 +//! @SYMAPI CFileMan::Rename()
1.5216 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5217 +//! Rename files with wildcard combination 'FILE.*' from source to target.
1.5218 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5219 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5220 +//! @SYMTestPriority High
1.5221 +//! @SYMTestStatus Implemented
1.5222 +//---------------------------------------------
1.5223 +
1.5224 + {
1.5225 + {1113, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5226 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.5227 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5228 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5229 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5230 + (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
1.5231 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.5232 + },
1.5233 +
1.5234 + //---------------------------------------------
1.5235 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1114
1.5236 +//! @SYMTestType CIT
1.5237 +//!
1.5238 +//! @SYMAPI CFileMan::Rename()
1.5239 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5240 +//! Rename files with wildcard combination 'FILE01.TXT' from source to 'RENAMED.TXT' in target.
1.5241 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5242 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5243 +//! @SYMTestPriority High
1.5244 +//! @SYMTestStatus Implemented
1.5245 +//---------------------------------------------
1.5246 +
1.5247 + {
1.5248 + {1114, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5249 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.5250 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5251 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5252 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.5253 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.5254 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.5255 + },
1.5256 +
1.5257 + //---------------------------------------------
1.5258 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1117
1.5259 +//! @SYMTestType CIT
1.5260 +//!
1.5261 +//! @SYMAPI CFileMan::Rename()
1.5262 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5263 +//! Rename files with wildcard combination '*.TXT' from source to '*.REN' in target.
1.5264 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5265 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5266 +//! @SYMTestPriority High
1.5267 +//! @SYMTestStatus Implemented
1.5268 +//---------------------------------------------
1.5269 +
1.5270 + {
1.5271 + {1117, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5272 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.5273 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5274 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5275 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.5276 + (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
1.5277 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.5278 + },
1.5279 +
1.5280 + //---------------------------------------------
1.5281 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1118
1.5282 +//! @SYMTestType CIT
1.5283 +//!
1.5284 +//! @SYMAPI CFileMan::Rename()
1.5285 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1.5286 +//! Rename files with wildcard combination 'FILE.*' from source to 'RENAMED.*' in target.
1.5287 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5288 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5289 +//! @SYMTestPriority High
1.5290 +//! @SYMTestStatus Implemented
1.5291 +//---------------------------------------------
1.5292 +
1.5293 + {
1.5294 + {1118, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5295 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.5296 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5297 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5298 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.5299 + (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
1.5300 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.5301 + },
1.5302 +
1.5303 + //---------------------------------------------
1.5304 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1120
1.5305 +//! @SYMTestType CIT
1.5306 +//!
1.5307 +//! @SYMAPI CFileMan::Rename()
1.5308 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5309 +//! Rename files with wildcard combination 'FILE01.TXT' from source to target.
1.5310 +//! @SYMTestActions Renames the specified files from source to the target.
1.5311 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5312 +//! @SYMTestPriority High
1.5313 +//! @SYMTestStatus Implemented
1.5314 +//---------------------------------------------
1.5315 +
1.5316 + {
1.5317 + {1120, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5318 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.5319 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5320 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.5321 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5322 + (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1.5323 + (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1.5324 + },
1.5325 +
1.5326 + //---------------------------------------------
1.5327 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1121
1.5328 +//! @SYMTestType CIT
1.5329 +//!
1.5330 +//! @SYMAPI CFileMan::Rename()
1.5331 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5332 +//! Rename files with wildcard combination '*.*' from source to target.
1.5333 +//! @SYMTestActions Renames the specified files from source to the target.
1.5334 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5335 +//! @SYMTestPriority High
1.5336 +//! @SYMTestStatus Implemented
1.5337 +//---------------------------------------------
1.5338 +
1.5339 + {
1.5340 + {1121, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5341 + {&gDriveToTest, (TText*)L"?:\\Src\\*",
1.5342 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5343 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.5344 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5345 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.5346 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5347 + },
1.5348 +
1.5349 + //---------------------------------------------
1.5350 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1122
1.5351 +//! @SYMTestType CIT
1.5352 +//!
1.5353 +//! @SYMAPI CFileMan::Rename()
1.5354 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5355 +//! Rename files with wildcard combination 'FILE*.TXT' from source to target.
1.5356 +//! @SYMTestActions Renames the specified files from source to the target.
1.5357 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5358 +//! @SYMTestPriority High
1.5359 +//! @SYMTestStatus Implemented
1.5360 +//---------------------------------------------
1.5361 +
1.5362 + {
1.5363 + {1122, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5364 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
1.5365 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5366 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
1.5367 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5368 + (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1.5369 + (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1.5370 + },
1.5371 +
1.5372 + //---------------------------------------------
1.5373 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1123
1.5374 +//! @SYMTestType CIT
1.5375 +//!
1.5376 +//! @SYMAPI CFileMan::Rename()
1.5377 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5378 +//! Rename files with wildcard combination 'FILE?.TXT' from source to target.
1.5379 +//! @SYMTestActions Renames the specified files from source to the target.
1.5380 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5381 +//! @SYMTestPriority High
1.5382 +//! @SYMTestStatus Implemented
1.5383 +//---------------------------------------------
1.5384 +
1.5385 + {
1.5386 + {1123, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5387 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
1.5388 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5389 + (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
1.5390 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5391 + (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1.5392 + (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1.5393 + },
1.5394 + //---------------------------------------------
1.5395 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1124
1.5396 +//! @SYMTestType CIT
1.5397 +//!
1.5398 +//! @SYMAPI CFileMan::Rename()
1.5399 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5400 +//! Rename files with wildcard combination '*.TXT' from source to target.
1.5401 +//! @SYMTestActions Renames the specified files from source to the target.
1.5402 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5403 +//! @SYMTestPriority High
1.5404 +//! @SYMTestStatus Implemented
1.5405 +//---------------------------------------------
1.5406 +
1.5407 + {
1.5408 + {1124, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5409 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.5410 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5411 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.5412 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5413 + (TText*)L"?:\\Trg\\", {BLOCK20, EMPTY},
1.5414 + (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1.5415 + },
1.5416 +
1.5417 + //---------------------------------------------
1.5418 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1125
1.5419 +//! @SYMTestType CIT
1.5420 +//!
1.5421 +//! @SYMAPI CFileMan::Rename()
1.5422 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5423 +//! Rename files with wildcard combination 'FILE.*' from source to target.
1.5424 +//! @SYMTestActions Renames the specified files from source to the target.
1.5425 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5426 +//! @SYMTestPriority High
1.5427 +//! @SYMTestStatus Implemented
1.5428 +//---------------------------------------------
1.5429 +
1.5430 + {
1.5431 + {1125, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5432 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.5433 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5434 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.5435 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5436 + (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
1.5437 + (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1.5438 + },
1.5439 +
1.5440 + //---------------------------------------------
1.5441 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1126
1.5442 +//! @SYMTestType CIT
1.5443 +//!
1.5444 +//! @SYMAPI CFileMan::Rename()
1.5445 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5446 +//! Rename files with wildcard combination 'FILE01.TXT' from source to 'RENAMED.TXT' in target.
1.5447 +//! @SYMTestActions Renames the specified files from source to the target.
1.5448 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5449 +//! @SYMTestPriority High
1.5450 +//! @SYMTestStatus Implemented
1.5451 +//---------------------------------------------
1.5452 +
1.5453 + {
1.5454 + {1126, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5455 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.5456 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5457 + (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
1.5458 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1.5459 + (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1.5460 + (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1.5461 + },
1.5462 +
1.5463 +
1.5464 +
1.5465 + //---------------------------------------------
1.5466 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1129
1.5467 +//! @SYMTestType CIT
1.5468 +//!
1.5469 +//! @SYMAPI CFileMan::Rename()
1.5470 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5471 +//! Rename files with wildcard combination '*.TXT' from source to '*.REN' in target.
1.5472 +//! @SYMTestActions Renames the specified files from source to the target.
1.5473 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5474 +//! @SYMTestPriority High
1.5475 +//! @SYMTestStatus Implemented
1.5476 +//---------------------------------------------
1.5477 +
1.5478 + {
1.5479 + {1129, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5480 + {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
1.5481 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5482 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
1.5483 + {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1.5484 + (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
1.5485 + (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1.5486 + },
1.5487 +
1.5488 + //---------------------------------------------
1.5489 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1130
1.5490 +//! @SYMTestType CIT
1.5491 +//!
1.5492 +//! @SYMAPI CFileMan::Rename()
1.5493 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1.5494 +//! Rename files with wildcard combination 'FILE.*' from source to 'RENAMED.*' in target.
1.5495 +//! @SYMTestActions Renames the specified files from source to the target.
1.5496 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5497 +//! @SYMTestPriority High
1.5498 +//! @SYMTestStatus Implemented
1.5499 +//---------------------------------------------
1.5500 +
1.5501 + {
1.5502 + {1130, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5503 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
1.5504 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5505 + (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
1.5506 + {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1.5507 + (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
1.5508 + (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1.5509 + },
1.5510 +
1.5511 + //---------------------------------------------
1.5512 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1132
1.5513 +//! @SYMTestType CIT
1.5514 +//!
1.5515 +//! @SYMAPI CFileMan::Rename()
1.5516 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.5517 +//! Rename files from Src directory without backward slash to the target.
1.5518 +//! @SYMTestActions Renames the specified files from source to the target.
1.5519 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5520 +//! @SYMTestPriority High
1.5521 +//! @SYMTestStatus Implemented
1.5522 +//---------------------------------------------
1.5523 +
1.5524 + {
1.5525 + {1132, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5526 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5527 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5528 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.5529 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5530 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5531 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.5532 + },
1.5533 +
1.5534 + //---------------------------------------------
1.5535 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1133
1.5536 +//! @SYMTestType CIT
1.5537 +//!
1.5538 +//! @SYMAPI CFileMan::Rename()
1.5539 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.5540 +//! Rename files from Src directory without backward slash to the target directory without backward slash.
1.5541 +//! @SYMTestActions Renames the specified files from source to the target.
1.5542 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5543 +//! @SYMTestPriority High
1.5544 +//! @SYMTestStatus Implemented
1.5545 +//---------------------------------------------
1.5546 +
1.5547 + {
1.5548 + {1133, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5549 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5550 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5551 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5552 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.5553 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5554 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5555 + },
1.5556 +
1.5557 + //---------------------------------------------
1.5558 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1134
1.5559 +//! @SYMTestType CIT
1.5560 +//!
1.5561 +//! @SYMAPI CFileMan::Rename()
1.5562 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.5563 +//! Rename files from Src to the unspecified(NULL) target path.
1.5564 +//! @SYMTestActions Renames the specified files from source to the target.
1.5565 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5566 +//! @SYMTestPriority High
1.5567 +//! @SYMTestStatus Implemented
1.5568 +//---------------------------------------------
1.5569 +
1.5570 + {
1.5571 + {1134, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5572 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5573 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5574 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
1.5575 + {&gDriveToTest, (TText*)L"",
1.5576 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.5577 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.5578 + },
1.5579 +
1.5580 + //---------------------------------------------
1.5581 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1135
1.5582 +//! @SYMTestType CIT
1.5583 +//!
1.5584 +//! @SYMAPI CFileMan::Rename()
1.5585 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.5586 +//! Rename files from unspecified(NULL) Src to the target.
1.5587 +//! @SYMTestActions Renames the specified files from source to the target.
1.5588 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5589 +//! @SYMTestPriority High
1.5590 +//! @SYMTestStatus Implemented
1.5591 +//---------------------------------------------
1.5592 +
1.5593 + {
1.5594 + {1135, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5595 + {&gDriveToTest, (TText*)L"",
1.5596 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5597 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.5598 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5599 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5600 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5601 + },
1.5602 +
1.5603 + //---------------------------------------------
1.5604 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1136
1.5605 +//! @SYMTestType CIT
1.5606 +//!
1.5607 +//! @SYMAPI CFileMan::Rename()
1.5608 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1.5609 +//! Rename files from Src to same Src location.
1.5610 +//! @SYMTestActions Renames the specified files from source to the target.
1.5611 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5612 +//! @SYMTestPriority High
1.5613 +//! @SYMTestStatus Implemented
1.5614 +//---------------------------------------------
1.5615 +
1.5616 + {
1.5617 + {1136, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5618 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.5619 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5620 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5621 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.5622 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5623 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5624 + },
1.5625 +
1.5626 + //---------------------------------------------
1.5627 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1137
1.5628 +//! @SYMTestType CIT
1.5629 +//!
1.5630 +//! @SYMAPI CFileMan::Rename()
1.5631 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
1.5632 +//! Rename files from Src directory without backward slash to the target.
1.5633 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5634 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5635 +//! @SYMTestPriority High
1.5636 +//! @SYMTestStatus Implemented
1.5637 +//---------------------------------------------
1.5638 +
1.5639 + {
1.5640 + {1137, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5641 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5642 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5643 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5644 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5645 + (TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
1.5646 + (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
1.5647 + },
1.5648 +
1.5649 + //---------------------------------------------
1.5650 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1138
1.5651 +//! @SYMTestType CIT
1.5652 +//!
1.5653 +//! @SYMAPI CFileMan::Rename()
1.5654 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
1.5655 +//! Rename files from Src directory without backward slash to the target directory without backward slash.
1.5656 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5657 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5658 +//! @SYMTestPriority High
1.5659 +//! @SYMTestStatus Implemented
1.5660 +//---------------------------------------------
1.5661 +
1.5662 + {
1.5663 + {1138, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5664 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5665 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5666 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5667 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5668 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.5669 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.5670 + },
1.5671 +
1.5672 + //---------------------------------------------
1.5673 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1139
1.5674 +//! @SYMTestType CIT
1.5675 +//!
1.5676 +//! @SYMAPI CFileMan::Rename()
1.5677 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
1.5678 +//! Rename files from Src to the unspecified(NULL) target path.
1.5679 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5680 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5681 +//! @SYMTestPriority High
1.5682 +//! @SYMTestStatus Implemented
1.5683 +//---------------------------------------------
1.5684 +
1.5685 + {
1.5686 + {1139, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5687 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5688 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5689 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5690 + {&gDriveToTest, (TText*)L"",
1.5691 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
1.5692 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.5693 + },
1.5694 +
1.5695 + //---------------------------------------------
1.5696 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1140
1.5697 +//! @SYMTestType CIT
1.5698 +//!
1.5699 +//! @SYMAPI CFileMan::Rename()
1.5700 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
1.5701 +//! Rename files from unspecified(NULL) Src to the target.
1.5702 +//! @SYMTestActions Rename does not happen, returns the error code.
1.5703 +//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
1.5704 +//! @SYMTestPriority High
1.5705 +//! @SYMTestStatus Implemented
1.5706 +//---------------------------------------------
1.5707 +
1.5708 + {
1.5709 + {1140, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5710 + {&gDriveToTest, (TText*)L"",
1.5711 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5712 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5713 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5714 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.5715 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5716 + },
1.5717 +
1.5718 + //---------------------------------------------
1.5719 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1141
1.5720 +//! @SYMTestType CIT
1.5721 +//!
1.5722 +//! @SYMAPI CFileMan::Rename()
1.5723 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
1.5724 +//! Rename files from Src to same Src location.
1.5725 +//! @SYMTestActions Renames the specified files from source to the target.
1.5726 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5727 +//! @SYMTestPriority High
1.5728 +//! @SYMTestStatus Implemented
1.5729 +//---------------------------------------------
1.5730 +
1.5731 + {
1.5732 + {1141, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
1.5733 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.5734 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5735 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5736 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.5737 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5738 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5739 + },
1.5740 +
1.5741 + //---------------------------------------------
1.5742 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1142
1.5743 +//! @SYMTestType CIT
1.5744 +//!
1.5745 +//! @SYMAPI CFileMan::Rename()
1.5746 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
1.5747 +//! Rename files from Src directory without backward slash to the target.
1.5748 +//! @SYMTestActions Renames the specified files from source to the target.
1.5749 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5750 +//! @SYMTestPriority High
1.5751 +//! @SYMTestStatus Implemented
1.5752 +//---------------------------------------------
1.5753 +
1.5754 + {
1.5755 + {1142, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5756 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5757 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5758 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5759 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5760 + (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
1.5761 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.5762 + },
1.5763 +
1.5764 + //---------------------------------------------
1.5765 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1143
1.5766 +//! @SYMTestType CIT
1.5767 +//!
1.5768 +//! @SYMAPI CFileMan::Rename()
1.5769 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
1.5770 +//! Rename files from Src directory without backward slash to the target directory without backward slash.
1.5771 +//! @SYMTestActions Renames the specified files from source to the target.
1.5772 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5773 +//! @SYMTestPriority High
1.5774 +//! @SYMTestStatus Implemented
1.5775 +//---------------------------------------------
1.5776 +
1.5777 + {
1.5778 + {1143, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5779 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5780 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5781 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5782 + {&gDriveToTest, (TText*)L"?:\\Trg",
1.5783 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.5784 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5785 + },
1.5786 +
1.5787 + //---------------------------------------------
1.5788 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1144
1.5789 +//! @SYMTestType CIT
1.5790 +//!
1.5791 +//! @SYMAPI CFileMan::Rename()
1.5792 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
1.5793 +//! Rename files from Src to the unspecified(NULL) target path.
1.5794 +//! @SYMTestActions Renames the specified files from source to the target.
1.5795 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5796 +//! @SYMTestPriority High
1.5797 +//! @SYMTestStatus Implemented
1.5798 +//---------------------------------------------
1.5799 +
1.5800 + {
1.5801 + {1144, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1.5802 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
1.5803 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5804 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5805 + {&gDriveToTest, (TText*)L"",
1.5806 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
1.5807 + (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
1.5808 + },
1.5809 +
1.5810 +
1.5811 + //---------------------------------------------
1.5812 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1145
1.5813 +//! @SYMTestType CIT
1.5814 +//!
1.5815 +//! @SYMAPI CFileMan::Rename()
1.5816 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
1.5817 +//! Rename files from unspecified(NULL) Src to the target.
1.5818 +//! @SYMTestActions Renames the specified files from source to the target.
1.5819 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5820 +//! @SYMTestPriority High
1.5821 +//! @SYMTestStatus Implemented
1.5822 +//---------------------------------------------
1.5823 +
1.5824 + {
1.5825 + {1145, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5826 + {&gDriveToTest, (TText*)L"",
1.5827 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5828 + (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
1.5829 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5830 + (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1.5831 + (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1.5832 + },
1.5833 + //---------------------------------------------
1.5834 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1146
1.5835 +//! @SYMTestType CIT
1.5836 +//!
1.5837 +//! @SYMAPI CFileMan::Rename()
1.5838 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
1.5839 +//! Rename files from Src to same Src location.
1.5840 +//! @SYMTestActions Renames the specified files from source to the target.
1.5841 +//! @SYMTestExpectedResults 1.KErrNone in success case.
1.5842 +//! @SYMTestPriority High
1.5843 +//! @SYMTestStatus Implemented
1.5844 +//---------------------------------------------
1.5845 +
1.5846 + {
1.5847 + {1146, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1.5848 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.5849 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1.5850 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5851 + {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1.5852 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5853 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5854 + },
1.5855 +
1.5856 + //---------------------------------------------
1.5857 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1147
1.5858 +//! @SYMTestType CIT
1.5859 +//!
1.5860 +//! @SYMAPI CFileMan::Move()
1.5861 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5862 +//! Move files with invalid path 'C\\Src\\FILE01.TXT' from Src to target.
1.5863 +//! @SYMTestActions Move does not happen, returns the error code..
1.5864 +//! @SYMTestExpectedResults 1.KErrBadName in success case.
1.5865 +//! @SYMTestPriority High
1.5866 +//! @SYMTestStatus Implemented
1.5867 +//---------------------------------------------
1.5868 +
1.5869 + {
1.5870 + {1147, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
1.5871 + {&gFixedDriveValid, (TText*)L"C\\Src\\FILE01.TXT",
1.5872 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.5873 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.5874 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5875 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5876 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5877 + },
1.5878 +
1.5879 + //---------------------------------------------
1.5880 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1148
1.5881 +//! @SYMTestType CIT
1.5882 +//!
1.5883 +//! @SYMAPI CFileMan::Move()
1.5884 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5885 +//! Move files with invalid path 'C:Src\\FILE01.TXT'from Src to target.
1.5886 +//! @SYMTestActions Move does not happen, returns the error code..
1.5887 +//! @SYMTestExpectedResults 1.KErrBadName in success case.
1.5888 +//! @SYMTestPriority High
1.5889 +//! @SYMTestStatus Implemented
1.5890 +//---------------------------------------------
1.5891 +
1.5892 + {
1.5893 + {1148, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
1.5894 + {&gFixedDriveValid, (TText*)L"C:Src\\FILE01.TXT",
1.5895 + (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1.5896 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.5897 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5898 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5899 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5900 + },
1.5901 +
1.5902 +
1.5903 + //---------------------------------------------
1.5904 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1150
1.5905 +//! @SYMTestType CIT
1.5906 +//!
1.5907 +//! @SYMAPI CFileMan::Move()
1.5908 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5909 +//! Move file with long filename from Src to target.
1.5910 +//! @SYMTestActions Move does not happen, returns the error code..
1.5911 +//! @SYMTestExpectedResults 1.KErrBadName in success case.
1.5912 +//! @SYMTestPriority High
1.5913 +//! @SYMTestStatus Implemented
1.5914 +//---------------------------------------------
1.5915 +
1.5916 + {
1.5917 + {1150, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
1.5918 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
1.5919 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.5920 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.5921 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5922 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5923 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5924 + },
1.5925 +
1.5926 + //---------------------------------------------
1.5927 +//! @SYMTestCaseID PBASE-T_CFILEMAN-1151
1.5928 +//! @SYMTestType CIT
1.5929 +//!
1.5930 +//! @SYMAPI CFileMan::Move()
1.5931 +//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5932 +//! Move file with long pathname from Src to target.
1.5933 +//! @SYMTestActions Move does not happen, returns the error code..
1.5934 +//! @SYMTestExpectedResults 1.KErrBadName in success case.
1.5935 +//! @SYMTestPriority High
1.5936 +//! @SYMTestStatus Implemented
1.5937 +//---------------------------------------------
1.5938 +
1.5939 + {
1.5940 + {1151, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
1.5941 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\TEST\\",
1.5942 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5943 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5944 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5945 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5946 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5947 + },
1.5948 +
1.5949 + //---------------------------------------------
1.5950 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1152
1.5951 + //! @SYMTestType CIT
1.5952 + //!
1.5953 + //! @SYMAPI CFileMan::Move()
1.5954 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5955 + //! Move file from path that doesnot exist in Src to target.
1.5956 + //! @SYMTestActions Move does not happen, returns the error code..
1.5957 + //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.5958 + //! @SYMTestPriority High
1.5959 + //! @SYMTestStatus Implemented
1.5960 + //---------------------------------------------
1.5961 +
1.5962 + /*{
1.5963 + {1152, ECFMMove, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.5964 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\NODIR\\*.*",
1.5965 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5966 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5967 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.5968 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5969 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5970 + },*/
1.5971 +
1.5972 + //---------------------------------------------
1.5973 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1153
1.5974 + //! @SYMTestType CIT
1.5975 + //!
1.5976 + //! @SYMAPI CFileMan::Move()
1.5977 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.5978 + //! Move file from Src to path that doesnot exist in target.
1.5979 + //! @SYMTestActions Move does not happen, returns the error code..
1.5980 + //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.5981 + //! @SYMTestPriority High
1.5982 + //! @SYMTestStatus Implemented
1.5983 + //---------------------------------------------
1.5984 +
1.5985 + {
1.5986 + {1153, ECFMMove, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.5987 + {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
1.5988 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.5989 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.5990 + {&gDriveToTest, (TText*)L"?:\\NOTARGET\\",
1.5991 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.5992 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.5993 + },
1.5994 +
1.5995 +
1.5996 + //---------------------------------------------
1.5997 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1154
1.5998 + //! @SYMTestType CIT
1.5999 + //!
1.6000 + //! @SYMAPI CFileMan::Move()
1.6001 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6002 + //! Move file from Src to target with longpath.
1.6003 + //! @SYMTestActions Move does not happen, returns the error code..
1.6004 + //! @SYMTestExpectedResults 1.KErrBadName in success case.
1.6005 + //! @SYMTestPriority High
1.6006 + //! @SYMTestStatus Implemented
1.6007 + //---------------------------------------------
1.6008 +
1.6009 + {
1.6010 + {1154, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
1.6011 + {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1.6012 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6013 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6014 + {&gDriveToTest, (TText*)L"?:\\TRG\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
1.6015 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6016 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6017 + },
1.6018 +
1.6019 + //---------------------------------------------
1.6020 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1155
1.6021 + //! @SYMTestType CIT
1.6022 + //!
1.6023 + //! @SYMAPI CFileMan::Move()
1.6024 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6025 + //! Move file from ReadOnly Drive Src to target.
1.6026 + //! @SYMTestActions Move does not happen, returns the error code..
1.6027 + //! @SYMTestExpectedResults 1.KErrAccessDenied in success case.
1.6028 + //! @SYMTestPriority High
1.6029 + //! @SYMTestStatus Implemented
1.6030 + //---------------------------------------------
1.6031 +
1.6032 + {
1.6033 + {1155, ECFMMove, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
1.6034 + {&gFixedDriveReadOnly, (TText*)L"?:\\TEST\\",
1.6035 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6036 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6037 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6038 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6039 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6040 + },
1.6041 +
1.6042 + //---------------------------------------------
1.6043 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1156
1.6044 + //! @SYMTestType CIT
1.6045 + //!
1.6046 + //! @SYMAPI CFileMan::Move()
1.6047 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6048 + //! Move file Src to target with ReadOnly Drive .
1.6049 + //! @SYMTestActions Move does not happen, returns the error code..
1.6050 + //! @SYMTestExpectedResults 1.KErrAccessDenied in success case.
1.6051 + //! @SYMTestPriority High
1.6052 + //! @SYMTestStatus Implemented
1.6053 + //---------------------------------------------
1.6054 +
1.6055 + {
1.6056 + {1156, ECFMMove, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
1.6057 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.6058 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.6059 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.6060 + {&gFixedDriveReadOnly, (TText*)L"?:\\",
1.6061 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6062 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6063 + },
1.6064 +
1.6065 + //---------------------------------------------
1.6066 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1157
1.6067 + //! @SYMTestType CIT
1.6068 + //!
1.6069 + //! @SYMAPI CFileMan::Move()
1.6070 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6071 + //! Move file Src to target with Drives not ready .
1.6072 + //! @SYMTestActions Move does not happen, returns the error code..
1.6073 + //! @SYMTestExpectedResults 1.KErrNotReady in success case.
1.6074 + //! @SYMTestPriority High
1.6075 + //! @SYMTestStatus Implemented
1.6076 + //---------------------------------------------
1.6077 +
1.6078 + {
1.6079 + {1157, ECFMMove, 0, KErrNotReady, KErrNone, KErrNotReady},
1.6080 + {&gFixedDriveNotReady, (TText*)L"?:\\",
1.6081 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6082 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6083 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6084 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6085 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6086 + },
1.6087 +
1.6088 + //---------------------------------------------
1.6089 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1158
1.6090 + //! @SYMTestType CIT
1.6091 + //!
1.6092 + //! @SYMAPI CFileMan::Rename()
1.6093 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6094 + //! Rename files with invalid path 'C\\Src\\FILE01.TXT' from Src to target.
1.6095 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6096 + //! @SYMTestExpectedResults 1.KErrBadName in success case.
1.6097 + //! @SYMTestPriority High
1.6098 + //! @SYMTestStatus Implemented
1.6099 + //---------------------------------------------
1.6100 +
1.6101 + {
1.6102 + {1158, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
1.6103 + {&gDriveToTest, (TText*)L"C\\Src\\FILE01.TXT",
1.6104 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6105 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6106 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6107 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6108 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6109 + },
1.6110 +
1.6111 + //---------------------------------------------
1.6112 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1159
1.6113 + //! @SYMTestType CIT
1.6114 + //!
1.6115 + //! @SYMAPI CFileMan::Rename()
1.6116 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6117 + //! Rename files with invalid path 'C:Src\\FILE01.TXT'from Src to target.
1.6118 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6119 + //! @SYMTestExpectedResults 1.KErrBadName in success case.
1.6120 + //! @SYMTestPriority High
1.6121 + //! @SYMTestStatus Implemented
1.6122 + //---------------------------------------------
1.6123 +
1.6124 + {
1.6125 + {1159, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
1.6126 + {&gDriveToTest, (TText*)L"C:Src\\FILE01.TXT",
1.6127 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6128 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6129 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6130 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6131 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6132 + },
1.6133 +
1.6134 + //---------------------------------------------
1.6135 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1161
1.6136 + //! @SYMTestType CIT
1.6137 + //!
1.6138 + //! @SYMAPI CFileMan::Rename()
1.6139 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6140 + //! Rename file with long filename from Src to target.
1.6141 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6142 + //! @SYMTestExpectedResults 1.KErrBadName in success case.
1.6143 + //! @SYMTestPriority High
1.6144 + //! @SYMTestStatus Implemented
1.6145 + //---------------------------------------------
1.6146 +
1.6147 + {
1.6148 + {1161, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
1.6149 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
1.6150 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6151 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6152 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6153 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6154 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6155 + },
1.6156 +
1.6157 + //---------------------------------------------
1.6158 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1162
1.6159 + //! @SYMTestType CIT
1.6160 + //!
1.6161 + //! @SYMAPI CFileMan::Rename()
1.6162 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6163 + //! Rename file with long pathname from Src to target.
1.6164 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6165 + //! @SYMTestExpectedResults 1.KErrBadName in success case.
1.6166 + //! @SYMTestPriority High
1.6167 + //! @SYMTestStatus Implemented
1.6168 + //---------------------------------------------
1.6169 +
1.6170 + {
1.6171 + {1162, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
1.6172 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\TEST\\",
1.6173 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6174 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6175 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6176 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6177 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6178 + },
1.6179 +
1.6180 + //---------------------------------------------
1.6181 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1163
1.6182 + //! @SYMTestType CIT
1.6183 + //!
1.6184 + //! @SYMAPI CFileMan::Rename()
1.6185 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6186 + //! Renaming files from the path that does not exist
1.6187 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6188 + //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.6189 + //! @SYMTestPriority High
1.6190 + //! @SYMTestStatus Implemented
1.6191 + //---------------------------------------------
1.6192 +
1.6193 + {
1.6194 + {1163, ECFMRename, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
1.6195 + {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\NODIR\\*.*",
1.6196 + (TText*)L"?:\\Src\\", {ALL, EMPTY},
1.6197 + (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1.6198 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6199 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6200 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6201 + },
1.6202 +
1.6203 + //---------------------------------------------
1.6204 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1164
1.6205 + //! @SYMTestType CIT
1.6206 + //!
1.6207 + //! @SYMAPI CFileMan::Rename()
1.6208 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6209 + //! Rename file from Src to path that doesnot exist in target
1.6210 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6211 + //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
1.6212 + //! @SYMTestPriority High
1.6213 + //! @SYMTestStatus Implemented
1.6214 + //---------------------------------------------
1.6215 +
1.6216 + {
1.6217 + {1164, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
1.6218 + {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
1.6219 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6220 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6221 + {&gDriveToTest, (TText*)L"?:\\TRG\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
1.6222 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6223 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6224 + },
1.6225 +
1.6226 + //---------------------------------------------
1.6227 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1165
1.6228 + //! @SYMTestType CIT
1.6229 + //!
1.6230 + //! @SYMAPI CFileMan::Rename()
1.6231 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6232 + //! Rename file from ReadOnly Drive Src to target.
1.6233 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6234 + //! @SYMTestExpectedResults 1.KErrArgument in success case.
1.6235 + //! @SYMTestPriority High
1.6236 + //! @SYMTestStatus Implemented
1.6237 + //---------------------------------------------
1.6238 +
1.6239 + {
1.6240 + {1165, ECFMRename, 0, KErrArgument, KErrNone, KErrArgument},
1.6241 + {&gFixedDriveReadOnly, (TText*)L"?:\\TEST\\",
1.6242 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6243 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6244 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6245 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6246 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6247 + },
1.6248 +
1.6249 + //---------------------------------------------
1.6250 + //! @SYMTestCaseID PBASE-T_CFILEMAN-1166
1.6251 + //! @SYMTestType CIT
1.6252 + //!
1.6253 + //! @SYMAPI CFileMan::Rename()
1.6254 + //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
1.6255 + //! Rename file Src to target with Drives not ready .
1.6256 + //! @SYMTestActions Rename does not happen, returns the error code..
1.6257 + //! @SYMTestExpectedResults 1.KErrNotReady in success case.
1.6258 + //! @SYMTestPriority High
1.6259 + //! @SYMTestStatus Implemented
1.6260 + //---------------------------------------------
1.6261 +
1.6262 + {
1.6263 + {1166, ECFMRename, 0, KErrNotReady, KErrNone, KErrNotReady},
1.6264 + {&gFixedDriveNotReady, (TText*)L"?:\\",
1.6265 + (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
1.6266 + (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
1.6267 + {&gDriveToTest, (TText*)L"?:\\Trg\\",
1.6268 + (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1.6269 + (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
1.6270 + },
1.6271 +
1.6272 +//End biary API test cases
1.6273 + {{0}}
1.6274 +
1.6275 + };
1.6276 +#endif /*T_CFILEMAN_CASES_H*/