diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-15 15:39:36 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-21 09:58:36 +0100 |
commit | 7f9ec0066f75c7735bab4978d78de7701964ff56 (patch) | |
tree | a76973c6976105997cc09bb96e823cd7c895bcc7 /test | |
parent | 4849a21ffb861f756856f38a0a8eee66d8602200 (diff) | |
download | justbuild-7f9ec0066f75c7735bab4978d78de7701964ff56.tar.gz |
Rename compute_tree_structure to tree_structure_utils
Diffstat (limited to 'test')
-rw-r--r-- | test/buildtool/tree_structure/TARGETS | 2 | ||||
-rw-r--r-- | test/buildtool/tree_structure/tree_structure.test.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/buildtool/tree_structure/TARGETS b/test/buildtool/tree_structure/TARGETS index 3053d827..336e3230 100644 --- a/test/buildtool/tree_structure/TARGETS +++ b/test/buildtool/tree_structure/TARGETS @@ -20,8 +20,8 @@ , ["@", "src", "src/buildtool/storage", "config"] , ["@", "src", "src/buildtool/storage", "garbage_collector"] , ["@", "src", "src/buildtool/storage", "storage"] - , ["@", "src", "src/buildtool/tree_structure", "compute_tree_structure"] , ["@", "src", "src/buildtool/tree_structure", "tree_structure_cache"] + , ["@", "src", "src/buildtool/tree_structure", "tree_structure_utils"] , ["@", "src", "src/utils/cpp", "expected"] , ["@", "src", "src/utils/cpp", "hash_combine"] , ["@", "src", "src/utils/cpp", "hex_string"] diff --git a/test/buildtool/tree_structure/tree_structure.test.cpp b/test/buildtool/tree_structure/tree_structure.test.cpp index 8943d4a9..c9d6f4e6 100644 --- a/test/buildtool/tree_structure/tree_structure.test.cpp +++ b/test/buildtool/tree_structure/tree_structure.test.cpp @@ -37,8 +37,8 @@ #include "src/buildtool/storage/config.hpp" #include "src/buildtool/storage/garbage_collector.hpp" #include "src/buildtool/storage/storage.hpp" -#include "src/buildtool/tree_structure/compute_tree_structure.hpp" #include "src/buildtool/tree_structure/tree_structure_cache.hpp" +#include "src/buildtool/tree_structure/tree_structure_utils.hpp" #include "src/utils/cpp/expected.hpp" #include "src/utils/cpp/hash_combine.hpp" #include "src/utils/cpp/hex_string.hpp" @@ -134,7 +134,8 @@ TEST_CASE("compute", "[tree_structure]") { auto const tree = CreateComplexTestDirectory(storage_config.Get(), storage); REQUIRE(tree); - auto const tree_structure = ComputeTreeStructure(*tree, storage, ts_cache); + auto const tree_structure = + TreeStructureUtils::Compute(*tree, storage, ts_cache); REQUIRE(tree_structure); REQUIRE(ValidateTreeStructure(*tree_structure, storage)); |