Lines Matching refs:CopyLogger
85 struct CopyLogger { struct
86 CopyLogger() { ++TimesConstructed; } in CopyLogger() function
87 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger() function
88 ~CopyLogger() { } in ~CopyLogger() argument
94 void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethRef()
98 void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethCopy()
102 int CopyLogger::TimesCopied = 0;
103 int CopyLogger::TimesConstructed = 0;
108 CopyLogger logger; in TEST()
109 EXPECT_EQ(0, CopyLogger::TimesCopied); in TEST()
110 EXPECT_EQ(1, CopyLogger::TimesConstructed); in TEST()
115 base::Tuple<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); in TEST()
117 EXPECT_EQ(2, CopyLogger::TimesConstructed); in TEST()
118 EXPECT_EQ(1, CopyLogger::TimesCopied); in TEST()
124 EXPECT_EQ(2, CopyLogger::TimesConstructed); in TEST()
125 EXPECT_EQ(1, CopyLogger::TimesCopied); in TEST()
131 EXPECT_EQ(3, CopyLogger::TimesConstructed); in TEST()
132 EXPECT_EQ(2, CopyLogger::TimesCopied); in TEST()