|
Ninja
|
#include <test.h>
Public Member Functions | |
| void | Cleanup () |
| Clean up the temporary directory. | |
| void | CreateAndEnter (const std::string &name) |
| Create a temporary directory and chdir into it. | |
Public Attributes | |
| std::string | start_dir_ |
| The temp directory containing our dir. | |
| std::string | temp_dir_name_ |
| The subdirectory name for our dir, or empty if it hasn't been set up. | |
| void ScopedTempDir::Cleanup | ( | ) |
Clean up the temporary directory.
Definition at line 221 of file test.cc.
References Fatal(), start_dir_, and temp_dir_name_.
| void ScopedTempDir::CreateAndEnter | ( | const std::string & | name | ) |
Create a temporary directory and chdir into it.
Definition at line 199 of file test.cc.
References Fatal(), start_dir_, and temp_dir_name_.
| std::string ScopedTempDir::start_dir_ |
The temp directory containing our dir.
Definition at line 98 of file test.h.
Referenced by Cleanup(), and CreateAndEnter().
| std::string ScopedTempDir::temp_dir_name_ |