Searched refs:destruct_count (Results 1 – 2 of 2) sorted by relevance
/external/cronet/base/containers/ |
D | circular_deque_unittest.cc | 112 int destruct_count = 0; in TEST() local 117 q.resize(5, DestructorCounter(&destruct_count)); in TEST() 119 EXPECT_EQ(1, destruct_count); // The temporary in the call to resize(). in TEST() 120 destruct_count = 0; in TEST() 122 EXPECT_EQ(5, destruct_count); // One call for each. in TEST() 128 q.resize(5, DestructorCounter(&destruct_count)); in TEST() 131 destruct_count = 0; in TEST() 133 q.emplace_back(&destruct_count); in TEST() 136 EXPECT_EQ(4, destruct_count); // One for each cycle. in TEST() 137 destruct_count = 0; in TEST() [all …]
|
/external/libchrome/base/containers/ |
D | circular_deque_unittest.cc | 111 int destruct_count = 0; in TEST() local 116 q.resize(5, DestructorCounter(&destruct_count)); in TEST() 118 EXPECT_EQ(1, destruct_count); // The temporary in the call to resize(). in TEST() 119 destruct_count = 0; in TEST() 121 EXPECT_EQ(5, destruct_count); // One call for each. in TEST() 127 q.resize(5, DestructorCounter(&destruct_count)); in TEST() 130 destruct_count = 0; in TEST() 132 q.emplace_back(&destruct_count); in TEST() 135 EXPECT_EQ(4, destruct_count); // One for each cycle. in TEST() 136 destruct_count = 0; in TEST() [all …]
|