Gazebo Common

API Reference

6.0.1
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

namespace  testing
 

Enumerations

enum class  StreamSource { STDOUT , STDERR }
 

Functions

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