Searched refs:TEST_PATH_FROM (Results 1 – 9 of 9) sorted by relevance
/base/update/updater/test/unittest/diffpatch/ |
D | diffpatch_unittest.cpp | 49 int32_t ret = UpdatePatch::UpdateDiff::DiffBlock(TEST_PATH_FROM + oldFile, in BlockDiffPatchTest() 50 TEST_PATH_FROM + newFile, TEST_PATH_FROM + patchFile); in BlockDiffPatchTest() 52 ret = UpdatePatch::UpdateApplyPatch::ApplyPatch(TEST_PATH_FROM + patchFile, in BlockDiffPatchTest() 53 TEST_PATH_FROM + oldFile, TEST_PATH_FROM + restoreFile); in BlockDiffPatchTest() 56 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in BlockDiffPatchTest() 57 std::string restoreHash = GeneraterHash(TEST_PATH_FROM + restoreFile); in BlockDiffPatchTest() 65 int32_t ret = UpdatePatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest() 66 TEST_PATH_FROM + newFile, TEST_PATH_FROM + patchFile); in ImgageDiffPatchFileTest() 68 ret = UpdatePatch::UpdateApplyPatch::ApplyPatch(TEST_PATH_FROM + patchFile, in ImgageDiffPatchFileTest() 69 TEST_PATH_FROM + oldFile, TEST_PATH_FROM + restoreFile); in ImgageDiffPatchFileTest() [all …]
|
D | bzip2_unittest.cpp | 75 std::string fileName = TEST_PATH_FROM; in BZip2AdapterBufferTest() 129 std::string fileName = TEST_PATH_FROM; in BZip2AdapterAddMoreTest() 221 if (PatchMapFile(TEST_PATH_FROM + fileName, memInfo) != 0) { in DeflateAdapterTest()
|
/base/update/updater/test/unittest/ |
D | unittest_comm.h | 28 const std::string TEST_PATH_FROM = "/data/updater/src/"; variable 33 std::string name = TEST_PATH_FROM; 44 std::string name = TEST_PATH_FROM;
|
/base/update/updater/test/unittest/script/ |
D | script_unittest.cpp | 64 fileInfo.unpackedSize = GetFileSize(TEST_PATH_FROM + fileId); in GetFileInfo() 86 auto fd = open((TEST_PATH_FROM + fileId).c_str(), O_RDWR); in ExtractFile() 88 PKG_LOGE("file %s not existed", (TEST_PATH_FROM + fileId).c_str()); in ExtractFile() 118 if (realpath((TEST_PATH_FROM + fileNameReal).c_str(), realPath) == nullptr) { in CreatePkgStream() 119 LOG(ERROR) << (TEST_PATH_FROM + fileNameReal) << " realpath failed"; in CreatePkgStream() 228 verifier.LoadHashDataAndPkcs7(TEST_PATH_FROM + "updater_fake_pkg.zip"); in TestUscriptExecute()
|
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 89 path = TEST_PATH_FROM + "../utils/nonExistDir";
|
/base/update/updater/test/unittest/package/ |
D | package_unittest.cpp | 104 filePath = TEST_PATH_FROM; in TestPackagePack() 153 …return CreateZipPackage(testFileNames_, TEST_PATH_TO + testZipPackageName, TEST_PATH_FROM, digestM… in TestZipPkgCompress()
|
D | pkg_algo_unittest.cpp | 119 …SignAlgorithm::SignAlgorithmPtr sign = PkgAlgorithmFactory::GetSignAlgorithm(TEST_PATH_FROM, inval… in TestInvalidParam()
|
D | pkg_manager_unittest.cpp | 112 filePath = TEST_PATH_FROM; in GetUpgradePkgInfo() 404 std::string testFileName = TEST_PATH_FROM + "../diffpatch/PatchLz4test_new.lz4"; in TestDecompressLz4() 516 std::string testFileName = TEST_PATH_FROM + "../applypatch/TestDecompressGzip.new.gz"; in TestDecompressGzip()
|
/base/update/updater/test/unittest/updater_binary/ |
D | updater_binary_unittest.cpp | 197 std::string filePath = TEST_PATH_FROM; in BuildCompnentInfo()
|