Lines Matching refs:expected_it
94 auto expected_it = expected.begin(); in VerifyChunks() local
96 for (; expected_it != expected.end() && it != chunks.end(); ++expected_it, ++it, ++chunk) { in VerifyChunks()
97 EXPECT_EQ(expected_it->reader_ref_count_, it->reader_ref_count_) << "chunk #" << chunk; in VerifyChunks()
98 EXPECT_EQ(expected_it->writer_active_, it->writer_active_) << "chunk #" << chunk; in VerifyChunks()
99 EXPECT_EQ(expected_it->highest_sequence_number_, it->highest_sequence_number_) in VerifyChunks()
101 EXPECT_EQ(expected_it->readers_, it->readers_) << "chunk #" << chunk; in VerifyChunks()
103 ASSERT_EQ(expected_it->contents_.size(), it->contents_.size()) << "chunk #" << chunk; in VerifyChunks()
104 ASSERT_EQ(expected_it->write_offset_, it->write_offset_) << "chunk #" << chunk; in VerifyChunks()
105 if (expected_it->contents_.size() > 0) { in VerifyChunks()
107 EXPECT_EQ(expected_it->contents_.data()[i], it->contents_.data()[i]) in VerifyChunks()
112 ASSERT_EQ(expected_it->compressed_log_.size(), it->compressed_log_.size()) in VerifyChunks()
114 if (expected_it->compressed_log_.size() > 0) { in VerifyChunks()
116 EXPECT_EQ(expected_it->compressed_log_.data()[i], it->compressed_log_.data()[i]) in VerifyChunks()
121 EXPECT_EQ(expected.end(), expected_it); in VerifyChunks()