Lines Matching refs:buffer2
96 Buffer buffer2; in TEST() local
99 buffer1.CopyTo(&buffer2); in TEST()
101 EXPECT_FALSE(buffer2.IsEmpty()); in TEST()
103 EXPECT_STREQ(GetTypeTag<int>(), buffer2.GetDataPtr()->GetTypeTag()); in TEST()
105 EXPECT_EQ(30, buffer2.GetData<int>()); in TEST()
108 buffer1.CopyTo(&buffer2); in TEST()
110 EXPECT_FALSE(buffer2.IsEmpty()); in TEST()
112 EXPECT_STREQ(GetTypeTag<std::string>(), buffer2.GetDataPtr()->GetTypeTag()); in TEST()
114 EXPECT_EQ("abc", buffer2.GetData<std::string>()); in TEST()
123 Buffer buffer2; in TEST() local
126 buffer1.MoveTo(&buffer2); in TEST()
131 EXPECT_FALSE(buffer2.IsEmpty()); in TEST()
132 EXPECT_STREQ(GetTypeTag<int>(), buffer2.GetDataPtr()->GetTypeTag()); in TEST()
133 EXPECT_EQ(30, buffer2.GetData<int>()); in TEST()
136 buffer1.MoveTo(&buffer2); in TEST()
140 EXPECT_FALSE(buffer2.IsEmpty()); in TEST()
141 EXPECT_STREQ(GetTypeTag<std::string>(), buffer2.GetDataPtr()->GetTypeTag()); in TEST()
142 EXPECT_EQ("abc", buffer2.GetData<std::string>()); in TEST()