Lines Matching refs:patch
62 test_utils::BsdiffPatchFile patch; in TEST_F() local
63 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
64 EXPECT_TRUE(patch.IsValid()); in TEST_F()
67 EXPECT_EQ(sizeof(kCompressedEmpty), static_cast<uint64_t>(patch.diff_len)); in TEST_F()
68 EXPECT_EQ(sizeof(kCompressedEmpty), patch.extra_len); in TEST_F()
79 test_utils::BsdiffPatchFile patch; in TEST_F() local
80 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
81 EXPECT_TRUE(patch.IsValid()); in TEST_F()
82 EXPECT_EQ(patch.bz2_diff, in TEST_F()
85 EXPECT_EQ(patch.bz2_extra, in TEST_F()
90 EXPECT_EQ(static_cast<int64_t>(sizeof(kHelloWorld)), patch.new_file_len); in TEST_F()
101 test_utils::BsdiffPatchFile patch; in TEST_F() local
102 EXPECT_TRUE(patch.LoadFromFile(patch_file_.filename())); in TEST_F()
103 EXPECT_TRUE(patch.IsValid()); in TEST_F()
104 EXPECT_EQ(patch.bz2_extra, in TEST_F()
107 EXPECT_EQ(patch.bz2_diff, in TEST_F()
111 EXPECT_EQ(static_cast<int64_t>(sizeof(kHelloWorld)), patch.new_file_len); in TEST_F()