rippled
|
Write a validators.txt file and remove when done. More...
Public Member Functions | |
ValidatorsTxtGuard (beast::unit_test::suite &test, path subDir, path const &validatorsFileName, bool useCounter=true) | |
bool | validatorsFileExists () const |
std::string | validatorsFile () const |
~ValidatorsTxtGuard () | |
path const & | file () const |
bool | fileExists () const |
path const & | subdir () const |
Protected Types | |
using | path = boost::filesystem::path |
Protected Member Functions | |
auto | rmDir (path const &toRm) |
Protected Attributes | |
const path | file_ |
bool | created_ = false |
beast::unit_test::suite & | test_ |
Private Attributes | |
path | subDir_ |
bool | rmSubDir_ {false} |
Write a validators.txt file and remove when done.
Definition at line 232 of file Config_test.cpp.
|
protectedinherited |
Definition at line 37 of file FileDirGuard.h.
ripple::detail::ValidatorsTxtGuard::ValidatorsTxtGuard | ( | beast::unit_test::suite & | test, |
path | subDir, | ||
path const & | validatorsFileName, | ||
bool | useCounter = true |
||
) |
Definition at line 235 of file Config_test.cpp.
ripple::detail::ValidatorsTxtGuard::~ValidatorsTxtGuard | ( | ) |
Definition at line 263 of file Config_test.cpp.
bool ripple::detail::ValidatorsTxtGuard::validatorsFileExists | ( | ) | const |
Definition at line 252 of file Config_test.cpp.
std::string ripple::detail::ValidatorsTxtGuard::validatorsFile | ( | ) | const |
Definition at line 258 of file Config_test.cpp.
|
inherited |
Definition at line 164 of file FileDirGuard.h.
|
inherited |
Definition at line 170 of file FileDirGuard.h.
|
protectedinherited |
Definition at line 47 of file FileDirGuard.h.
|
inherited |
Definition at line 98 of file FileDirGuard.h.
|
protectedinherited |
Definition at line 110 of file FileDirGuard.h.
|
protectedinherited |
Definition at line 111 of file FileDirGuard.h.
|
privateinherited |
Definition at line 40 of file FileDirGuard.h.
|
privateinherited |
Definition at line 41 of file FileDirGuard.h.
|
protectedinherited |
Definition at line 44 of file FileDirGuard.h.