From 21014f3be3e4f8ebf34243f4f10841f0fb0b3843 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 22 Jul 2024 16:41:52 +0200 Subject: Rename HashFunction methods and enums --- test/buildtool/build_engine/target_map/target_map.test.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'test/buildtool/build_engine/target_map/target_map.test.cpp') 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 c64bb306..18927cf4 100644 --- a/test/buildtool/build_engine/target_map/target_map.test.cpp +++ b/test/buildtool/build_engine/target_map/target_map.test.cpp @@ -960,15 +960,13 @@ TEST_CASE("built-in rules", "[target_map]") { CHECK(!error); CHECK(error_msg == "NONE"); CHECK(bar_result->Artifacts()->ToJson()["foo.txt."]["type"] == "KNOWN"); - CHECK(bar_result->Artifacts()->ToJson()["foo.txt."]["data"]["id"] == - storage_config.Get() - .hash_function.ComputeBlobHash("bar") - .HexString()); + CHECK( + bar_result->Artifacts()->ToJson()["foo.txt."]["data"]["id"] == + storage_config.Get().hash_function.HashBlobData("bar").HexString()); CHECK(baz_result->Artifacts()->ToJson()["foo.txt."]["type"] == "KNOWN"); - CHECK(baz_result->Artifacts()->ToJson()["foo.txt."]["data"]["id"] == - storage_config.Get() - .hash_function.ComputeBlobHash("baz") - .HexString()); + CHECK( + baz_result->Artifacts()->ToJson()["foo.txt."]["data"]["id"] == + storage_config.Get().hash_function.HashBlobData("baz").HexString()); } } -- cgit v1.2.3