diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-11-14 09:44:47 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-11-14 14:23:06 +0100 |
commit | 9c3d4539b820b34ca112dedbaf2ed5262c003ace (patch) | |
tree | f304adf8c9584bf434224620b91860502eb87e15 /test/utils/cpp | |
parent | 506ffd3bd96da9bac18f377822ca4f2954f75f71 (diff) | |
download | justbuild-9c3d4539b820b34ca112dedbaf2ed5262c003ace.tar.gz |
tests: Implement IWYU suggestions
Diffstat (limited to 'test/utils/cpp')
-rw-r--r-- | test/utils/cpp/file_locking.test.cpp | 2 | ||||
-rw-r--r-- | test/utils/cpp/path.test.cpp | 1 | ||||
-rw-r--r-- | test/utils/cpp/path_rebase.test.cpp | 3 | ||||
-rw-r--r-- | test/utils/cpp/prefix.test.cpp | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/test/utils/cpp/file_locking.test.cpp b/test/utils/cpp/file_locking.test.cpp index b5e38a9c..45b2a056 100644 --- a/test/utils/cpp/file_locking.test.cpp +++ b/test/utils/cpp/file_locking.test.cpp @@ -14,10 +14,10 @@ #include "src/utils/cpp/file_locking.hpp" -#include <atomic> #include <chrono> #include <cstdlib> #include <filesystem> +#include <optional> #include <string> #include <thread> #include <vector> diff --git a/test/utils/cpp/path.test.cpp b/test/utils/cpp/path.test.cpp index ecfc64c1..b0d67499 100644 --- a/test/utils/cpp/path.test.cpp +++ b/test/utils/cpp/path.test.cpp @@ -15,6 +15,7 @@ #include "src/utils/cpp/path.hpp" #include <filesystem> +#include <string> #include "catch2/catch_test_macros.hpp" diff --git a/test/utils/cpp/path_rebase.test.cpp b/test/utils/cpp/path_rebase.test.cpp index fe62e0be..d0d0b7e7 100644 --- a/test/utils/cpp/path_rebase.test.cpp +++ b/test/utils/cpp/path_rebase.test.cpp @@ -14,6 +14,9 @@ #include "src/utils/cpp/path_rebase.hpp" +#include <string> +#include <vector> + #include "catch2/catch_test_macros.hpp" TEST_CASE("rebase", "[path_rebase]") { diff --git a/test/utils/cpp/prefix.test.cpp b/test/utils/cpp/prefix.test.cpp index ae47c93d..5ddd9754 100644 --- a/test/utils/cpp/prefix.test.cpp +++ b/test/utils/cpp/prefix.test.cpp @@ -14,7 +14,7 @@ #include "src/utils/cpp/prefix.hpp" -#include <filesystem> +#include <string> #include "catch2/catch_test_macros.hpp" |