Flutter Linux Embedder
FlSubsurfaceTest Class Reference
Inheritance diagram for FlSubsurfaceTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
FlSubsurface * CreateSubsurface ()
 

Detailed Description

Definition at line 16 of file fl_subsurface_test.cc.

Member Function Documentation

◆ CreateSubsurface()

FlSubsurface* FlSubsurfaceTest::CreateSubsurface ( )
inlineprotected

Definition at line 29 of file fl_subsurface_test.cc.

29  {
30  return fl_wayland_display_create_subsurface(display_, parent_surface_);
31  }
FlSubsurface * fl_wayland_display_create_subsurface(FlWaylandDisplay *self, struct wl_surface *parent_surface)

References fl_wayland_display_create_subsurface().

◆ SetUp()

void FlSubsurfaceTest::SetUp ( )
inlineoverrideprotected

Definition at line 18 of file fl_subsurface_test.cc.

18  {
19  display_ = fl_wayland_display_open(fl_mock_wayland_get_display());
20  ASSERT_NE(display_, nullptr);
21  parent_surface_ = fl_mock_wayland_get_surface();
22  }
FlWaylandDisplay * fl_wayland_display_open(struct wl_display *wl_display)

References fl_wayland_display_open().

◆ TearDown()

void FlSubsurfaceTest::TearDown ( )
inlineoverrideprotected

Definition at line 24 of file fl_subsurface_test.cc.

24  {
25  g_clear_object(&display_);
26  fl_mock_wayland_free_surface(parent_surface_);
27  }

The documentation for this class was generated from the following file: