From 3534cd206bedef5ea75302d9abf879b15d1df89c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 6 May 2024 13:30:17 +0200 Subject: test: speed up compile time Removes implicit includes to and from all files. Goes from 30 to 20 seconds. --- test/json.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/json.cpp') diff --git a/test/json.cpp b/test/json.cpp index 372465b5..e9ed166f 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -15,7 +15,7 @@ namespace floormat { -void test_app::test_json() // NOLINT(readability-convert-member-functions-to-static) +void Test::test_json() // NOLINT(readability-convert-member-functions-to-static) { fm_assert(Path::exists(Path::join(loader.TEMP_PATH, "CMakeCache.txt"))); const auto output_dir = Path::join(loader.TEMP_PATH, "test/."_s); @@ -32,7 +32,7 @@ void test_app::test_json() // NOLINT(readability-convert-member-functions-to-sta } } -void test_app::test_json2() +void Test::test_json2() { fm_assert(Path::exists(Path::join(loader.TEMP_PATH, "CMakeCache.txt"))); const auto output_dir = Path::join(loader.TEMP_PATH, "test/."_s); @@ -42,7 +42,7 @@ void test_app::test_json2() atlas2->serialize(Path::join(output_dir, "atlas2.json")); } -void test_app::test_json3() +void Test::test_json3() { fm_assert(Path::exists(Path::join(loader.TEMP_PATH, "CMakeCache.txt"))); const auto output_dir = Path::join(loader.TEMP_PATH, "test/."_s); -- cgit v1.2.3