Home
last modified time | relevance | path

Searched refs:destDir (Results 1 – 5 of 5) sorted by relevance

/test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/members/
DcopyDir.test.js64 destDir: ddpath2
72 destDir: null
187 let dirnet1 = fileIO.listFileSync(dpath.destDir, {recursion : true});
189 fileIO.copyDirSync(dpath.srcDir, dpath.destDir, DIRMODE_FILE_COPY_THROW_ERR);
194 let dirent2 = fileIO.listFileSync(dpath.destDir, {recursion : true});
199 let stat3 = fileIO.statSync(dpath.destDir + '/srcDir/srcFile_first_01');
200 let stat4 = fileIO.statSync(dpath.destDir + '/srcDir/srcDir_first/srcFile_second_01');
203 expect(fileIO.accessSync(dpath.destDir + '/srcDir/srcFile_first_02')).assertTrue();
204 … expect(fileIO.accessSync(dpath.destDir + '/srcDir/srcDir_first/srcFile_second_02')).assertTrue();
205 expect(fileIO.accessSync(dpath.destDir + '/srcDir/destFile_second_01')).assertTrue();
[all …]
DmoveDir.test.js66 destDir: ddpath2
74 destDir: null
189 let dirent1 = fileIO.listFileSync(dpath.destDir, {recursion : true});
191 fileIO.moveDirSync(dpath.srcDir, dpath.destDir, DIRMODE_DIRECTORY_REPLACE);
193 expect(fileIO.accessSync(dpath.destDir + '/srcDir/destFile_second_01')).assertFalse();
194 … expect(fileIO.accessSync(dpath.destDir + '/srcDir/srcDir_first/destFile_third_01')).assertFalse();
195 let stat3 = fileIO.statSync(dpath.destDir + '/srcDir/srcFile_first_01');
197 let stat4 = fileIO.statSync(dpath.destDir + '/srcDir/srcDir_first/srcFile_second_01');
199 let dirent2 = fileIO.listFileSync(dpath.destDir, {recursion : true});
222 let stat1 = fileIO.statSync(dpath.destDir + '/srcDir/srcFile_first_01');
[all …]
/test/ostest/wukong/common/src/
Dwukong_util.cpp572 bool WuKongUtil::CopyFile(std::string &targetFile, std::string &sourceDir, std::string &destDir) in CopyFile() argument
576 …targetFile{%s} sourceDir{%s} destDir{%s}", targetFile.c_str(), sourceDir.c_str(), destDir.c_str()); in CopyFile()
593 char *realPathDest = realpath(destDir.c_str(), filepathDest); in CopyFile()
595 ERROR_LOG_STR("failed to get dest dir path (%s), errno: (%d)", destDir.c_str(), errno); in CopyFile()
599 std::string destFile = destDir + targetFile; in CopyFile()
/test/ostest/wukong/common/include/
Dwukong_util.h208 bool CopyFile(std::string &targetFile, std::string &sourceDir, std::string &destDir);
/test/ostest/wukong/report/src/
Dreport.cpp66 std::string destDir = Report::GetInstance()->GetReportExceptionDir(); in ListenCrashDir() local
77 WuKongUtil::GetInstance()->CopyFile(targetFile, crashDir, destDir); in ListenCrashDir()