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

[testing] Extract StreamCapture test utility #47774

Merged
merged 1 commit into from
Nov 8, 2023

Commits on Nov 8, 2023

  1. [testing] Extract StreamCapture test utility

    Factors out an RAII-based class that can be used to capture std::cout,
    std::cerr, or technically any other std::ostream, though that's unlikely
    to be useful.
    
    This makes the logic reusable but more importantly, ensures the capture
    is cleaned up at the end of the test.
    cbracken committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    e2bd6c4 View commit details
    Browse the repository at this point in the history