Lines Matching refs:patch_writer_

34   EndsleyPatchWriter patch_writer_{&data_, CompressorType::kNoCompression, 0};  member in bsdiff::EndsleyPatchWriterTest
39 EXPECT_TRUE(patch_writer_.Init(0)); in TEST_F()
40 EXPECT_TRUE(patch_writer_.Close()); in TEST_F()
86 EXPECT_TRUE(patch_writer_.Init(10)); in TEST_F()
88 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(2, 3, -2))); in TEST_F()
89 EXPECT_TRUE(patch_writer_.WriteDiffStream(text.data(), 2)); in TEST_F()
90 EXPECT_TRUE(patch_writer_.WriteExtraStream(text.data() + 2, 3)); in TEST_F()
95 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(0, 5, 1024))); in TEST_F()
96 EXPECT_TRUE(patch_writer_.WriteExtraStream(text.data() + 5, 5)); in TEST_F()
98 EXPECT_TRUE(patch_writer_.Close()); in TEST_F()
127 EXPECT_TRUE(patch_writer_.Init(10)); in TEST_F()
128 EXPECT_TRUE(patch_writer_.WriteDiffStream(text.data(), 5)); in TEST_F()
129 EXPECT_TRUE(patch_writer_.WriteExtraStream(text.data() + 5, 5)); in TEST_F()
135 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(2, 3, -2))); in TEST_F()
136 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(2, 1, 1024))); in TEST_F()
137 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(1, 1, 1024))); in TEST_F()
139 EXPECT_TRUE(patch_writer_.Close()); in TEST_F()
155 EXPECT_TRUE(patch_writer_.Init(kNewSize)); in TEST_F()
158 EXPECT_TRUE(patch_writer_.WriteDiffStream(zeros.data(), zeros.size())); in TEST_F()
159 EXPECT_TRUE(patch_writer_.WriteExtraStream(zeros.data(), zeros.size())); in TEST_F()
166 EXPECT_TRUE(patch_writer_.AddControlEntry(entry)); in TEST_F()
176 EXPECT_TRUE(patch_writer_.AddControlEntry(entry)); in TEST_F()
183 EXPECT_TRUE(patch_writer_.Close()); in TEST_F()