Advertisement
Guest User

Untitled

a guest
Mar 11th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. #ifndef GLFW_API_MOCK_H_
  2. #define GLFW_API_MOCK_H_
  3.  
  4. #include "api/glfw_api_interface.h"
  5. #include <gmock/gmock.h>
  6.  
  7. class GlfwApiMock : public GlfwApiInterface {
  8.   public:
  9.     MOCK_METHOD0(glfwGetTime, double());
  10.     MOCK_METHOD1(glfwSetWindowTitle, void(const char*));
  11.     MOCK_METHOD0(glfwSwapBuffers, void());
  12.     MOCK_METHOD2(glfwOpenWindowHint, void(int, int));
  13.     MOCK_METHOD1(glfwGetWindowParam, int(int));
  14.     MOCK_METHOD9(glfwOpenWindow, int(int, int, int, int, int, int, int, int,
  15.         int));
  16. };
  17.  
  18. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement