From cb9cefa4f36b2c6039dcfe111826c7bd453c1b5d Mon Sep 17 00:00:00 2001 From: Christos Stratopoulos Date: Thu, 5 Dec 2019 12:20:44 -0500 Subject: [PATCH] move gtest to newly created support directory --- doc/installation.dox | 2 +- .../{continuable-testing.hpp => support/gtest.hpp} | 6 +++--- test/unit-test/test-continuable.hpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename include/continuable/{continuable-testing.hpp => support/gtest.hpp} (98%) diff --git a/doc/installation.dox b/doc/installation.dox index 9038ca4..d4bc705 100644 --- a/doc/installation.dox +++ b/doc/installation.dox @@ -49,7 +49,7 @@ Continuable is a header-only library with one required header-only dependency: erasure wrapper to convert a \ref continuable_base into a \ref continuable. Additionally GTest is required as optional dependency for the asynchronous -unit testing macros defined in `continuable/continuable-testing.hpp` +unit testing macros defined in `continuable/support/gtest.hpp` if those are used: - [google/googletest](https://github.com/google/googletest) is used as diff --git a/include/continuable/continuable-testing.hpp b/include/continuable/support/gtest.hpp similarity index 98% rename from include/continuable/continuable-testing.hpp rename to include/continuable/support/gtest.hpp index d3bbc81..daf017f 100644 --- a/include/continuable/continuable-testing.hpp +++ b/include/continuable/support/gtest.hpp @@ -28,8 +28,8 @@ SOFTWARE. **/ -#ifndef CONTINUABLE_TESTING_HPP_INCLUDED -#define CONTINUABLE_TESTING_HPP_INCLUDED +#ifndef CONTINUABLE_GTEST_HPP_INCLUDED +#define CONTINUABLE_GTEST_HPP_INCLUDED #include #include @@ -169,4 +169,4 @@ /// \} -#endif // CONTINUABLE_TESTING_HPP_INCLUDED +#endif // CONTINUABLE_GTEST_HPP_INCLUDED diff --git a/test/unit-test/test-continuable.hpp b/test/unit-test/test-continuable.hpp index 11aa0c0..6df04a4 100644 --- a/test/unit-test/test-continuable.hpp +++ b/test/unit-test/test-continuable.hpp @@ -31,8 +31,8 @@ #include #include -#include #include +#include #include using cti::detail::identity;