Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

google test assert stdout

testing::internal::CaptureStdout();
std::cout << "My test";
std::string output = testing::internal::GetCapturedStdout();
 
PREVIOUS NEXT
Tagged: #google #test #assert #stdout
ADD COMMENT
Topic
Name
4+1 =