|
OpenEnroth 39d87c6
|
#include <ScopedTestFileSlot.h>
Public Member Functions | |
| ScopedTestFileSlot (std::string_view path) | |
| ~ScopedTestFileSlot () | |
Private Attributes | |
| std::string | _path |
Helper class to remove a file in ctor and when leaving the current scope.
Essentially a counterpart to ScopedTestFile. While the latter creates a file, this class makes sure a 'slot' exist where the user can create a file.
|
explicit |
| ScopedTestFileSlot::~ScopedTestFileSlot | ( | ) |
|
private |