Home
last modified time | relevance | path

Searched refs:destructor_count (Results 1 – 2 of 2) sorted by relevance

/system/chre/util/tests/
Dfixed_size_vector_test.cc25 int destructor_count[kMaxTestCapacity]; variable
31 destructor_count[mValue]++; in ~Foo()
111 EXPECT_EQ(0, destructor_count[0]); in TEST()
112 EXPECT_EQ(0, destructor_count[1]); in TEST()
113 EXPECT_EQ(0, destructor_count[2]); in TEST()
114 EXPECT_EQ(1, destructor_count[3]); in TEST()
118 EXPECT_EQ(0, destructor_count[0]); in TEST()
119 EXPECT_EQ(0, destructor_count[1]); in TEST()
120 EXPECT_EQ(0, destructor_count[2]); in TEST()
121 EXPECT_EQ(2, destructor_count[3]); in TEST()
[all …]
Darray_queue_test.cc8 int destructor_count[kMaxTestCapacity]; variable
22 destructor_count[val_]++; in ~DummyElement()
133 destructor_count[i] = 0; in TEST()
143 EXPECT_EQ(1, destructor_count[0]); in TEST()
147 EXPECT_EQ(1, destructor_count[1]); in TEST()
152 destructor_count[i] = 0; in TEST()
168 EXPECT_EQ(1, destructor_count[i]); in TEST()
174 EXPECT_EQ(1, destructor_count[i]); in TEST()
176 EXPECT_EQ(0, destructor_count[3]); in TEST()
177 EXPECT_EQ(1, destructor_count[kMaxTestCapacity - 1]); in TEST()