aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-08 19:13:37 +0200
committerStefan Boberg <[email protected]>2021-10-08 19:13:50 +0200
commitfc52109623f2a79d1d539e5db96ee200a7a31f98 (patch)
tree94beb038ed6459d8c4328ac4c3cc2d8a6e7b3983 /zencore/include
parentAdded another test exe name to GetExePath test (diff)
downloadzen-fc52109623f2a79d1d539e5db96ee200a7a31f98.tar.xz
zen-fc52109623f2a79d1d539e5db96ee200a7a31f98.zip
Added ScopedTemporaryDirectory which specifies a particular directory path to use
This is primarily for temporary debugging purposes, since it can be more convenient to use the same directory over and over
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/testutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/include/zencore/testutils.h b/zencore/include/zencore/testutils.h
index 72d985d5c..04648c6de 100644
--- a/zencore/include/zencore/testutils.h
+++ b/zencore/include/zencore/testutils.h
@@ -11,6 +11,7 @@ std::filesystem::path CreateTemporaryDirectory();
class ScopedTemporaryDirectory
{
public:
+ explicit ScopedTemporaryDirectory(std::filesystem::path Directory);
ScopedTemporaryDirectory();
~ScopedTemporaryDirectory();