tr00per / googletest

Automatically exported from code.google.com/p/googletest
0 stars 0 forks source link

googletest needs a facility to capture standard/error output to verify it #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We need to implement functions to capture statndard/error output to
facilitate testing of code sending information there. Suggested names:
void CaptureTestStdout() - starts interception of text output to standard
output
string GetCapturedTestStdout() - terminates stdout capture and returns
captured text in a string
void CaptureTestStderr() - starts interception of text output to standard
error output
string GetCapturedTestStderr() - terminates stderr capture and returns
captured text in a string

Original issue reported on code.google.com by vladlosev on 23 Jul 2008 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 23 Jul 2008 at 6:36

GoogleCodeExporter commented 9 years ago
Let's wait for a real user scenario.  Otherwise our solution may not be what the
users want.

Original comment by shiq...@gmail.com on 5 Aug 2008 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 16 Sep 2009 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 26 Feb 2010 at 10:27