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

#include <ScopedTestFileSlot.h>

Public Member Functions

 ScopedTestFileSlot (std::string_view path)
 
 ~ScopedTestFileSlot ()
 

Private Attributes

std::string _path
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ScopedTestFileSlot()

ScopedTestFileSlot::ScopedTestFileSlot ( std::string_view  path)
explicit

◆ ~ScopedTestFileSlot()

ScopedTestFileSlot::~ScopedTestFileSlot ( )

Member Data Documentation

◆ _path

std::string ScopedTestFileSlot::_path
private

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