summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor/executor.test.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-02-14 15:16:10 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-19 17:50:30 +0100
commit8ab573ef1c624e2ed81b2032178c25451176d2f1 (patch)
treeb3e41ee30eed3240bcd18502b7972903e7c2a53e /test/buildtool/execution_engine/executor/executor.test.cpp
parentdfa481bd5f97d92c444dc31a4a051cb890494d1d (diff)
downloadjustbuild-8ab573ef1c624e2ed81b2032178c25451176d2f1.tar.gz
ApiBundle: Remove HashFunction.
And ensure every user obtains HashFunction from corresponding IExecutionApi
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 5a72c87b..622ee800 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -344,7 +344,7 @@ TEST_CASE("Executor: Process artifact", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -362,7 +362,7 @@ TEST_CASE("Executor: Process artifact", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -380,7 +380,7 @@ TEST_CASE("Executor: Process artifact", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -427,7 +427,7 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -448,7 +448,7 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -469,7 +469,7 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -493,7 +493,7 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -514,7 +514,7 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,
@@ -538,7 +538,7 @@ TEST_CASE("Executor: Process action", "[executor]") {
auto api = std::make_shared<TestApi>(config, hash_function.GetType());
Statistics stats{};
Progress progress{};
- auto const apis = CreateTestApiBundle(hash_function, api);
+ auto const apis = CreateTestApiBundle(api);
ExecutionContext const exec_context{.repo_config = &repo_config,
.apis = &apis,
.remote_context = &remote_context,