Mock for the |WindowSurface| base class.
More...
#include <mock_window_surface.h>
|
| MockWindowSurface () |
|
| MOCK_METHOD (bool, IsValid,(),(const, override)) |
|
| MOCK_METHOD (bool, Destroy,(),(override)) |
|
| MOCK_METHOD (bool, MakeCurrent,(),(const, override)) |
|
| MOCK_METHOD (bool, SwapBuffers,(),(const, override)) |
|
| MOCK_METHOD (bool, SetVSyncEnabled,(bool),(override)) |
|
| WindowSurface (EGLDisplay display, EGLContext context, EGLSurface surface, size_t width, size_t height) |
|
virtual bool | SetVSyncEnabled (bool enabled) |
|
virtual size_t | width () const |
|
virtual size_t | height () const |
|
virtual bool | vsync_enabled () const |
|
| Surface (EGLDisplay display, EGLContext context, EGLSurface surface) |
|
virtual | ~Surface () |
|
virtual bool | Destroy () |
|
virtual bool | IsValid () const |
|
virtual bool | IsCurrent () const |
|
virtual bool | MakeCurrent () const |
|
virtual bool | SwapBuffers () const |
|
virtual const EGLSurface & | GetHandle () const |
|
Mock for the |WindowSurface| base class.
Definition at line 17 of file mock_window_surface.h.
◆ MockWindowSurface()
flutter::testing::egl::MockWindowSurface::MockWindowSurface |
( |
| ) |
|
|
inline |
Definition at line 19 of file mock_window_surface.h.
20 :
WindowSurface(EGL_NO_DISPLAY, EGL_NO_CONTEXT, EGL_NO_SURFACE, 0, 0) {}
WindowSurface(EGLDisplay display, EGLContext context, EGLSurface surface, size_t width, size_t height)
◆ MOCK_METHOD() [1/5]
flutter::testing::egl::MockWindowSurface::MOCK_METHOD |
( |
bool |
, |
|
|
Destroy |
, |
|
|
() |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [2/5]
flutter::testing::egl::MockWindowSurface::MOCK_METHOD |
( |
bool |
, |
|
|
IsValid |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
◆ MOCK_METHOD() [3/5]
flutter::testing::egl::MockWindowSurface::MOCK_METHOD |
( |
bool |
, |
|
|
MakeCurrent |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
◆ MOCK_METHOD() [4/5]
flutter::testing::egl::MockWindowSurface::MOCK_METHOD |
( |
bool |
, |
|
|
SetVSyncEnabled |
, |
|
|
(bool) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [5/5]
flutter::testing::egl::MockWindowSurface::MOCK_METHOD |
( |
bool |
, |
|
|
SwapBuffers |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
The documentation for this class was generated from the following file: