diff options
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 2 | ||||
-rw-r--r-- | test/buildtool/execution_engine/executor/executor_api.test.hpp | 6 |
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}; |