rippled
|
Create a directory and remove it when it's done. More...
Public Member Functions | |
DirGuard (beast::unit_test::suite &test, path subDir, bool useCounter=true) | |
~DirGuard () | |
path const & | subdir () const |
Protected Types | |
using | path = boost::filesystem::path |
Protected Member Functions | |
auto | rmDir (path const &toRm) |
Protected Attributes | |
beast::unit_test::suite & | test_ |
Private Attributes | |
path | subDir_ |
bool | rmSubDir_ {false} |
Create a directory and remove it when it's done.
Definition at line 34 of file FileDirGuard.h.
|
protected |
Definition at line 37 of file FileDirGuard.h.
ripple::test::detail::DirGuard::DirGuard | ( | beast::unit_test::suite & | test, |
path | subDir, | ||
bool | useCounter = true |
||
) |
Definition at line 57 of file FileDirGuard.h.
ripple::test::detail::DirGuard::~DirGuard | ( | ) |
Definition at line 81 of file FileDirGuard.h.
|
protected |
Definition at line 47 of file FileDirGuard.h.
path const& ripple::test::detail::DirGuard::subdir | ( | ) | const |
Definition at line 98 of file FileDirGuard.h.
|
private |
Definition at line 40 of file FileDirGuard.h.
|
private |
Definition at line 41 of file FileDirGuard.h.
|
protected |
Definition at line 44 of file FileDirGuard.h.