Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::LogTestHelper Class Reference
Inheritance diagram for dart::LogTestHelper:
dart::AllStatic

Static Public Member Functions

static void SetPrinter (Log *log, LogPrinter printer)
 
static void FreeTestOutput ()
 

Detailed Description

Definition at line 33 of file log_test.cc.

Member Function Documentation

◆ FreeTestOutput()

static void dart::LogTestHelper::FreeTestOutput ( )
inlinestatic

Definition at line 41 of file log_test.cc.

41 {
42 if (test_output_ != nullptr) {
43 free(const_cast<char*>(test_output_));
44 test_output_ = nullptr;
45 }
46 }
static const char * test_output_
Definition: log_test.cc:20

◆ SetPrinter()

static void dart::LogTestHelper::SetPrinter ( Log log,
LogPrinter  printer 
)
inlinestatic

Definition at line 35 of file log_test.cc.

35 {
36 ASSERT(log != nullptr);
37 ASSERT(printer != nullptr);
38 log->printer_ = printer;
39 }
#define ASSERT(E)

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