Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Jul 28, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed title: googletest needs a facility to capture standard/error output to verify it

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: OpSys-All, Priority-Low
  • Removed labels: OpSys-OSX, OpSys-Windows, Priority-Medium

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: Priority-Medium
  • Removed labels: Priority-Low

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant