Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
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 94 of file logging.cc.

94 {
96}
static void CaptureNextLog(std::ostringstream *stream)
Definition logging.cc:109

References fml::LogMessage::CaptureNextLog().

◆ ~LogCapture()

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

Definition at line 98 of file logging.cc.

98 {
100}

References fml::LogMessage::CaptureNextLog().

Member Function Documentation

◆ str()

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

Definition at line 102 of file logging.cc.

102 {
103 return stream_.str();
104}

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: