Lines Matching refs:CopyLogger
80 struct CopyLogger { struct
81 CopyLogger() { ++TimesConstructed; } in CopyLogger() argument
82 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger() argument
83 ~CopyLogger() { } in ~CopyLogger() argument
89 void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethRef()
93 void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethCopy()
97 int CopyLogger::TimesCopied = 0;
98 int CopyLogger::TimesConstructed = 0;
103 CopyLogger logger; in TEST()
104 EXPECT_EQ(0, CopyLogger::TimesCopied); in TEST()
105 EXPECT_EQ(1, CopyLogger::TimesConstructed); in TEST()
110 Tuple3<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); in TEST()
112 EXPECT_EQ(2, CopyLogger::TimesConstructed); in TEST()
113 EXPECT_EQ(1, CopyLogger::TimesCopied); in TEST()
119 EXPECT_EQ(2, CopyLogger::TimesConstructed); in TEST()
120 EXPECT_EQ(1, CopyLogger::TimesCopied); in TEST()
126 EXPECT_EQ(3, CopyLogger::TimesConstructed); in TEST()
127 EXPECT_EQ(2, CopyLogger::TimesCopied); in TEST()