Lines Matching defs:output
577 const std::string output = GetCapturedStdout();
581 output); // #1
586 output); // #2
591 output); // #3
596 output); // #4
602 output); // #5
614 const std::string output = GetCapturedStdout();
619 output);
632 std::string output = GetCapturedStdout();
633 EXPECT_TRUE(output.empty()) << output;
917 const std::string output = GetCapturedStdout();
919 EXPECT_PRED_FORMAT2(IsSubstring, expect_call_location, output);
1125 // FIXME: We should really verify the output message,
1937 const std::string output = GetCapturedStdout();
1938 EXPECT_PRED_FORMAT2(IsSubstring, "GMOCK WARNING", output);
1939 EXPECT_PRED_FORMAT2(IsNotSubstring, "Stack trace:", output);
1951 const std::string output = GetCapturedStdout();
1952 EXPECT_PRED_FORMAT2(IsSubstring, "GMOCK WARNING", output);
1953 EXPECT_PRED_FORMAT2(IsSubstring, "Stack trace:", output);
1962 EXPECT_PRED_FORMAT2(IsSubstring, "VoidMethod(", output);
2005 // Tests how the --gmock_verbose flag affects Google Mock's output.
2009 // Verifies that the given Google Mock output is correct. (When
2010 // should_print is true, the output should match the given regex and
2012 // false, the output should be empty.)
2013 void VerifyOutput(const std::string& output, bool should_print,
2017 EXPECT_THAT(output.c_str(), HasSubstr(expected_substring));
2021 EXPECT_THAT(output.c_str(), HasSubstr(function_name));
2027 EXPECT_STREQ("", output.c_str());