Go to the documentation of this file.
46 using GOOGLE_NAMESPACE::glog_testing::ScopedMockLog;
50 using testing::InSequence;
54 TEST(ScopedMockLogTest, InterceptsLog) {
71 LOG(
INFO) <<
"Logging a branch...";
75 LOG(
INFO) <<
"Logging the whole tree...";
79 LOG(
INFO) <<
"Logging the entire forest.";
80 LOG(
INFO) <<
"Logging the entire forest..";
81 LOG(
INFO) <<
"Logging the entire forest...";
87 TEST(ScopedMockLogTest, LogDuringIntercept) {
102 int main(
int argc,
char **argv) {
GTEST_API_ void InitGoogleMock(int *argc, char **argv)
GTEST_API_ void Log(LogSeverity severity, const std::string &message, int stack_frames_to_skip)
GLsizei const GLchar *const * string
internal::InvokeWithoutArgsAction< typename std::decay< FunctionImpl >::type > InvokeWithoutArgs(FunctionImpl function_impl)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
bool EndsWith(StringPiece text, StringPiece suffix)
#define EXPECT_CALL(obj, call)
void InitGoogleLogging(const char *argv0)
int main(int argc, char **argv)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57