Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef GLFW_API_MOCK_H_
- #define GLFW_API_MOCK_H_
- #include "api/glfw_api_interface.h"
- #include <gmock/gmock.h>
- class GlfwApiMock : public GlfwApiInterface {
- public:
- MOCK_METHOD0(glfwGetTime, double());
- MOCK_METHOD1(glfwSetWindowTitle, void(const char*));
- MOCK_METHOD0(glfwSwapBuffers, void());
- MOCK_METHOD2(glfwOpenWindowHint, void(int, int));
- MOCK_METHOD1(glfwGetWindowParam, int(int));
- MOCK_METHOD9(glfwOpenWindow, int(int, int, int, int, int, int, int, int,
- int));
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement