From af337be7fe77693773d03fe26ec33af0c954594c Mon Sep 17 00:00:00 2001 From: Eric Paniagua Date: Mon, 31 Aug 2020 22:04:27 -0700 Subject: [PATCH] Minor refactor of fake-gtest. Signed-off-by: Eric Paniagua --- fake-gtest/src/fake-gtest.h | 2 -- fake-gtest/src/googletest.h | 2 ++ testing/hello-simulator/hello-simulator_test.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 fake-gtest/src/fake-gtest.h create mode 100644 fake-gtest/src/googletest.h diff --git a/fake-gtest/src/fake-gtest.h b/fake-gtest/src/fake-gtest.h deleted file mode 100644 index 1f2271c1..00000000 --- a/fake-gtest/src/fake-gtest.h +++ /dev/null @@ -1,2 +0,0 @@ -#pragma once -// Fake file to trick arduino-builder into working. diff --git a/fake-gtest/src/googletest.h b/fake-gtest/src/googletest.h new file mode 100644 index 00000000..02cab892 --- /dev/null +++ b/fake-gtest/src/googletest.h @@ -0,0 +1,2 @@ +#include "gtest/gtest.h" +#include "gmock/gmock.h" diff --git a/testing/hello-simulator/hello-simulator_test.h b/testing/hello-simulator/hello-simulator_test.h index 7d4e7240..00639e43 100644 --- a/testing/hello-simulator/hello-simulator_test.h +++ b/testing/hello-simulator/hello-simulator_test.h @@ -23,8 +23,7 @@ #undef T #undef U -#include "fake-gtest.h" -#include "gtest/gtest.h" +#include "googletest.h" #include "Kaleidoscope-Simulator.h"