Crashpad
|
A RAII object that creates a temporary directory for testing. More...
#include "test/scoped_temp_dir.h"
Public Member Functions | |
const base::FilePath & | path () const |
Returns the path of the temporary directory. More... | |
void | Rename () |
Moves the temporary directory to a new temporary location. | |
A RAII object that creates a temporary directory for testing.
Upon construction, a temporary directory will be created. Failure to create the directory is fatal. On destruction, the directory and all its contents will be removed.
|
inline |
Returns the path of the temporary directory.