Searched refs:CtorDtorCounter (Results 1 – 1 of 1) sorted by relevance
79 struct CtorDtorCounter { struct80 CtorDtorCounter() { ctor_count++; } in CtorDtorCounter() function81 ~CtorDtorCounter() { dtor_count++; } in ~CtorDtorCounter() argument90 int CtorDtorCounter::ctor_count = -1; argument91 int CtorDtorCounter::dtor_count = -1;94 CtorDtorCounter::reset(); in TEST_P()95 marl::UnboundedPool<CtorDtorCounter, marl::PoolPolicy::Reconstruct> pool; in TEST_P()96 ASSERT_EQ(CtorDtorCounter::ctor_count, 0); in TEST_P()97 ASSERT_EQ(CtorDtorCounter::dtor_count, 0); in TEST_P()100 ASSERT_EQ(CtorDtorCounter::ctor_count, 1); in TEST_P()[all …]