Home
last modified time | relevance | path

Searched refs:CopyLogger (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/
Dtuple_unittest.cc68 struct CopyLogger { struct
69 CopyLogger() { ++TimesConstructed; } in CopyLogger() function
70 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger() function
71 ~CopyLogger() = default;
77 void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethRef()
81 void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { in SomeLoggerMethCopy()
85 int CopyLogger::TimesCopied = 0;
86 int CopyLogger::TimesConstructed = 0;
91 CopyLogger logger; in TEST()
92 EXPECT_EQ(0, CopyLogger::TimesCopied); in TEST()
[all …]