Flutter Engine
The Flutter Engine
|
#include <embedder_test.h>
Public Member Functions | |
EmbedderTest () | |
std::string | GetFixturesDirectory () const |
EmbedderTestContext & | GetEmbedderContext (EmbedderTestContextType type) |
Public Member Functions inherited from flutter::testing::ThreadTest | |
ThreadTest () | |
fml::RefPtr< fml::TaskRunner > | GetCurrentTaskRunner () |
Get the task runner for the thread that the current unit-test is running on. This creates a message loop as necessary. More... | |
fml::RefPtr< fml::TaskRunner > | CreateNewThread (const std::string &name="") |
Creates a new thread, initializes a message loop on it, and, returns its task runner to the unit-test. The message loop is terminated (and its thread joined) when the test ends. This allows tests to create multiple named threads as necessary. More... | |
Definition at line 20 of file embedder_test.h.
|
default |
EmbedderTestContext & flutter::testing::EmbedderTest::GetEmbedderContext | ( | EmbedderTestContextType | type | ) |
Definition at line 29 of file embedder_test.cc.
std::string flutter::testing::EmbedderTest::GetFixturesDirectory | ( | ) | const |
Definition at line 25 of file embedder_test.cc.