proxygen
|
Go to the source code of this file.
Classes | |
struct | StubLogger |
struct | StubClock |
Functions | |
TEST (TestAutoTimer, HandleBasicClosure) | |
TEST (TestAutoTimer, HandleBasic) | |
TEST (TestAutoTimer, HandleLogOnDestruct) | |
TEST (TestAutoTimer, HandleRealTimerClosure) | |
TEST (TestAutoTimer, HandleRealTimer) | |
TEST (TestAutoTimer, HandleMinLogTime) | |
TEST (TestAutoTimer, MovedObjectDestructionDoesntLog) | |
TEST | ( | TestAutoTimer | , |
HandleBasicClosure | |||
) |
Definition at line 47 of file AutoTimerTest.cpp.
References ASSERT_EQ, StubLogger::m, folly::gen::move, StubLogger::t, and StubClock::t.
TEST | ( | TestAutoTimer | , |
HandleBasic | |||
) |
Definition at line 66 of file AutoTimerTest.cpp.
References ASSERT_EQ, folly::AutoTimer< Logger, Clock >::log(), folly::AutoTimer< Logger, Clock >::logFormat(), StubLogger::m, StubLogger::t, and StubClock::t.
TEST | ( | TestAutoTimer | , |
HandleLogOnDestruct | |||
) |
Definition at line 78 of file AutoTimerTest.cpp.
References ASSERT_EQ, EXPECT_EQ, folly::AutoTimer< Logger, Clock >::log(), StubLogger::m, StubLogger::t, and StubClock::t.
TEST | ( | TestAutoTimer | , |
HandleRealTimerClosure | |||
) |
Definition at line 92 of file AutoTimerTest.cpp.
References folly::makeAutoTimer(), and folly::pushmi::detail::t.
TEST | ( | TestAutoTimer | , |
HandleRealTimer | |||
) |
Definition at line 103 of file AutoTimerTest.cpp.
References folly::AutoTimer< Logger, Clock >::log(), and folly::pushmi::detail::t.
TEST | ( | TestAutoTimer | , |
HandleMinLogTime | |||
) |
Definition at line 109 of file AutoTimerTest.cpp.
References ASSERT_EQ, count, folly::AutoTimer< Logger, Clock >::log(), StubLogger::t, and StubClock::t.
TEST | ( | TestAutoTimer | , |
MovedObjectDestructionDoesntLog | |||
) |
Definition at line 119 of file AutoTimerTest.cpp.
References current, EXPECT_EQ, int32_t, folly::makeAutoTimer(), folly::gen::move, and SCOPE_EXIT.