Lines Matching refs:CopyLogger
84 struct CopyLogger { struct
85 CopyLogger() { ++TimesConstructed; } in CopyLogger() argument
86 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger() argument
87 ~CopyLogger() { } in ~CopyLogger() argument
93 void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethRef()
97 void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethCopy()
101 int CopyLogger::TimesCopied = 0;
102 int CopyLogger::TimesConstructed = 0;
107 CopyLogger logger; in TEST()
108 EXPECT_EQ(0, CopyLogger::TimesCopied); in TEST()
109 EXPECT_EQ(1, CopyLogger::TimesConstructed); in TEST()
114 base::Tuple<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); in TEST()
116 EXPECT_EQ(2, CopyLogger::TimesConstructed); in TEST()
117 EXPECT_EQ(1, CopyLogger::TimesCopied); in TEST()
123 EXPECT_EQ(2, CopyLogger::TimesConstructed); in TEST()
124 EXPECT_EQ(1, CopyLogger::TimesCopied); in TEST()
130 EXPECT_EQ(3, CopyLogger::TimesConstructed); in TEST()
131 EXPECT_EQ(2, CopyLogger::TimesCopied); in TEST()