RetroArch
|
#include "unittest.h"
#include "rapidjson/pointer.h"
#include "rapidjson/stringbuffer.h"
#include <sstream>
Classes | |
class | myjson::MyAllocator |
Namespaces | |
myjson | |
Macros | |
#define | NAME(s) { s, sizeof(s) / sizeof(s[0]) - 1, kPointerInvalidIndex } |
#define | INDEX(i) { #i, sizeof(#i) - 1, i } |
Typedefs | |
typedef rapidjson::GenericDocument< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< MyAllocator >, MyAllocator > | myjson::Document |
typedef rapidjson::GenericPointer< ::myjson::Document::ValueType, MyAllocator > | myjson::Pointer |
typedef ::myjson::Document::ValueType | myjson::Value |
Functions | |
TEST (Pointer, DefaultConstructor) | |
TEST (Pointer, Parse) | |
TEST (Pointer, Parse_URIFragment) | |
TEST (Pointer, Stringify) | |
TEST (Pointer, ConstructorWithToken) | |
TEST (Pointer, CopyConstructor) | |
TEST (Pointer, Assignment) | |
TEST (Pointer, Append) | |
TEST (Pointer, Equality) | |
TEST (Pointer, Inequality) | |
TEST (Pointer, Create) | |
TEST (Pointer, Get) | |
TEST (Pointer, GetWithDefault) | |
TEST (Pointer, GetWithDefault_NoAllocator) | |
TEST (Pointer, Set) | |
TEST (Pointer, Set_NoAllocator) | |
TEST (Pointer, Swap) | |
TEST (Pointer, Swap_NoAllocator) | |
TEST (Pointer, Erase) | |
TEST (Pointer, CreateValueByPointer) | |
TEST (Pointer, CreateValueByPointer_NoAllocator) | |
TEST (Pointer, GetValueByPointer) | |
TEST (Pointer, GetValueByPointerWithDefault_Pointer) | |
TEST (Pointer, GetValueByPointerWithDefault_String) | |
TEST (Pointer, GetValueByPointerWithDefault_Pointer_NoAllocator) | |
TEST (Pointer, GetValueByPointerWithDefault_String_NoAllocator) | |
TEST (Pointer, SetValueByPointer_Pointer) | |
TEST (Pointer, SetValueByPointer_String) | |
TEST (Pointer, SetValueByPointer_Pointer_NoAllocator) | |
TEST (Pointer, SetValueByPointer_String_NoAllocator) | |
TEST (Pointer, SwapValueByPointer) | |
TEST (Pointer, SwapValueByPointer_NoAllocator) | |
TEST (Pointer, EraseValueByPointer_Pointer) | |
TEST (Pointer, EraseValueByPointer_String) | |
TEST (Pointer, Ambiguity) | |
TEST (Pointer, Issue483) | |
Variables | |
static const char | kJson [] |
static const Pointer::Token | kTokens [] = { NAME("foo"), INDEX(0) } |
#define INDEX | ( | i | ) | { #i, sizeof(#i) - 1, i } |
#define NAME | ( | s | ) | { s, sizeof(s) / sizeof(s[0]) - 1, kPointerInvalidIndex } |
TEST | ( | Pointer | , |
DefaultConstructor | |||
) |
TEST | ( | Pointer | , |
Parse | |||
) |
TEST | ( | Pointer | , |
Parse_URIFragment | |||
) |
TEST | ( | Pointer | , |
Stringify | |||
) |
TEST | ( | Pointer | , |
ConstructorWithToken | |||
) |
TEST | ( | Pointer | , |
CopyConstructor | |||
) |
TEST | ( | Pointer | , |
Assignment | |||
) |
TEST | ( | Pointer | , |
Append | |||
) |
TEST | ( | Pointer | , |
Equality | |||
) |
TEST | ( | Pointer | , |
Inequality | |||
) |
TEST | ( | Pointer | , |
Create | |||
) |
TEST | ( | Pointer | , |
Get | |||
) |
TEST | ( | Pointer | , |
GetWithDefault | |||
) |
TEST | ( | Pointer | , |
GetWithDefault_NoAllocator | |||
) |
TEST | ( | Pointer | , |
Set | |||
) |
TEST | ( | Pointer | , |
Set_NoAllocator | |||
) |
TEST | ( | Pointer | , |
Swap | |||
) |
TEST | ( | Pointer | , |
Swap_NoAllocator | |||
) |
TEST | ( | Pointer | , |
Erase | |||
) |
TEST | ( | Pointer | , |
CreateValueByPointer | |||
) |
TEST | ( | Pointer | , |
CreateValueByPointer_NoAllocator | |||
) |
TEST | ( | Pointer | , |
GetValueByPointer | |||
) |
TEST | ( | Pointer | , |
GetValueByPointerWithDefault_Pointer | |||
) |
TEST | ( | Pointer | , |
GetValueByPointerWithDefault_String | |||
) |
TEST | ( | Pointer | , |
GetValueByPointerWithDefault_Pointer_NoAllocator | |||
) |
TEST | ( | Pointer | , |
GetValueByPointerWithDefault_String_NoAllocator | |||
) |
TEST | ( | Pointer | , |
SetValueByPointer_Pointer | |||
) |
TEST | ( | Pointer | , |
SetValueByPointer_String | |||
) |
TEST | ( | Pointer | , |
SetValueByPointer_Pointer_NoAllocator | |||
) |
TEST | ( | Pointer | , |
SetValueByPointer_String_NoAllocator | |||
) |
TEST | ( | Pointer | , |
SwapValueByPointer | |||
) |
TEST | ( | Pointer | , |
SwapValueByPointer_NoAllocator | |||
) |
TEST | ( | Pointer | , |
EraseValueByPointer_Pointer | |||
) |
TEST | ( | Pointer | , |
EraseValueByPointer_String | |||
) |
TEST | ( | Pointer | , |
Ambiguity | |||
) |
TEST | ( | Pointer | , |
Issue483 | |||
) |
|
static |
|
static |