Lines Matching refs:Buffer
10 using brillo::internal_details::Buffer;
13 TEST(Buffer, Empty) { in TEST() argument
14 Buffer buffer; in TEST()
16 EXPECT_EQ(Buffer::kExternal, buffer.storage_); in TEST()
20 TEST(Buffer, Store_Int) { in TEST() argument
21 Buffer buffer; in TEST()
24 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST()
28 TEST(Buffer, Store_Double) { in TEST() argument
29 Buffer buffer; in TEST()
32 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST()
36 TEST(Buffer, Store_Pointers) { in TEST() argument
37 Buffer buffer; in TEST()
41 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST()
48 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST()
58 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST()
62 TEST(Buffer, Store_NonTrivialObjects) { in TEST() argument
67 Buffer buffer; in TEST()
70 EXPECT_EQ(Buffer::kExternal, buffer.storage_); in TEST()
74 TEST(Buffer, Store_Objects) { in TEST() argument
75 Buffer buffer; in TEST()
82 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST()
90 EXPECT_EQ(Buffer::kExternal, buffer.storage_); in TEST()
94 TEST(Buffer, Copy) { in TEST() argument
95 Buffer buffer1; in TEST()
96 Buffer buffer2; in TEST()
117 TEST(Buffer, Move) { in TEST() argument
122 Buffer buffer1; in TEST()
123 Buffer buffer2; in TEST()