nf7/core/imgui/driver_test.hh
2023-09-23 19:35:49 +09:00

23 lines
493 B
C++

// No copyright
#pragma once
#include "core/imgui/driver.hh"
#include <gmock/gmock.h>
#include "core/gl3/context.hh"
namespace nf7::core::imgui::test {
class DriverMock : public Driver {
public:
using Driver::Driver;
MOCK_METHOD(void, PreUpdate, (gl3::TaskContext&), (noexcept, override));
MOCK_METHOD(void, Update, (gl3::TaskContext&), (noexcept, override));
MOCK_METHOD(void, PostUpdate, (gl3::TaskContext&), (noexcept, override));
};
} // namespace nf7::core::imgui::test