Home
last modified time | relevance | path

Searched refs:ReadContentFromFile (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/test/unittest/applypatch_test/
Dimagepatch_unittest.cpp36 bool ImagePatchTest::ReadContentFromFile(const std::string& file, std::string &content) const in ReadContentFromFile() function in UpdaterUt::ImagePatchTest
64 auto rc = ReadContentFromFile("/data/updater/applypatch/source.zip", sourceData); in TestZipModeImagePatch()
70 rc = ReadContentFromFile(patchFile, patchContent); in TestZipModeImagePatch()
83 auto rc = ReadContentFromFile("/data/updater/diffpatch/patchtest.old", sourceData); in TestNormalModeImagePatch()
87 rc = ReadContentFromFile(patchFile, patchContent); in TestNormalModeImagePatch()
100 …auto rc = ReadContentFromFile("/data/updater/applypatch/TestGZipModeImagePatch.old.gz", sourceData… in TestGZipModeImagePatch()
103 …rc = ReadContentFromFile("/data/updater/applypatch/TestGZipModeImagePatch.gz.patch", patchContent); in TestGZipModeImagePatch()
117 auto rc = ReadContentFromFile("/data/updater/diffpatch/PatchLz4test_old.lz4", sourceData); in TestLZ4ModeImagePatch()
120 rc = ReadContentFromFile("/data/updater/diffpatch/PatchLz4test_lz4.img_patch", patchContent); in TestLZ4ModeImagePatch()
Dimagepatch_unittest.h104 bool ReadContentFromFile(const std::string &file, std::string &content) const;
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...