diff --git a/src/gz-util.hpp b/src/gz-util.hpp new file mode 100644 index 0000000..9c7d52f --- /dev/null +++ b/src/gz-util.hpp @@ -0,0 +1,18 @@ +#pragma once + +/** + * @file + * @brief Includes all headers from this library + * @details + * Not recommended - this is mainly used for testing the library. + */ + +#include "settings_manager.hpp" +#include "log.hpp" +#include "string/conversion.hpp" +#include "string/utility.hpp" + +#include "regex.hpp" +#include "concepts.hpp" +#include "container/queue.hpp" +#include "container/ringbuffer.hpp" diff --git a/src/testing.cpp b/src/testing.cpp new file mode 100644 index 0000000..416ca45 --- /dev/null +++ b/src/testing.cpp @@ -0,0 +1,11 @@ +#ifdef GZ_UTIL_TESTING +#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN +#include +#include "gz-util.hpp" +#endif + + +/** + * @file + * @brief Includes all headers and implements `main` for testing + */