Skip to content

Commit 4f6ca64

Browse files
committed
chore: tidy up test source structure
1 parent 21ec7ae commit 4f6ca64

14 files changed

+6
-6
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ if (MRDOX_BUILD_TESTS)
241241
# Unit tests
242242
#-------------------------------------------------
243243
include(CTest)
244-
file(GLOB_RECURSE TEST_SUITE_FILES CONFIGURE_DEPENDS src/test/test_suite/*.cpp src/test/test_suite/*.hpp)
245-
file(GLOB_RECURSE UNIT_TEST_SOURCES CONFIGURE_DEPENDS src/test/unit/*.cpp src/test/unit/*.hpp)
244+
file(GLOB_RECURSE TEST_SUITE_FILES CONFIGURE_DEPENDS src/test_suite/*.cpp src/test_suite/*.hpp)
245+
file(GLOB_RECURSE UNIT_TEST_SOURCES CONFIGURE_DEPENDS src/test/lib/*.cpp src/test/lib/*.hpp)
246246
add_executable(mrdox-test ${TEST_SUITE_FILES} ${UNIT_TEST_SOURCES})
247247
target_include_directories(mrdox-test
248248
PRIVATE

src/test/unit/Support/Handlebars.cpp renamed to src/test/lib/Support/Handlebars.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// https://www.boost.org/LICENSE_1_0.txt
66
//
77

8-
#include <test/test_suite/detail/decomposer.hpp>
9-
#include <test/test_suite/diff.hpp>
10-
#include <test/test_suite/test_suite.hpp>
8+
#include <test_suite/detail/decomposer.hpp>
9+
#include <test_suite/diff.hpp>
10+
#include <test_suite/test_suite.hpp>
1111
#include <ranges>
1212
#include <fmt/format.h>
1313
#include <mrdox/Support/Dom.hpp>

src/test/unit/Support/Path.cpp renamed to src/test/lib/Support/Path.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010

1111
#include "lib/Support/Path.hpp"
12-
#include <test/test_suite/test_suite.hpp>
12+
#include <test_suite/test_suite.hpp>
1313

1414
namespace clang {
1515
namespace mrdox {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)