#include <wayland-client.h>
#include "gtest/gtest.h"
#include "flutter/shell/platform/linux/fl_wayland_display.h"
#include "flutter/shell/platform/linux/testing/wayland_test.h"
Go to the source code of this file.
◆ TEST_F() [1/5]
Definition at line 38 of file fl_subsurface_test.cc.
40 EXPECT_CALL(wayland, CreateObject(::testing::StrEq(
"wl_surface")));
41 EXPECT_CALL(wayland, CreateObject(::testing::StrEq(
"wl_subsurface")));
g_autoptr(FlEngine) engine
struct wl_surface * fl_subsurface_get_surface(FlSubsurface *self)
G_BEGIN_DECLS FlSubsurface * subsurface
References fl_subsurface_get_surface(), g_autoptr(), and subsurface.
◆ TEST_F() [2/5]
Definition at line 84 of file fl_subsurface_test.cc.
88 EXPECT_CALL(wayland, DestroyObject(::testing::StrEq(
"wl_subsurface")));
89 EXPECT_CALL(wayland, DestroyObject(::testing::StrEq(
"wl_surface")));
References subsurface.
◆ TEST_F() [3/5]
Definition at line 50 of file fl_subsurface_test.cc.
51 ::testing::InSequence sequence;
52 EXPECT_CALL(wayland, CreateObject(::testing::StrEq(
"wl_region")));
53 EXPECT_CALL(wayland, Request(::testing::StrEq(
"wl_surface"),
54 WL_SURFACE_SET_INPUT_REGION));
55 EXPECT_CALL(wayland, DestroyObject(::testing::StrEq(
"wl_region")));
References g_autoptr(), and subsurface.
◆ TEST_F() [4/5]
◆ TEST_F() [5/5]