Flutter Engine
The Flutter Engine
|
Public Member Functions | |
template<class T > | |
T * | GetNativePeer (Dart_Handle handle) |
Public Member Functions inherited from flutter::testing::ShellTest | |
ShellTest () | |
Settings | CreateSettingsForFixture () override |
std::unique_ptr< Shell > | CreateShell (const Settings &settings, std::optional< TaskRunners > task_runners={}) |
std::unique_ptr< Shell > | CreateShell (const Config &config) |
void | DestroyShell (std::unique_ptr< Shell > shell) |
void | DestroyShell (std::unique_ptr< Shell > shell, const TaskRunners &task_runners) |
TaskRunners | GetTaskRunnersForFixture () |
fml::TimePoint | GetLatestFrameTargetTime (Shell *shell) const |
void | SendPlatformMessage (Shell *shell, std::unique_ptr< PlatformMessage > message) |
void | SendEnginePlatformMessage (Shell *shell, std::unique_ptr< PlatformMessage > message) |
std::shared_ptr< txt::FontCollection > | GetFontCollection (Shell *shell) |
Public Member Functions inherited from flutter::testing::FixtureTest | |
FixtureTest () | |
FixtureTest (std::string kernel_filename, std::string elf_filename, std::string elf_split_filename) | |
Public Member Functions inherited from flutter::testing::DartFixture | |
DartFixture () | |
DartFixture (std::string kernel_filename, std::string elf_filename, std::string elf_split_filename) | |
virtual Settings | CreateSettingsForFixture () |
void | AddNativeCallback (const std::string &name, Dart_NativeFunction callback) |
void | AddFfiNativeCallback (const std::string &name, void *callback_ptr) |
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... | |
Public Attributes | |
fml::AutoResetWaitableEvent | message_latch_ |
sk_sp< DisplayList > | current_display_list_ |
sk_sp< DlImage > | current_image_ |
Definition at line 22 of file image_dispose_unittests.cc.
|
inline |
Definition at line 25 of file image_dispose_unittests.cc.
sk_sp<DisplayList> flutter::testing::ImageDisposeTest::current_display_list_ |
Definition at line 36 of file image_dispose_unittests.cc.
Definition at line 37 of file image_dispose_unittests.cc.
fml::AutoResetWaitableEvent flutter::testing::ImageDisposeTest::message_latch_ |
Definition at line 34 of file image_dispose_unittests.cc.