5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONFIG_BUILDER_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_WINDOWS_TEST_CONFIG_BUILDER_H_
29using EnginePtr = std::unique_ptr<FlutterDesktopEngine, EngineDeleter>;
41 std::unique_ptr<FlutterDesktopViewController, ViewControllerDeleter>;
88 void InitializeCOM()
const;
91 std::string dart_entrypoint_;
92 std::vector<std::string> dart_entrypoint_arguments_;
FlutterDesktopEngineProperties GetEngineProperties() const
EnginePtr InitializeEngine() const
void SetDartEntrypoint(std::string_view entrypoint)
void AddDartEntrypointArgument(std::string_view arg)
EnginePtr RunHeadless() const
void SetUIThreadPolicy(FlutterDesktopUIThreadPolicy policy)
void SetGpuPreference(FlutterDesktopGpuPreference gpu_preference)
ViewControllerPtr Run() const
struct FlutterDesktopViewController * FlutterDesktopViewControllerRef
FlutterDesktopUIThreadPolicy
FlutterDesktopGpuPreference
#define FML_CHECK(condition)
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
std::unique_ptr< FlutterDesktopEngine, EngineDeleter > EnginePtr
std::unique_ptr< FlutterDesktopViewController, ViewControllerDeleter > ViewControllerPtr
it will be possible to load the file into Perfetto s trace viewer use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network policy
void operator()(FlutterDesktopEngineRef engine)
FlutterDesktopEngineRef pointer
FlutterDesktopViewControllerRef pointer
void operator()(FlutterDesktopViewControllerRef controller)
void FlutterDesktopViewControllerDestroy(FlutterDesktopViewControllerRef controller)
bool FlutterDesktopEngineDestroy(FlutterDesktopEngineRef engine_ref)