Searched refs:ReadContentFromFile (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/test/unittest/applypatch_test/ |
D | imagepatch_unittest.cpp | 36 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()
|
D | imagepatch_unittest.h | 104 bool ReadContentFromFile(const std::string &file, std::string &content) const;
|
/base/update/updater/test/unittest/test_data/diffpatch/ |
D | PatchGztest_new.gz |
|
D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |