Flutter Engine
flutter_runner::testing::PlatformViewTests Class Reference
Inheritance diagram for flutter_runner::testing::PlatformViewTests:

Protected Member Functions

 PlatformViewTests ()
 
async_dispatcher_t * dispatcher ()
 
void RunLoopUntilIdle ()
 

Detailed Description

Definition at line 152 of file platform_view_unittest.cc.

Constructor & Destructor Documentation

◆ PlatformViewTests()

flutter_runner::testing::PlatformViewTests::PlatformViewTests ( )
inlineprotected

Definition at line 154 of file platform_view_unittest.cc.

154 : loop_(&kAsyncLoopConfigAttachToCurrentThread) {}

Member Function Documentation

◆ dispatcher()

async_dispatcher_t* flutter_runner::testing::PlatformViewTests::dispatcher ( )
inlineprotected

Definition at line 156 of file platform_view_unittest.cc.

156 { return loop_.dispatcher(); }

◆ RunLoopUntilIdle()

void flutter_runner::testing::PlatformViewTests::RunLoopUntilIdle ( )
inlineprotected

Definition at line 158 of file platform_view_unittest.cc.

References FML_DISALLOW_COPY_AND_ASSIGN.

158  {
159  loop_.RunUntilIdle();
160  loop_.ResetQuit();
161  }

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