diff options
| author | Per Larsson <[email protected]> | 2021-09-20 10:28:38 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-20 10:28:38 +0200 |
| commit | d7e8b3f1435ba50f50393692763508f3224aa9b1 (patch) | |
| tree | ee4357d70cdb9ea1fbcc3836d859cf39fe8e2f42 /zenstore/basicfile.cpp | |
| parent | Added support for skipping package attachments. (diff) | |
| parent | trivial: include cleanup (diff) | |
| download | zen-d7e8b3f1435ba50f50393692763508f3224aa9b1.tar.xz zen-d7e8b3f1435ba50f50393692763508f3224aa9b1.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenstore/basicfile.cpp')
| -rw-r--r-- | zenstore/basicfile.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zenstore/basicfile.cpp b/zenstore/basicfile.cpp index 0b92a8979..fe54184cf 100644 --- a/zenstore/basicfile.cpp +++ b/zenstore/basicfile.cpp @@ -5,9 +5,9 @@ #include <zencore/except.h> #include <zencore/filesystem.h> #include <zencore/fmtutils.h> +#include <zencore/testing.h> #include <zencore/testutils.h> -#include <doctest/doctest.h> #include <fmt/format.h> #include <gsl/gsl-lite.hpp> @@ -158,6 +158,8 @@ BasicFile::FileSize() return uint64_t(liFileSize.QuadPart); } +#if ZEN_WITH_TESTS + TEST_CASE("BasicFile") { ScopedCurrentDirectoryChange _; @@ -174,4 +176,6 @@ basicfile_forcelink() { } +#endif + } // namespace zen |