RetroArch
|
#include "unittest.h"
#include "rapidjson/document.h"
#include "rapidjson/reader.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/memorybuffer.h"
#include <sstream>
Classes | |
class | OStreamWrapper |
Macros | |
#define | TEST_ROUNDTRIP(json) |
#define | T(x) |
#define | T(x) |
#define | T(x) |
Functions | |
TEST (Writer, Compact) | |
TEST (Writer, Root) | |
TEST (Writer, Int) | |
TEST (Writer, UInt) | |
TEST (Writer, Int64) | |
TEST (Writer, Uint64) | |
TEST (Writer, String) | |
TEST (Writer, ScanWriteUnescapedString) | |
TEST (Writer, Double) | |
template<typename TargetEncoding > | |
void | TestTranscode (const char *json) |
TEST (Writer, Transcode) | |
TEST (Writer, OStreamWrapper) | |
TEST (Writer, AssertRootMayBeAnyValue) | |
TEST (Writer, AssertIncorrectObjectLevel) | |
TEST (Writer, AssertIncorrectArrayLevel) | |
TEST (Writer, AssertIncorrectEndObject) | |
TEST (Writer, AssertIncorrectEndArray) | |
TEST (Writer, AssertObjectKeyNotString) | |
TEST (Writer, AssertMultipleRoot) | |
TEST (Writer, RootObjectIsComplete) | |
TEST (Writer, RootArrayIsComplete) | |
TEST (Writer, RootValueIsComplete) | |
TEST (Writer, InvalidEncoding) | |
TEST (Writer, ValidateEncoding) | |
TEST (Writer, InvalidEventSequence) | |
TEST (Writer, NaN) | |
TEST (Writer, Inf) | |
TEST (Writer, RawValue) | |
#define T | ( | x | ) |
#define T | ( | x | ) |
#define TEST_ROUNDTRIP | ( | json | ) |
TEST | ( | Writer | , |
Compact | |||
) |
TEST | ( | Writer | , |
Root | |||
) |
TEST | ( | Writer | , |
Int | |||
) |
TEST | ( | Writer | , |
UInt | |||
) |
TEST | ( | Writer | , |
Int64 | |||
) |
TEST | ( | Writer | , |
Uint64 | |||
) |
TEST | ( | Writer | , |
String | |||
) |
TEST | ( | Writer | , |
ScanWriteUnescapedString | |||
) |
TEST | ( | Writer | , |
Double | |||
) |
TEST | ( | Writer | , |
Transcode | |||
) |
TEST | ( | Writer | , |
OStreamWrapper | |||
) |
TEST | ( | Writer | , |
AssertRootMayBeAnyValue | |||
) |
TEST | ( | Writer | , |
AssertIncorrectObjectLevel | |||
) |
TEST | ( | Writer | , |
AssertIncorrectArrayLevel | |||
) |
TEST | ( | Writer | , |
AssertIncorrectEndObject | |||
) |
TEST | ( | Writer | , |
AssertIncorrectEndArray | |||
) |
TEST | ( | Writer | , |
AssertObjectKeyNotString | |||
) |
TEST | ( | Writer | , |
AssertMultipleRoot | |||
) |
TEST | ( | Writer | , |
RootObjectIsComplete | |||
) |
TEST | ( | Writer | , |
RootArrayIsComplete | |||
) |
TEST | ( | Writer | , |
RootValueIsComplete | |||
) |
TEST | ( | Writer | , |
InvalidEncoding | |||
) |
TEST | ( | Writer | , |
ValidateEncoding | |||
) |
TEST | ( | Writer | , |
InvalidEventSequence | |||
) |
TEST | ( | Writer | , |
NaN | |||
) |
TEST | ( | Writer | , |
Inf | |||
) |
TEST | ( | Writer | , |
RawValue | |||
) |