summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor/executor.test.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-02-21 16:18:47 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-27 09:03:30 +0100
commita8a167cb206f6c66e52ab4e92e0939e91b8dfed8 (patch)
tree7861406725739f45a98c1312ed45264bb10b9b35 /test/buildtool/execution_engine/executor/executor.test.cpp
parente1880bead60d433de2960104bd62cd9e27bfca17 (diff)
downloadjustbuild-a8a167cb206f6c66e52ab4e92e0939e91b8dfed8.tar.gz
ArtifactBlob: Convert to a class
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index af7590bb..36b407c7 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -226,12 +226,12 @@ class TestApi : public IExecutionApi {
return std::all_of(
blobs.begin(), blobs.end(), [this](auto const& blob) {
// for local artifacts
- auto it1 = config_.artifacts.find(*blob.data);
+ auto it1 = config_.artifacts.find(*blob.ReadContent());
if (it1 != config_.artifacts.end() and it1->second.uploads) {
return true;
}
// for known and action artifacts
- auto it2 = config_.artifacts.find(blob.digest.hash());
+ auto it2 = config_.artifacts.find(blob.GetDigest().hash());
return it2 != config_.artifacts.end() and it2->second.uploads;
});
}