Functions | |
static std::string | normalizeFloatingPointStr (double value) |
static std::string | readInputTestFile (const char *path) |
static void | printValueTree (FILE *fout, Json::Value &value, const std::string &path=".") |
static int | parseAndSaveValueTree (const std::string &input, const std::string &actual, const std::string &kind, const Json::Features &features, bool parseOnly, Json::Value *root) |
static std::string | useStyledWriter (Json::Value const &root) |
static std::string | useStyledStreamWriter (Json::Value const &root) |
static std::string | useBuiltStyledStreamWriter (Json::Value const &root) |
static int | rewriteValueTree (const std::string &rewritePath, const Json::Value &root, Options::writeFuncType write, std::string *rewrite) |
static std::string | removeSuffix (const std::string &path, const std::string &extension) |
static void | printConfig () |
static int | printUsage (const char *argv[]) |
static int | parseCommandLine (int argc, const char *argv[], Options *opts) |
static int | runTest (Options const &opts) |
int | main (int argc, const char *argv[]) |
int main | ( | int | argc, | |
const char * | argv[] | |||
) |
static std::string normalizeFloatingPointStr | ( | double | value | ) | [static] |
static int parseAndSaveValueTree | ( | const std::string & | input, | |
const std::string & | actual, | |||
const std::string & | kind, | |||
const Json::Features & | features, | |||
bool | parseOnly, | |||
Json::Value * | root | |||
) | [static] |
static int parseCommandLine | ( | int | argc, | |
const char * | argv[], | |||
Options * | opts | |||
) | [static] |
static void printConfig | ( | ) | [static] |
static int printUsage | ( | const char * | argv[] | ) | [static] |
static void printValueTree | ( | FILE * | fout, | |
Json::Value & | value, | |||
const std::string & | path = "." | |||
) | [static] |
static std::string readInputTestFile | ( | const char * | path | ) | [static] |
static std::string removeSuffix | ( | const std::string & | path, | |
const std::string & | extension | |||
) | [static] |
static int rewriteValueTree | ( | const std::string & | rewritePath, | |
const Json::Value & | root, | |||
Options::writeFuncType | write, | |||
std::string * | rewrite | |||
) | [static] |
static int runTest | ( | Options const & | opts | ) | [static] |
static std::string useBuiltStyledStreamWriter | ( | Json::Value const & | root | ) | [static] |
static std::string useStyledStreamWriter | ( | Json::Value const & | root | ) | [static] |
static std::string useStyledWriter | ( | Json::Value const & | root | ) | [static] |