|
stc
|
#include <TestFile.hpp>
Public Member Functions | |
| TestFile (const std::filesystem::path &f, bool create=false) | |
| ~TestFile () | |
| void | deleteFile () |
Public Attributes | |
| std::filesystem::path | file |
Test utility for RAII ownership of a file.
The file, if it exists at the time of initialization, is deleted. It's also deleted at the end of the test when this class is destroyed.
|
inline |
|
inline |
|
inline |
| std::filesystem::path stc::testutil::TestFile::file |