|
OpenEnroth 731eccc
|
#include <ScopedTestFile.h>
Public Member Functions | |
| ScopedTestFile (std::string_view path, std::string_view contents) | |
| ~ScopedTestFile () | |
Private Attributes | |
| std::string | _path |
Helper class to create a temporary file at the given path with the given contents & remove it when leaving the current scope.
| ScopedTestFile::ScopedTestFile | ( | std::string_view | path, |
| std::string_view | contents | ||
| ) |
| ScopedTestFile::~ScopedTestFile | ( | ) |
|
private |