summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp2
-rw-r--r--test/buildtool/execution_api/local/local_execution.test.cpp1
-rw-r--r--test/buildtool/execution_engine/executor/TARGETS1
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp4
4 files changed, 3 insertions, 5 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp b/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp
index a6b155fd..13840c4b 100644
--- a/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp
@@ -139,7 +139,7 @@ TEST_CASE("Bazel internals: MessageFactory", "[execution_api]") {
}
},
[&blobs](ArtifactBlob&& blob) {
- blobs.Emplace(std::move(blob));
+ blobs.emplace(std::move(blob));
return true;
}));
diff --git a/test/buildtool/execution_api/local/local_execution.test.cpp b/test/buildtool/execution_api/local/local_execution.test.cpp
index a3b5c9a1..dff30d51 100644
--- a/test/buildtool/execution_api/local/local_execution.test.cpp
+++ b/test/buildtool/execution_api/local/local_execution.test.cpp
@@ -14,6 +14,7 @@
#include <cstdlib>
#include <filesystem>
+#include <functional>
#include <map>
#include <memory>
#include <optional>
diff --git a/test/buildtool/execution_engine/executor/TARGETS b/test/buildtool/execution_engine/executor/TARGETS
index 405080e8..9ec78972 100644
--- a/test/buildtool/execution_engine/executor/TARGETS
+++ b/test/buildtool/execution_engine/executor/TARGETS
@@ -67,7 +67,6 @@
, ["@", "src", "src/buildtool/logging", "logging"]
, ["@", "src", "src/buildtool/progress_reporting", "progress"]
, ["@", "src", "src/utils/cpp", "expected"]
- , ["@", "src", "src/utils/cpp", "transformed_range"]
, ["", "catch-main"]
, ["utils", "test_api_bundle"]
, ["utils", "test_hash_function_type"]
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 2db9306b..834a63ca 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -58,7 +58,6 @@
#include "src/buildtool/logging/logger.hpp"
#include "src/buildtool/progress_reporting/progress.hpp"
#include "src/utils/cpp/expected.hpp"
-#include "src/utils/cpp/transformed_range.hpp"
#include "test/utils/executor/test_api_bundle.hpp"
#include "test/utils/hermeticity/test_hash_function_type.hpp"
@@ -223,9 +222,8 @@ class TestApi : public IExecutionApi {
}
[[nodiscard]] auto Upload(ArtifactBlobContainer&& blobs,
bool /*unused*/) const noexcept -> bool final {
- auto blob_range = blobs.Blobs();
return std::all_of(
- blob_range.begin(), blob_range.end(), [this](auto const& blob) {
+ blobs.begin(), blobs.end(), [this](auto const& blob) {
// for local artifacts
auto it1 = config_.artifacts.find(*blob.data);
if (it1 != config_.artifacts.end() and it1->second.uploads) {