summaryrefslogtreecommitdiff
path: root/test/buildtool/build_engine/target_map/target_map.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/build_engine/target_map/target_map.test.cpp')
-rw-r--r--test/buildtool/build_engine/target_map/target_map.test.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/buildtool/build_engine/target_map/target_map.test.cpp b/test/buildtool/build_engine/target_map/target_map.test.cpp
index 5a721ab6..e392902b 100644
--- a/test/buildtool/build_engine/target_map/target_map.test.cpp
+++ b/test/buildtool/build_engine/target_map/target_map.test.cpp
@@ -103,7 +103,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "simple targets", "[target_map]") {
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -548,7 +548,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture,
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -638,7 +638,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture,
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -738,7 +738,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "built-in rules", "[target_map]") {
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -948,7 +948,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "target reference", "[target_map]") {
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -1091,7 +1091,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "trees", "[target_map]") {
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -1200,7 +1200,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture,
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,
@@ -1366,7 +1366,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "wrong arguments", "[target_map]") {
Auth auth{};
ApiBundle const apis{
/*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()};
- auto serve = ServeApi::Create(*serve_config, &apis);
+ auto serve = ServeApi::Create(*serve_config, &Storage::Instance(), &apis);
AnalyseContext ctx{.repo_config = &repo_config,
.target_cache = &Storage::Instance().TargetCache(),
.statistics = &stats,