Home
last modified time | relevance | path

Searched refs:GetTestPrivateKeyName (Results 1 – 9 of 9) sorted by relevance

/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp45 int ret = CreatePackage(nullptr, &compInfo, nullptr, GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
50 ret = CreatePackage(&pkgInfoExt, &compInfo, nullptr, GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
59 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
64 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
69 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
74 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
79 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
121 GetTestPrivateKeyName(pkgInfo.digestMethod).c_str()); in TestPackagePack()
189 GetTestPrivateKeyName(pkgInfo.digestMethod), &pkgInfo, files); in TestGZipPkgCompress()
251 GetTestPrivateKeyName(pkgInfo.digestMethod), &pkgInfo, files); in TestLz4PkgCompress()
Dpkg_manager_unittest.cpp142 … ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, files); in TestPackagePack()
158 …int32_t ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, … in TestPackagePackFileNotExist()
169 … int32_t ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), nullptr, files); in TestPackagePackParamInvalid()
262 …int ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, file… in TestCreatePackageInvalidFile()
276 …int ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, file… in TestCreatePackageInvalidSignMethod()
299 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), nullptr, files); in TestLz4PackageInvalidFile()
301 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestLz4PackageInvalidFile()
323 int ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestLz4PackageInvalidPkgType()
348 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), nullptr, files); in TestZipPackageInvalidFile()
350 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestZipPackageInvalidFile()
Dpkg_verify_unittest.cpp93 BIO *certbio = BIO_new_file(GetTestPrivateKeyName(0).c_str(), "r"); in TestCertVerifyFailed()
129 BIO *certbio = BIO_new_file(GetTestPrivateKeyName(0).c_str(), "r"); in TestOpensslUtilFailed()
Dpkg_test.h173 …int32_t ret = pkgManager->CreatePackage(packageName, GetTestPrivateKeyName(digestMethod), &pkgInfo… in CreateZipPackage()
/base/update/updater/test/unittest/
Dunittest_comm.h31 inline std::string GetTestPrivateKeyName(int type = 0)
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp35 static inline std::string GetTestPrivateKeyName() in GetTestPrivateKeyName() function
133 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp42 static inline std::string GetTestPrivateKeyName() in GetTestPrivateKeyName() function
143 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp52 static inline std::string GetTestPrivateKeyName() in GetTestPrivateKeyName() function
271 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp161 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()