|
| enum | ServiceProtocolEnum {
kGetSkSLs
,
kEstimateRasterCacheMemory
,
kSetAssetBundlePath
,
kRunInView
} |
| |
| | 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 | SendSemanticsAction (Shell *shell, int64_t view_id, int32_t node_id, SemanticsAction action, fml::MallocMapping args) |
| |
| void | SendEnginePlatformMessage (Shell *shell, std::unique_ptr< PlatformMessage > message) |
| |
| std::shared_ptr< txt::FontCollection > | GetFontCollection (Shell *shell) |
| |
| | FixtureTest () |
| |
| | FixtureTest (std::string kernel_filename, std::string elf_filename, std::string elf_split_filename) |
| |
| | DartFixture () |
| |
| | DartFixture (std::string kernel_filename, std::string elf_filename, std::string elf_split_filename) |
| |
| void | AddNativeCallback (const std::string &name, Dart_NativeFunction callback) |
| |
| void | AddFfiNativeCallback (const std::string &name, void *callback_ptr) |
| |
| | 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.
|
| |
| 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.
|
| |
| static void | PlatformViewNotifyCreated (Shell *shell) |
| |
| static void | PlatformViewNotifyDestroyed (Shell *shell) |
| |
| static void | RunEngine (Shell *shell, RunConfiguration configuration) |
| |
| static void | RestartEngine (Shell *shell, RunConfiguration configuration) |
| |
| static void | VSyncFlush (Shell *shell, bool *will_draw_new_frame=nullptr) |
| |
| static void | SetViewportMetrics (Shell *shell, double width, double height) |
| |
| static void | NotifyIdle (Shell *shell, fml::TimeDelta deadline) |
| |
| static void | PumpOneFrame (Shell *shell) |
| |
| static void | PumpOneFrame (Shell *shell, FrameContent frame_content) |
| |
| static void | DispatchFakePointerData (Shell *shell, double x) |
| |
| static void | DispatchPointerData (Shell *shell, std::unique_ptr< PointerDataPacket > packet) |
| |
| static bool | GetNeedsReportTimings (Shell *shell) |
| |
| static void | SetNeedsReportTimings (Shell *shell, bool value) |
| |
| static void | StorePersistentCache (PersistentCache *cache, const SkData &key, const SkData &value) |
| |
| static bool | IsAnimatorRunning (Shell *shell) |
| |
| static void | OnServiceProtocol (Shell *shell, ServiceProtocolEnum some_protocol, const fml::RefPtr< fml::TaskRunner > &task_runner, const ServiceProtocol::Handler::ServiceProtocolMap ¶ms, rapidjson::Document *response) |
| |
| static int | UnreportedTimingsCount (Shell *shell) |
| |
| static void | TurnOffGPU (Shell *shell, bool value) |
| |
| static bool | ShouldDiscardLayerTree (Shell *shell, int64_t view_id, const flutter::LayerTree &tree) |
| |
Definition at line 33 of file shell_fuchsia_unittests.cc.