Lines Matching refs:InstanceCount
316 int &InstanceCount; member
318 Countable(int Number, int &InstanceCount) in Countable()
319 : InstanceCount(InstanceCount), Number(Number) { in Countable()
320 ++InstanceCount; in Countable()
322 Countable(Countable &&C) : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable()
323 ++InstanceCount; in Countable()
327 : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable()
328 ++InstanceCount; in Countable()
334 ~Countable() { --InstanceCount; } in ~Countable()
338 int InstanceCount = 0; in TEST_F() local
340 A.insert(std::make_pair("x", Countable(42, InstanceCount))); in TEST_F()
341 ASSERT_EQ(InstanceCount, 1); in TEST_F()
348 ASSERT_EQ(InstanceCount, 1); in TEST_F()
355 ASSERT_EQ(InstanceCount, 0); in TEST_F()