Searched refs:GetTestPrivateKeyName (Results 1 – 9 of 9) sorted by relevance
/base/update/updater/test/unittest/package/ |
D | package_unittest.cpp | 45 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()
|
D | pkg_manager_unittest.cpp | 142 … 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()
|
D | pkg_verify_unittest.cpp | 93 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()
|
D | pkg_test.h | 173 …int32_t ret = pkgManager->CreatePackage(packageName, GetTestPrivateKeyName(digestMethod), &pkgInfo… in CreateZipPackage()
|
/base/update/updater/test/unittest/ |
D | unittest_comm.h | 31 inline std::string GetTestPrivateKeyName(int type = 0)
|
/base/update/sys_installer/test/fuzztest/ |
D | sys_installer_fuzzer.cpp | 35 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/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 42 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/ |
D | extractandexecutescript_fuzzer.cpp | 52 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/ |
D | updater_binary_unittest.cpp | 161 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
|