From 034d5c965ff34cfdf4b153af9f32360a02e35684 Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 14 Jun 2022 00:05:58 -0500 Subject: scorched earth, start over --- src/test/mock/mock_GLFW.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/test/mock/mock_GLFW.c (limited to 'src/test/mock/mock_GLFW.c') diff --git a/src/test/mock/mock_GLFW.c b/src/test/mock/mock_GLFW.c deleted file mode 100644 index f1942fd..0000000 --- a/src/test/mock/mock_GLFW.c +++ /dev/null @@ -1,39 +0,0 @@ -#include "minunit.h" -#include "test/mock_queue.h" -#include "mock_GLFW.h" - -void glfwGetVersion(int *major, int *minor, int *rev) -{ - *major = mock_front(int); - mock_pop(); - *minor = mock_front(int); - mock_pop(); - *rev = mock_front(int); - mock_pop(); -} - - -int glfwInit() -{ - int result = mock_front(int); - mock_pop(); - return result; -} - - -void glfwTerminate() -{ - mock_queue(bool, true); -} - - -int glfwGetError(const char **description) -{ - int error_code = mock_front(int); - mock_pop(); - if (description != NULL) { - *description = mock_front(const char *); - mock_pop(); - } - return error_code; -} -- cgit v1.2.1