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/buildtool/tree_structure/tree_structure.test.cpp | |
parent | 4849a21ffb861f756856f38a0a8eee66d8602200 (diff) | |
download | justbuild-7f9ec0066f75c7735bab4978d78de7701964ff56.tar.gz |
Rename compute_tree_structure to tree_structure_utils
Diffstat (limited to 'test/buildtool/tree_structure/tree_structure.test.cpp')
-rw-r--r-- | test/buildtool/tree_structure/tree_structure.test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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)); |