5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_EGL_MOCK_WINDOW_SURFACE_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_EGL_MOCK_WINDOW_SURFACE_H_
8#include "flutter/fml/macros.h"
9#include "flutter/shell/platform/windows/egl/window_surface.h"
10#include "gmock/gmock.h"
20 :
WindowSurface(EGL_NO_DISPLAY, EGL_NO_CONTEXT, EGL_NO_SURFACE, 0, 0) {}
virtual bool IsValid() const
virtual bool SwapBuffers() const
virtual bool MakeCurrent() const
virtual bool SetVSyncEnabled(bool enabled)
Mock for the |WindowSurface| base class.
MOCK_METHOD(bool, SetVSyncEnabled,(bool),(override))
MOCK_METHOD(bool, SwapBuffers,(),(const, override))
MOCK_METHOD(bool, MakeCurrent,(),(const, override))
MOCK_METHOD(bool, Destroy,(),(override))
MOCK_METHOD(bool, IsValid,(),(const, override))