|
Electroneum
|
#include "unittest.h"#include "rapidjson/pointer.h"#include "rapidjson/stringbuffer.h"#include <sstream>
Go to the source code of this file.
Classes | |
| class | myjson::MyAllocator |
Namespaces | |
| myjson | |
Macros | |
| #define | NAME(s) { s, static_cast<SizeType>(sizeof(s) / sizeof(s[0]) - 1), kPointerInvalidIndex } |
| #define | INDEX(i) { #i, static_cast<SizeType>(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) | |
| #define INDEX | ( | i | ) | { #i, static_cast<SizeType>(sizeof(#i) - 1), i } |
Definition at line 445 of file pointertest.cpp.
| #define NAME | ( | s | ) | { s, static_cast<SizeType>(sizeof(s) / sizeof(s[0]) - 1), kPointerInvalidIndex } |
Definition at line 444 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| DefaultConstructor | |||
| ) |
Definition at line 35 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Parse | |||
| ) |
Definition at line 41 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Parse_URIFragment | |||
| ) |
Definition at line 190 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Stringify | |||
| ) |
Definition at line 401 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| ConstructorWithToken | |||
| ) |
Definition at line 452 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| CopyConstructor | |||
| ) |
Definition at line 463 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Assignment | |||
| ) |
Definition at line 492 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Append | |||
| ) |
Definition at line 532 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Equality | |||
| ) |
Definition at line 562 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Inequality | |||
| ) |
Definition at line 570 of file pointertest.cpp.
| TEST | ( | Pointer | , |
| Create | |||
| ) |
Definition at line 578 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Get | |||
| ) |
Definition at line 618 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetWithDefault | |||
| ) |
Definition at line 646 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetWithDefault_NoAllocator | |||
| ) |
Definition at line 699 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Set | |||
| ) |
Definition at line 751 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Set_NoAllocator | |||
| ) |
Definition at line 811 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Swap | |||
| ) |
Definition at line 870 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Swap_NoAllocator | |||
| ) |
Definition at line 879 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Erase | |||
| ) |
Definition at line 887 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| CreateValueByPointer | |||
| ) |
Definition at line 926 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| CreateValueByPointer_NoAllocator | |||
| ) |
Definition at line 940 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetValueByPointer | |||
| ) |
Definition at line 953 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetValueByPointerWithDefault_Pointer | |||
| ) |
Definition at line 986 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetValueByPointerWithDefault_String | |||
| ) |
Definition at line 1039 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetValueByPointerWithDefault_Pointer_NoAllocator | |||
| ) |
Definition at line 1092 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| GetValueByPointerWithDefault_String_NoAllocator | |||
| ) |
Definition at line 1144 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| SetValueByPointer_Pointer | |||
| ) |
Definition at line 1196 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| SetValueByPointer_String | |||
| ) |
Definition at line 1253 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| SetValueByPointer_Pointer_NoAllocator | |||
| ) |
Definition at line 1310 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| SetValueByPointer_String_NoAllocator | |||
| ) |
Definition at line 1366 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| SwapValueByPointer | |||
| ) |
Definition at line 1422 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| SwapValueByPointer_NoAllocator | |||
| ) |
Definition at line 1435 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| EraseValueByPointer_Pointer | |||
| ) |
Definition at line 1447 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| EraseValueByPointer_String | |||
| ) |
Definition at line 1462 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Ambiguity | |||
| ) |
Definition at line 1477 of file pointertest.cpp.

| TEST | ( | Pointer | , |
| Issue483 | |||
| ) |
Definition at line 1523 of file pointertest.cpp.