diff options
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)); |