diff options
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 90 |
1 files changed, 72 insertions, 18 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index f063ffe4..a55c398d 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -280,8 +280,14 @@ TEST_CASE("Executor: Process artifact", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -293,8 +299,14 @@ TEST_CASE("Executor: Process artifact", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(not runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -306,8 +318,14 @@ TEST_CASE("Executor: Process artifact", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(not runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -342,8 +360,14 @@ TEST_CASE("Executor: Process action", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -358,8 +382,14 @@ TEST_CASE("Executor: Process action", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -374,8 +404,14 @@ TEST_CASE("Executor: Process action", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -393,8 +429,14 @@ TEST_CASE("Executor: Process action", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -409,8 +451,14 @@ TEST_CASE("Executor: Process action", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); @@ -428,8 +476,14 @@ TEST_CASE("Executor: Process action", "[executor]") { auto api = TestApi::Ptr{new TestApi{config}}; Statistics stats{}; Progress progress{}; - Executor runner{ - &repo_config, api.get(), api.get(), {}, {}, &stats, &progress}; + Executor runner{&repo_config, + api.get(), + api.get(), + /*properties=*/{}, + /*dispatch_list=*/{}, + /*auth=*/nullptr, + &stats, + &progress}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); CHECK(runner.Process(g.ArtifactNodeWithId(known_cpp_id))); |