gem5  v21.1.0.2
Public Member Functions | Private Attributes | List of all members
LoggingFixture Class Reference

Temporarily redirects cerr to gtestLogOutput. More...

Inheritance diagram for LoggingFixture:

Public Member Functions

void SetUp () override
 
void TearDown () override
 

Private Attributes

std::streambuf * old
 Used to restore cerr's streambuf. More...
 

Detailed Description

Temporarily redirects cerr to gtestLogOutput.

Definition at line 38 of file logging.test.cc.

Member Function Documentation

◆ SetUp()

void LoggingFixture::SetUp ( )
inlineoverride

Definition at line 41 of file logging.test.cc.

References gem5::gtestLogOutput.

◆ TearDown()

void LoggingFixture::TearDown ( )
inlineoverride

Definition at line 42 of file logging.test.cc.

Member Data Documentation

◆ old

std::streambuf* LoggingFixture::old
private

Used to restore cerr's streambuf.

Definition at line 46 of file logging.test.cc.


The documentation for this class was generated from the following file:

Generated on Tue Sep 21 2021 12:27:01 for gem5 by doxygen 1.8.17