Searched refs:destructor_count (Results 1 – 2 of 2) sorted by relevance
/system/chre/util/tests/ |
D | fixed_size_vector_test.cc | 25 int destructor_count[kMaxTestCapacity]; variable 31 destructor_count[mValue]++; in ~Foo() 133 EXPECT_EQ(0, destructor_count[0]); in TEST() 134 EXPECT_EQ(0, destructor_count[1]); in TEST() 135 EXPECT_EQ(0, destructor_count[2]); in TEST() 136 EXPECT_EQ(1, destructor_count[3]); in TEST() 140 EXPECT_EQ(0, destructor_count[0]); in TEST() 141 EXPECT_EQ(0, destructor_count[1]); in TEST() 142 EXPECT_EQ(0, destructor_count[2]); in TEST() 143 EXPECT_EQ(2, destructor_count[3]); in TEST() [all …]
|
D | array_queue_test.cc | 12 int destructor_count[kMaxTestCapacity]; variable 28 destructor_count[val_]++; in ~FakeElement() 221 destructor_count[i] = 0; in TEST() 231 EXPECT_EQ(1, destructor_count[0]); in TEST() 235 EXPECT_EQ(1, destructor_count[1]); in TEST() 240 destructor_count[i] = 0; in TEST() 257 EXPECT_EQ(1, destructor_count[i]); in TEST() 263 EXPECT_EQ(1, destructor_count[i]); in TEST() 265 EXPECT_EQ(0, destructor_count[3]); in TEST() 266 EXPECT_EQ(1, destructor_count[kMaxTestCapacity - 1]); in TEST() [all …]
|