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 __anon65a4d1dd0111::UpdaterBinaryUnittest
/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp50 pkgInfo.entryCount = testFileNames_.size(); in TestPackagePack()
58 ComponentInfoExt comp[testFileNames_.size()]; in TestPackagePack()
59 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestPackagePack()
60 comp[i].componentAddr = strdup(testFileNames_[i].c_str()); in TestPackagePack()
62 filePath += testFileNames_[i].c_str(); in TestPackagePack()
80 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestPackagePack()
110 …return CreateZipPackage(testFileNames_, TEST_PATH_TO + testZipPackageName, TEST_PATH_FROM, digestM… in TestZipPkgCompress()
301 pkgInfo.entryCount = testFileNames_.size(); in TestInterfaceZip()
307 ComponentInfoExt comp[testFileNames_.size()]; in TestInterfaceZip()
308 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestInterfaceZip()
[all …]
Dpkg_algo_unittest.cpp170 pkgInfo.entryCount = testFileNames_.size(); in TestEccUserPackage()
177 ComponentInfoExt comp[testFileNames_.size()]; in TestEccUserPackage()
178 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestEccUserPackage()
179 comp[i].componentAddr = strdup(testFileNames_[i].c_str()); in TestEccUserPackage()
181 filePath += testFileNames_[i].c_str(); in TestEccUserPackage()
191 for (size_t i = 0; i < testFileNames_.size(); i++) { in TestEccUserPackage()
207 std::vector<std::string> testFileNames_ = { member in __anon1b8b8cdb0111::PkgAlgoUnitTest
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()
477 for (auto name : testFileNames_) { in TestZipPackageInvalidFile()
Dpkg_test.h167 std::vector<std::string> testFileNames_ = { variable
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp227 pkgInfo.entryCount = testFileNames_.size(); in CreatePackageBin()
233 ComponentInfoExt comp[testFileNames_.size()]; in CreatePackageBin()
234 for (size_t i = 0; i < testFileNames_.size(); i++) { in CreatePackageBin()
235 comp[i].componentAddr = strdup(testFileNames_[i].c_str()); in CreatePackageBin()
237 filePath += testFileNames_[i].c_str(); in CreatePackageBin()
256 for (size_t i = 0; i < testFileNames_.size(); i++) { in CreatePackageBin()
269 std::vector<std::string> testFileNames_ = { member in __anonf0cda1d50111::UScriptTest