OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ScopedTestFile Class Reference

#include <ScopedTestFile.h>

Public Member Functions

 ScopedTestFile (std::string_view path, std::string_view contents)
 
 ~ScopedTestFile ()
 

Private Attributes

std::string _path
 

Detailed Description

Helper class to create a temporary file at the given path with the given contents & remove it when leaving the current scope.

Constructor & Destructor Documentation

◆ ScopedTestFile()

ScopedTestFile::ScopedTestFile ( std::string_view  path,
std::string_view  contents 
)

◆ ~ScopedTestFile()

ScopedTestFile::~ScopedTestFile ( )

Member Data Documentation

◆ _path

std::string ScopedTestFile::_path
private

The documentation for this class was generated from the following files: