Lines Matching refs:InstanceCount
344 int &InstanceCount; member
346 Countable(int Number, int &InstanceCount) in Countable()
347 : InstanceCount(InstanceCount), Number(Number) { in Countable()
348 ++InstanceCount; in Countable()
350 Countable(Countable &&C) : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable()
351 ++InstanceCount; in Countable()
355 : InstanceCount(C.InstanceCount), Number(C.Number) { in Countable()
356 ++InstanceCount; in Countable()
362 ~Countable() { --InstanceCount; } in ~Countable()
366 int InstanceCount = 0; in TEST_F() local
368 A.insert(std::make_pair("x", Countable(42, InstanceCount))); in TEST_F()
369 ASSERT_EQ(InstanceCount, 1); in TEST_F()
376 ASSERT_EQ(InstanceCount, 1); in TEST_F()
383 ASSERT_EQ(InstanceCount, 0); in TEST_F()