summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/buildtool/execution_api/common/tree_rehashing.test.cpp4
-rw-r--r--test/buildtool/storage/large_object_cas.test.cpp2
-rw-r--r--test/utils/hermeticity/test_storage_config.hpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/test/buildtool/execution_api/common/tree_rehashing.test.cpp b/test/buildtool/execution_api/common/tree_rehashing.test.cpp
index 97b21f97..0049a7a0 100644
--- a/test/buildtool/execution_api/common/tree_rehashing.test.cpp
+++ b/test/buildtool/execution_api/common/tree_rehashing.test.cpp
@@ -43,7 +43,7 @@
#include "test/utils/large_objects/large_object_utils.hpp"
namespace {
-[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDirPtr>;
+[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDir::Ptr>;
/// \brief Deeply hash a local tree and add it to the storage.
[[nodiscard]] auto StoreHashedTree(Storage const& storage,
@@ -185,7 +185,7 @@ TEST_CASE("Rehash tree", "[common]") {
}
namespace {
-[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDirPtr> {
+[[nodiscard]] auto GenerateTestDirectory() -> std::optional<TmpDir::Ptr> {
auto const test_dir = FileSystemManager::GetCurrentDirectory() / "tmp";
auto head_temp_directory = TmpDir::Create(test_dir / "head_dir");
auto const head_temp_dir_path = head_temp_directory->GetPath();
diff --git a/test/buildtool/storage/large_object_cas.test.cpp b/test/buildtool/storage/large_object_cas.test.cpp
index 64dba3d6..9de22e9b 100644
--- a/test/buildtool/storage/large_object_cas.test.cpp
+++ b/test/buildtool/storage/large_object_cas.test.cpp
@@ -643,7 +643,7 @@ class TestFilesDirectory final {
}
private:
- TmpDirPtr temp_directory_;
+ TmpDir::Ptr temp_directory_;
explicit TestFilesDirectory() noexcept {
auto test_dir = FileSystemManager::GetCurrentDirectory() / "tmp";
temp_directory_ = TmpDir::Create(test_dir / "tmp_space");
diff --git a/test/utils/hermeticity/test_storage_config.hpp b/test/utils/hermeticity/test_storage_config.hpp
index 39d3ed24..3bbdfc16 100644
--- a/test/utils/hermeticity/test_storage_config.hpp
+++ b/test/utils/hermeticity/test_storage_config.hpp
@@ -76,10 +76,10 @@ class TestStorageConfig final {
}
private:
- gsl::not_null<TmpDirPtr> const tmp_dir_;
+ gsl::not_null<TmpDir::Ptr> const tmp_dir_;
StorageConfig const storage_config_;
- explicit TestStorageConfig(gsl::not_null<TmpDirPtr> const& tmp_dir,
+ explicit TestStorageConfig(gsl::not_null<TmpDir::Ptr> const& tmp_dir,
StorageConfig config) noexcept
: tmp_dir_{tmp_dir}, storage_config_{std::move(config)} {}
};