#include <include_gunit.h>
|
static bool | WriteStringToFile (const std::string &contents, const std::string &filename) |
|
static bool | GetContents (const std::string &filename, std::string *out, int) |
|
static bool | SetContents (const std::string &name, const std::string &contents, bool) |
|
static int | Defaults () |
|
static std::string | JoinPath (const std::string &s1, const std::string &s2) |
|
static std::string | JoinPath (const std::string &s1, const std::string &s2, const std::string &s3) |
|
static FILE * | OpenOrDie (const std::string &filename, const std::string &mode) |
|
static FILE * | Open (const std::string &filename, const std::string &mode) |
|
static void | WriteStringToFileOrDie (const std::string &str, const std::string &filename) |
|
static bool | Readable (const std::string &filename) |
|
static bool | ReadFileToString (const std::string &filename, std::string *out) |
|
static std::string | JoinPath (const std::string &prefix, const std::string &suffix) |
|
static bool | Delete (const char *pathname) |
|
static bool | DeleteMatchingFiles (const char *pattern) |
|
Definition at line 22 of file include_gunit.h.
◆ Defaults()
static int file::Defaults |
( |
| ) |
|
|
inlinestatic |
◆ GetContents()
Definition at line 31 of file include_gunit.h.
32 return File::ReadFileToString(filename, out);
◆ JoinPath() [1/2]
◆ JoinPath() [2/2]
◆ SetContents()
◆ WriteStringToFile()
Definition at line 26 of file include_gunit.h.
27 File::WriteStringToFileOrDie(contents, filename);
The documentation for this class was generated from the following file: