Lines Matching refs:buffer1
95 Buffer buffer1; in TEST() local
98 buffer1.Assign(30); in TEST()
99 buffer1.CopyTo(&buffer2); in TEST()
100 EXPECT_FALSE(buffer1.IsEmpty()); in TEST()
102 EXPECT_STREQ(GetTypeTag<int>(), buffer1.GetDataPtr()->GetTypeTag()); in TEST()
104 EXPECT_EQ(30, buffer1.GetData<int>()); in TEST()
107 buffer1.Assign(std::string("abc")); in TEST()
108 buffer1.CopyTo(&buffer2); in TEST()
109 EXPECT_FALSE(buffer1.IsEmpty()); in TEST()
111 EXPECT_STREQ(GetTypeTag<std::string>(), buffer1.GetDataPtr()->GetTypeTag()); in TEST()
113 EXPECT_EQ("abc", buffer1.GetData<std::string>()); in TEST()
122 Buffer buffer1; in TEST() local
125 buffer1.Assign(30); in TEST()
126 buffer1.MoveTo(&buffer2); in TEST()
130 EXPECT_FALSE(buffer1.IsEmpty()); in TEST()
135 buffer1.Assign(std::string("abc")); in TEST()
136 buffer1.MoveTo(&buffer2); in TEST()
139 EXPECT_TRUE(buffer1.IsEmpty()); in TEST()