proxygen
|
#include <TestUtil.h>
Public Member Functions | |
ChangeToTempDir () | |
~ChangeToTempDir () | |
ChangeToTempDir (ChangeToTempDir &&)=default | |
ChangeToTempDir & | operator= (ChangeToTempDir &&)=default |
const fs::path & | path () const |
Private Attributes | |
TemporaryDirectory | dir_ |
fs::path | orig_ |
Changes into a temporary directory, and deletes it with all its contents upon destruction, also changing back to the original working directory.
Definition at line 129 of file TestUtil.h.
folly::test::ChangeToTempDir::ChangeToTempDir | ( | ) |
folly::test::ChangeToTempDir::~ChangeToTempDir | ( | ) |
Definition at line 138 of file TestUtil.cpp.
|
default |
|
default |
|
inline |
Definition at line 138 of file TestUtil.h.
|
private |
Definition at line 143 of file TestUtil.h.
|
private |
Definition at line 144 of file TestUtil.h.