From e047c360dcc5cbdc01ee19a1b755bb70d883e41c Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 4 Apr 2024 16:34:29 +0200 Subject: test: Add missing includes and fix deps --- test/other_tools/git_operations/TARGETS | 2 ++ test/other_tools/git_operations/critical_git_ops.test.cpp | 8 ++++++++ test/other_tools/git_operations/git_config_run.test.cpp | 2 ++ test/other_tools/git_operations/git_repo_remote.test.cpp | 7 +++++++ 4 files changed, 19 insertions(+) (limited to 'test/other_tools/git_operations') 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 // std::find +#include +#include // std::system +#include +#include +#include #include +#include #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 #include #include +#include +#include #include #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 +#include +#include +#include +#include +#include #include #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" -- cgit v1.2.3