summaryrefslogtreecommitdiff
path: root/test/other_tools/git_operations
diff options
context:
space:
mode:
Diffstat (limited to 'test/other_tools/git_operations')
-rw-r--r--test/other_tools/git_operations/TARGETS2
-rw-r--r--test/other_tools/git_operations/critical_git_ops.test.cpp8
-rw-r--r--test/other_tools/git_operations/git_config_run.test.cpp2
-rw-r--r--test/other_tools/git_operations/git_repo_remote.test.cpp7
4 files changed, 19 insertions, 0 deletions
diff --git a/test/other_tools/git_operations/TARGETS b/test/other_tools/git_operations/TARGETS
index 41f9df1c..9fa94906 100644
--- a/test/other_tools/git_operations/TARGETS
+++ b/test/other_tools/git_operations/TARGETS
@@ -6,6 +6,7 @@
, "private-deps":
[ ["@", "catch2", "", "catch2"]
, ["", "catch-main"]
+ , ["@", "fmt", "", "fmt"]
, ["@", "json", "", "json"]
, ["@", "src", "src/buildtool/file_system", "file_system_manager"]
, ["@", "src", "src/other_tools/ops_maps", "critical_git_op_map"]
@@ -29,6 +30,7 @@
, "private-deps":
[ ["@", "catch2", "", "catch2"]
, ["", "catch-main"]
+ , ["@", "fmt", "", "fmt"]
, ["@", "json", "", "json"]
, ["@", "src", "src/buildtool/file_system", "file_system_manager"]
, ["@", "src", "src/buildtool/logging", "log_level"]
diff --git a/test/other_tools/git_operations/critical_git_ops.test.cpp b/test/other_tools/git_operations/critical_git_ops.test.cpp
index cfd651c4..231c61d7 100644
--- a/test/other_tools/git_operations/critical_git_ops.test.cpp
+++ b/test/other_tools/git_operations/critical_git_ops.test.cpp
@@ -12,9 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <algorithm> // std::find
+#include <atomic>
+#include <cstdlib> // std::system
+#include <filesystem>
+#include <optional>
+#include <string>
#include <thread>
+#include <vector>
#include "catch2/catch_test_macros.hpp"
+#include "fmt/core.h"
#include "nlohmann/json.hpp"
#include "src/buildtool/execution_api/common/execution_common.hpp"
#include "src/buildtool/file_system/file_system_manager.hpp"
diff --git a/test/other_tools/git_operations/git_config_run.test.cpp b/test/other_tools/git_operations/git_config_run.test.cpp
index 50f859d7..1e72c7da 100644
--- a/test/other_tools/git_operations/git_config_run.test.cpp
+++ b/test/other_tools/git_operations/git_config_run.test.cpp
@@ -15,6 +15,8 @@
#include <exception>
#include <filesystem>
#include <functional>
+#include <memory>
+#include <optional>
#include <string>
#include "src/buildtool/file_system/git_context.hpp"
diff --git a/test/other_tools/git_operations/git_repo_remote.test.cpp b/test/other_tools/git_operations/git_repo_remote.test.cpp
index c781f61b..0a970db8 100644
--- a/test/other_tools/git_operations/git_repo_remote.test.cpp
+++ b/test/other_tools/git_operations/git_repo_remote.test.cpp
@@ -12,9 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <atomic>
+#include <cstdlib>
+#include <filesystem>
+#include <memory>
+#include <optional>
+#include <string>
#include <thread>
#include "catch2/catch_test_macros.hpp"
+#include "fmt/core.h"
#include "nlohmann/json.hpp"
#include "src/buildtool/file_system/file_system_manager.hpp"
#include "src/buildtool/logging/log_level.hpp"