Lines Matching refs:ControlEntry
61 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(15, 5, 0))); in TEST_F()
74 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(5, 15, -5))); in TEST_F()
87 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(5, 1, -5))); in TEST_F()
88 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(4, 0, -4))); in TEST_F()
90 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(6, 0, -1))); in TEST_F()
92 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(1, 18, 2))); in TEST_F()
94 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(1, 0, 1))); in TEST_F()
95 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(4, 0, -5))); in TEST_F()
103 EXPECT_EQ((std::vector<ControlEntry>{ in TEST_F()
104 ControlEntry(5, 1, -5), in TEST_F()
105 ControlEntry(4, 0, 0), // (4, 0, -4) but the -4 is not needed. in TEST_F()
108 EXPECT_EQ((std::vector<ControlEntry>{ in TEST_F()
110 ControlEntry(6, 0, -1), in TEST_F()
111 ControlEntry(1, 3, 0), // the first part of (1, 18, 2) in TEST_F()
114 EXPECT_EQ((std::vector<ControlEntry>{ in TEST_F()
117 ControlEntry(0, 10, 0), // the middle part of (1, 18, 2) in TEST_F()
120 EXPECT_EQ((std::vector<ControlEntry>{ in TEST_F()
123 ControlEntry(0, 5, 8), // the last part of (1, 18, 2), plus the in TEST_F()
125 ControlEntry(1, 0, 1), // (1, 0, 1) copied in TEST_F()
126 ControlEntry(4, 0, 0), // (4, 0, -5) ignoring the offset. in TEST_F()
142 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(15, 10, 0))); in TEST_F()
143 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(15, 0, 0))); in TEST_F()