#include "flutter/shell/platform/linux/fl_display_monitor.h"
#include "flutter/shell/platform/embedder/test_utils/proc_table_replacement.h"
#include "flutter/shell/platform/linux/fl_engine_private.h"
#include "gtest/gtest.h"
Go to the source code of this file.
|
| TEST (FlDisplayMonitorTest, Test) |
|
◆ TEST()
TEST |
( |
FlDisplayMonitorTest |
, |
|
|
Test |
|
|
) |
| |
Definition at line 11 of file fl_display_monitor_test.cc.
15 g_autoptr(GError)
error =
nullptr;
17 EXPECT_EQ(
error,
nullptr);
22 ([&called](
auto engine, FlutterEngineDisplaysUpdateType update_type,
23 const FlutterEngineDisplay* displays,
size_t displays_length) {
26 EXPECT_EQ(displays_length, 1u);
31 g_autoptr(FlDisplayMonitor) monitor =
G_MODULE_EXPORT FlDartProject * fl_dart_project_new()
void fl_display_monitor_start(FlDisplayMonitor *self)
FlDisplayMonitor * fl_display_monitor_new(FlEngine *engine, GdkDisplay *display)
FlutterEngineProcTable * fl_engine_get_embedder_api(FlEngine *self)
gboolean fl_engine_start(FlEngine *self, GError **error)
G_MODULE_EXPORT FlEngine * fl_engine_new(FlDartProject *project)
const uint8_t uint32_t uint32_t GError ** error
References error, fl_dart_project_new(), fl_display_monitor_new(), fl_display_monitor_start(), fl_engine_get_embedder_api(), fl_engine_new(), and fl_engine_start().