Home
last modified time | relevance | path

Searched refs:testFileNames_ (Results 1 – 6 of 6) sorted by relevance

/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp124 pkgInfo.entryCount = testFileNames_.size() + fileNameIndex; in CreatePackageBin()
131 sizeof(ComponentInfoExt) * (testFileNames_.size() + fileNameIndex)); in CreatePackageBin()
135 for (size_t i = 0; i < testFileNames_.size(); i++) { in CreatePackageBin()
136 BuildCompnentInfo(comp[i], testFileNames_[i], testFileNames_[i], componentType); in CreatePackageBin()
139 size_t index = testFileNames_.size(); in CreatePackageBin()
169 std::vector<std::string> testFileNames_ = { member in __anon6491863a0111::UpdaterBinaryUnittest
/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp93 pkgInfo.entryCount = testFileNames_.size(); in TestPackagePack()
101 ComponentInfoExt comp[testFileNames_.size()]; in TestPackagePack()
102 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestPackagePack()
103 comp[i].componentAddr = strdup(testFileNames_[i].c_str()); in TestPackagePack()
105 filePath += testFileNames_[i].c_str(); in TestPackagePack()
123 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestPackagePack()
154 …return CreateZipPackage(testFileNames_, TEST_PATH_TO + testZipPackageName, TEST_PATH_FROM, digestM… in TestZipPkgCompress()
Dpkg_manager_unittest.cpp103 pkgInfo.pkgInfo.entryCount = testFileNames_.size(); in GetUpgradePkgInfo()
110 files.resize(testFileNames_.size()); in GetUpgradePkgInfo()
111 for (uint32_t i = 0; i < testFileNames_.size(); i++) { in GetUpgradePkgInfo()
113 filePath += testFileNames_[i].c_str(); in GetUpgradePkgInfo()
119 info->fileInfo.identity = testFileNames_[i]; in GetUpgradePkgInfo()
336 for (auto name : testFileNames_) { in TestZipPackageInvalidFile()
Dpkg_algo_unittest.cpp135 std::vector<std::string> testFileNames_ = { member in UpdaterUt::PkgAlgoUnitTest
Dpkg_test.h167 std::vector<std::string> testFileNames_ = { variable
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp212 std::vector<std::string> testFileNames_ = { member in __anon029f3c320111::UScriptTest