summaryrefslogtreecommitdiff
path: root/test/buildtool/graph_traverser
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-04-04 16:34:29 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-04-08 15:19:50 +0200
commite047c360dcc5cbdc01ee19a1b755bb70d883e41c (patch)
tree446072ded32f88c1e77d047d27f9fbde6e1825be /test/buildtool/graph_traverser
parent65fc11ff28e6dd29a95391b6700a02d277b539c6 (diff)
downloadjustbuild-e047c360dcc5cbdc01ee19a1b755bb70d883e41c.tar.gz
test: Add missing includes and fix deps
Diffstat (limited to 'test/buildtool/graph_traverser')
-rw-r--r--test/buildtool/graph_traverser/TARGETS1
-rw-r--r--test/buildtool/graph_traverser/graph_traverser.test.hpp6
2 files changed, 7 insertions, 0 deletions
diff --git a/test/buildtool/graph_traverser/TARGETS b/test/buildtool/graph_traverser/TARGETS
index 77e29e2a..d66ad96a 100644
--- a/test/buildtool/graph_traverser/TARGETS
+++ b/test/buildtool/graph_traverser/TARGETS
@@ -4,6 +4,7 @@
, "hdrs": ["graph_traverser.test.hpp"]
, "deps":
[ ["@", "catch2", "", "catch2"]
+ , ["@", "json", "", "json"]
, ["@", "src", "src/buildtool/common", "common"]
, ["@", "src", "src/buildtool/execution_api/local", "config"]
, ["@", "src", "src/buildtool/file_system", "file_system_manager"]
diff --git a/test/buildtool/graph_traverser/graph_traverser.test.hpp b/test/buildtool/graph_traverser/graph_traverser.test.hpp
index 7e060d09..2ec011d4 100644
--- a/test/buildtool/graph_traverser/graph_traverser.test.hpp
+++ b/test/buildtool/graph_traverser/graph_traverser.test.hpp
@@ -15,11 +15,17 @@
#ifndef INCLUDED_SRC_TEST_BUILDTOOL_GRAPH_GRAVERSER_GRAPH_TRAVERSER_TEST_HPP
#define INCLUDED_SRC_TEST_BUILDTOOL_GRAPH_GRAVERSER_GRAPH_TRAVERSER_TEST_HPP
+#include <chrono>
+#include <cstdlib>
#include <filesystem>
#include <sstream>
+#include <string>
+#include <thread>
#include <utility>
+#include <vector>
#include "catch2/catch_test_macros.hpp"
+#include "nlohmann/json.hpp"
#include "src/buildtool/common/statistics.hpp"
#include "src/buildtool/execution_api/local/config.hpp"
#include "src/buildtool/file_system/file_system_manager.hpp"