Gazebo Common

API Reference

5.7.0
RedirectConsoleStream.hh File Reference
#include <string>
#include <gz/utils/ImplPtr.hh>
#include <gz/common/testing/TestPaths.hh>
#include "gz/common/testing/Export.hh"

Go to the source code of this file.

Classes

class  RedirectConsoleStream
 

Namespaces

 testing
 

Enumerations

enum class  StreamSource { STDOUT , STDERR }
 

Functions

RedirectConsoleStream RedirectStderr ()
 Redirect standard error to a test-specific temporary path. More...
 
RedirectConsoleStream RedirectStdout ()
 Redirect standard out to a test-specific temporary path. More...