RetroArch
|
#include "unittest.h"
#include "rapidjson/reader.h"
#include "rapidjson/prettywriter.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/filewritestream.h"
#include <sstream>
Classes | |
class | OStreamWrapper |
Functions | |
TEST (PrettyWriter, Basic) | |
TEST (PrettyWriter, FormatOptions) | |
TEST (PrettyWriter, SetIndent) | |
TEST (PrettyWriter, String) | |
TEST (PrettyWriter, OStreamWrapper) | |
TEST (PrettyWriter, FileWriteStream) | |
TEST (PrettyWriter, RawValue) | |
Variables | |
static const char | kJson [] = "{\"hello\":\"world\",\"t\":true,\"f\":false,\"n\":null,\"i\":123,\"pi\":3.1416,\"a\":[1,2,3,-1],\"u64\":1234567890123456789,\"i64\":-1234567890123456789}" |
static const char | kPrettyJson [] |
static const char | kPrettyJson_FormatOptions_SLA [] |
TEST | ( | PrettyWriter | , |
Basic | |||
) |
TEST | ( | PrettyWriter | , |
FormatOptions | |||
) |
TEST | ( | PrettyWriter | , |
SetIndent | |||
) |
TEST | ( | PrettyWriter | , |
String | |||
) |
TEST | ( | PrettyWriter | , |
OStreamWrapper | |||
) |
TEST | ( | PrettyWriter | , |
FileWriteStream | |||
) |
TEST | ( | PrettyWriter | , |
RawValue | |||
) |
|
static |
|
static |
|
static |