Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <redactor-test-utils.h>
Public Member Functions | |
TempRulesFile (const std::string &contents) | |
~TempRulesFile () | |
void | Delete () |
void | OverwriteContents (const std::string &contents) |
const char * | name () const |
Returns the absolute path to the file. More... | |
Private Attributes | |
string | name_ |
bool | deleted_ |
Utility class for creating a redaction config file that will be automatically deleted upon test completion.
Definition at line 29 of file redactor-test-utils.h.
|
inline |
Definition at line 31 of file redactor-test-utils.h.
References name_, and OverwriteContents().
|
inline |
Definition at line 46 of file redactor-test-utils.h.
References Delete().
|
inline |
Definition at line 48 of file redactor-test-utils.h.
References deleted_, and name().
Referenced by impala::TEST(), and ~TempRulesFile().
|
inline |
Returns the absolute path to the file.
Definition at line 76 of file redactor-test-utils.h.
References name_.
Referenced by Delete(), OverwriteContents(), and impala::TEST().
|
inline |
Definition at line 57 of file redactor-test-utils.h.
References name().
Referenced by TempRulesFile(), and impala::TEST().
|
private |
Definition at line 80 of file redactor-test-utils.h.
Referenced by Delete().
|
private |
Definition at line 79 of file redactor-test-utils.h.
Referenced by name(), and TempRulesFile().