summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-12 09:56:36 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-16 17:51:12 +0200
commited0cd750a98a9334f95d99a5ba4ce3abe17538f1 (patch)
tree371a81a9c211cb103ff4e768ccace131f32ee5ee /test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
parent0d65f1285899230497fa50efdaf4387092c08d61 (diff)
downloadjustbuild-ed0cd750a98a9334f95d99a5ba4ce3abe17538f1.tar.gz
test: Reduce verbosity in config methods
As the classes describe the config type, their static creators can have generic names, which reduces unnecessary verbosity.
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp')
-rwxr-xr-xtest/buildtool/execution_api/bazel/bazel_execution_client.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
index fe9da14f..c1f70ecc 100755
--- a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
@@ -30,7 +30,7 @@ TEST_CASE("Bazel internals: Execution Client", "[execution_api]") {
auto test_digest = static_cast<bazel_re::Digest>(
ArtifactDigest::Create<ObjectType::File>(content));
- auto auth_config = TestAuthConfig::ReadAuthConfigFromEnvironment();
+ auto auth_config = TestAuthConfig::ReadFromEnvironment();
REQUIRE(auth_config);
BazelExecutionClient execution_client(
@@ -102,7 +102,7 @@ TEST_CASE("Bazel internals: Execution Client using env variables",
auto test_digest = static_cast<bazel_re::Digest>(
ArtifactDigest::Create<ObjectType::File>(content));
- auto auth_config = TestAuthConfig::ReadAuthConfigFromEnvironment();
+ auto auth_config = TestAuthConfig::ReadFromEnvironment();
REQUIRE(auth_config);
BazelExecutionClient execution_client(