Flutter Engine
 
Loading...
Searching...
No Matches
fml::testing::LogCapture Struct Reference

#include <logging.h>

Public Member Functions

 LogCapture ()
 
 ~LogCapture ()
 
std::string str () const
 

Detailed Description

Definition at line 16 of file logging.h.

Constructor & Destructor Documentation

◆ LogCapture()

fml::testing::LogCapture::LogCapture ( )

Definition at line 114 of file logging.cc.

114 {
116}
static void CaptureNextLog(std::ostringstream *stream)
Definition logging.cc:129

References fml::LogMessage::CaptureNextLog().

◆ ~LogCapture()

fml::testing::LogCapture::~LogCapture ( )

Definition at line 118 of file logging.cc.

118 {
120}

References fml::LogMessage::CaptureNextLog().

Member Function Documentation

◆ str()

std::string fml::testing::LogCapture::str ( ) const

Definition at line 122 of file logging.cc.

122 {
123 return stream_.str();
124}

Referenced by fml::testing::TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and impeller::testing::TEST_P().


The documentation for this struct was generated from the following files: