Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::OncePerBackendWarning Class Reference

Public Member Functions

 OncePerBackendWarning (const std::string &warning)
 
void warn (const std::string &name)
 

Detailed Description

Definition at line 211 of file dl_rendering_unittests.cc.

Constructor & Destructor Documentation

◆ OncePerBackendWarning()

flutter::testing::OncePerBackendWarning::OncePerBackendWarning ( const std::string &  warning)
inlineexplicit

Definition at line 213 of file dl_rendering_unittests.cc.

214 : warning_(warning) {}

Member Function Documentation

◆ warn()

void flutter::testing::OncePerBackendWarning::warn ( const std::string &  name)
inline

Definition at line 216 of file dl_rendering_unittests.cc.

216 {
217 if (warnings_sent_.find(name) == warnings_sent_.end()) {
218 warnings_sent_.insert(name);
219 FML_LOG(INFO) << warning_ << " on " << name;
220 }
221 }
#define FML_LOG(severity)
Definition: logging.h:82
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

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