diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-22 16:41:52 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-22 17:02:34 +0200 |
commit | 21014f3be3e4f8ebf34243f4f10841f0fb0b3843 (patch) | |
tree | 1208031cead9f9ca78d0f13a273f8242c045f3fc /test/buildtool/execution_api/common/api_test.hpp | |
parent | b2f51059cc034f03c70df28a5597a591ed3e5c5d (diff) | |
download | justbuild-21014f3be3e4f8ebf34243f4f10841f0fb0b3843.tar.gz |
Rename HashFunction methods and enums
Diffstat (limited to 'test/buildtool/execution_api/common/api_test.hpp')
-rw-r--r-- | test/buildtool/execution_api/common/api_test.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/buildtool/execution_api/common/api_test.hpp b/test/buildtool/execution_api/common/api_test.hpp index 81a11364..6d8e7928 100644 --- a/test/buildtool/execution_api/common/api_test.hpp +++ b/test/buildtool/execution_api/common/api_test.hpp @@ -132,8 +132,8 @@ using ExecProps = std::map<std::string, std::string>; std::string test_content("test"); HashFunction const hash_function{Compatibility::IsCompatible() - ? HashFunction::JustHash::Compatible - : HashFunction::JustHash::Native}; + ? HashFunction::Type::PlainSHA256 + : HashFunction::Type::GitSHA1}; auto test_digest = ArtifactDigest::Create<ObjectType::File>(hash_function, test_content); @@ -215,8 +215,8 @@ using ExecProps = std::map<std::string, std::string>; std::string test_content("test"); HashFunction const hash_function{Compatibility::IsCompatible() - ? HashFunction::JustHash::Compatible - : HashFunction::JustHash::Native}; + ? HashFunction::Type::PlainSHA256 + : HashFunction::Type::GitSHA1}; auto test_digest = ArtifactDigest::Create<ObjectType::File>(hash_function, test_content); @@ -305,8 +305,8 @@ using ExecProps = std::map<std::string, std::string>; std::string test_content("test"); HashFunction const hash_function{Compatibility::IsCompatible() - ? HashFunction::JustHash::Compatible - : HashFunction::JustHash::Native}; + ? HashFunction::Type::PlainSHA256 + : HashFunction::Type::GitSHA1}; auto test_digest = ArtifactDigest::Create<ObjectType::File>(hash_function, test_content); |