summaryrefslogtreecommitdiff
path: root/test/buildtool/serve_api
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-11-14 09:44:47 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-11-14 14:23:06 +0100
commit9c3d4539b820b34ca112dedbaf2ed5262c003ace (patch)
treef304adf8c9584bf434224620b91860502eb87e15 /test/buildtool/serve_api
parent506ffd3bd96da9bac18f377822ca4f2954f75f71 (diff)
downloadjustbuild-9c3d4539b820b34ca112dedbaf2ed5262c003ace.tar.gz
tests: Implement IWYU suggestions
Diffstat (limited to 'test/buildtool/serve_api')
-rw-r--r--test/buildtool/serve_api/TARGETS4
-rw-r--r--test/buildtool/serve_api/source_tree_client.test.cpp6
2 files changed, 10 insertions, 0 deletions
diff --git a/test/buildtool/serve_api/TARGETS b/test/buildtool/serve_api/TARGETS
index 89e2379c..9e2738f8 100644
--- a/test/buildtool/serve_api/TARGETS
+++ b/test/buildtool/serve_api/TARGETS
@@ -5,14 +5,18 @@
, "data": [["buildtool/file_system", "test_data"]]
, "private-deps":
[ ["@", "catch2", "", "catch2"]
+ , ["@", "gsl", "", "gsl"]
, ["@", "src", "src/buildtool/auth", "auth"]
, ["@", "src", "src/buildtool/common", "protocol_traits"]
+ , ["@", "src", "src/buildtool/common/remote", "remote_common"]
, ["@", "src", "src/buildtool/common/remote", "retry_config"]
, ["@", "src", "src/buildtool/crypto", "hash_function"]
, ["@", "src", "src/buildtool/execution_api/remote", "config"]
, ["@", "src", "src/buildtool/execution_api/remote", "context"]
+ , ["@", "src", "src/buildtool/file_system", "git_types"]
, ["@", "src", "src/buildtool/serve_api/remote", "config"]
, ["@", "src", "src/buildtool/serve_api/remote", "source_tree_client"]
+ , ["@", "src", "src/utils/cpp", "expected"]
, ["utils", "catch-main-serve"]
, ["utils", "test_hash_function_type"]
, ["utils", "test_serve_config"]
diff --git a/test/buildtool/serve_api/source_tree_client.test.cpp b/test/buildtool/serve_api/source_tree_client.test.cpp
index 8ada1317..f5428af8 100644
--- a/test/buildtool/serve_api/source_tree_client.test.cpp
+++ b/test/buildtool/serve_api/source_tree_client.test.cpp
@@ -14,17 +14,23 @@
#include "src/buildtool/serve_api/remote/source_tree_client.hpp"
+#include <optional>
#include <string>
#include <variant>
+#include <vector>
#include "catch2/catch_test_macros.hpp"
+#include "gsl/gsl"
#include "src/buildtool/auth/authentication.hpp"
#include "src/buildtool/common/protocol_traits.hpp"
+#include "src/buildtool/common/remote/remote_common.hpp"
#include "src/buildtool/common/remote/retry_config.hpp"
#include "src/buildtool/crypto/hash_function.hpp"
#include "src/buildtool/execution_api/remote/config.hpp"
#include "src/buildtool/execution_api/remote/context.hpp"
+#include "src/buildtool/file_system/git_types.hpp"
#include "src/buildtool/serve_api/remote/config.hpp"
+#include "src/utils/cpp/expected.hpp"
#include "test/utils/hermeticity/test_hash_function_type.hpp"
#include "test/utils/serve_service/test_serve_config.hpp"