scoped_comptr_unittest.cc | 19 Dummy() : adds(0), releases(0) { } 21 void Release() { ++releases; } 24 int releases; member in struct:base::win::__anon7236::Dummy 89 EXPECT_EQ(p->releases, 0); 92 EXPECT_EQ(p->releases, 0); 95 EXPECT_EQ(p->releases, 1); 100 EXPECT_EQ(p->releases, 1); 104 EXPECT_EQ(p->releases, 2); 107 EXPECT_EQ(p->releases, 4);
|