summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-05-24 17:46:49 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-05-28 16:19:19 +0200
commit6184c758d2d7512af94d133f6ecac1abce03490e (patch)
treea6d0f2c915798dee767b43198eed10efe18a3471 /test/buildtool/execution_engine/executor
parentdc273f4ce89dc6e562c4a99fd394c92f56eeb63f (diff)
downloadjustbuild-6184c758d2d7512af94d133f6ecac1abce03490e.tar.gz
Rename BlobContainer to BazelBlobContainer
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp2
-rw-r--r--test/buildtool/execution_engine/executor/executor_api.test.hpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 02836d07..7a09dc84 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -174,7 +174,7 @@ class TestApi : public IExecutionApi {
-> std::optional<std::string> override {
return std::nullopt; // not needed by Executor
}
- auto Upload(BlobContainer const& blobs, bool /*unused*/) noexcept
+ auto Upload(BazelBlobContainer const& blobs, bool /*unused*/) noexcept
-> bool final {
auto blob_range = blobs.Blobs();
return std::all_of(
diff --git a/test/buildtool/execution_engine/executor/executor_api.test.hpp b/test/buildtool/execution_engine/executor/executor_api.test.hpp
index 1ff50831..c8ec19d7 100644
--- a/test/buildtool/execution_engine/executor/executor_api.test.hpp
+++ b/test/buildtool/execution_engine/executor/executor_api.test.hpp
@@ -51,7 +51,7 @@ static inline void RunBlobUpload(RepositoryConfig* repo_config,
SetupConfig(repo_config);
auto api = factory();
std::string const blob = "test";
- CHECK(api->Upload(BlobContainer{{BazelBlob{
+ CHECK(api->Upload(BazelBlobContainer{{BazelBlob{
ArtifactDigest{HashFunction::ComputeBlobHash(blob).HexString(),
blob.size(),
/*is_tree=*/false},
@@ -383,8 +383,8 @@ static inline void TestUploadAndDownloadTrees(
// upload blobs
auto api = factory();
REQUIRE(api->Upload(
- BlobContainer{{BazelBlob{foo_digest, foo, /*is_exec=*/false},
- BazelBlob{bar_digest, bar, /*is_exec=*/false}}}));
+ BazelBlobContainer{{BazelBlob{foo_digest, foo, /*is_exec=*/false},
+ BazelBlob{bar_digest, bar, /*is_exec=*/false}}}));
// define known artifacts
auto foo_desc = ArtifactDescription{foo_digest, ObjectType::File};