|
Wire Sysio Wire Sysion 1.0.0
|
#include "unittest.h"#include "rapidjson/schema.h"#include "rapidjson/stringbuffer.h"#include "rapidjson/writer.h"
Go to the source code of this file.
Classes | |
| class | RemoteSchemaDocumentProvider< SchemaDocumentType > |
Macros | |
| #define | TEST_HASHER(json1, json2, expected) |
| #define | VALIDATE(schema, json, expected) |
| #define | INVALIDATE(schema, json, invalidSchemaPointer, invalidSchemaKeyword, invalidDocumentPointer, error) |
| #define | INVALIDATE_(schema, json, invalidSchemaPointer, invalidSchemaKeyword, invalidDocumentPointer, error, SchemaValidatorType, PointerType) |
Functions | |
| TEST (SchemaValidator, Hasher) | |
| TEST (SchemaValidator, Typeless) | |
| TEST (SchemaValidator, MultiType) | |
| TEST (SchemaValidator, Enum_Typed) | |
| TEST (SchemaValidator, Enum_Typless) | |
| TEST (SchemaValidator, Enum_InvalidType) | |
| TEST (SchemaValidator, AllOf) | |
| TEST (SchemaValidator, AnyOf) | |
| TEST (SchemaValidator, OneOf) | |
| TEST (SchemaValidator, Not) | |
| TEST (SchemaValidator, Ref) | |
| TEST (SchemaValidator, Ref_AllOf) | |
| TEST (SchemaValidator, String) | |
| TEST (SchemaValidator, String_LengthRange) | |
| TEST (SchemaValidator, Integer) | |
| TEST (SchemaValidator, Integer_Range) | |
| TEST (SchemaValidator, Integer_Range64Boundary) | |
| TEST (SchemaValidator, Integer_RangeU64Boundary) | |
| TEST (SchemaValidator, Integer_Range64BoundaryExclusive) | |
| TEST (SchemaValidator, Integer_MultipleOf) | |
| TEST (SchemaValidator, Integer_MultipleOf64Boundary) | |
| TEST (SchemaValidator, Number_Range) | |
| TEST (SchemaValidator, Number_RangeInt) | |
| TEST (SchemaValidator, Number_RangeDouble) | |
| TEST (SchemaValidator, Number_RangeDoubleU64Boundary) | |
| TEST (SchemaValidator, Number_MultipleOf) | |
| TEST (SchemaValidator, Number_MultipleOfOne) | |
| TEST (SchemaValidator, Object) | |
| TEST (SchemaValidator, Object_Properties) | |
| TEST (SchemaValidator, Object_AdditionalPropertiesBoolean) | |
| TEST (SchemaValidator, Object_AdditionalPropertiesObject) | |
| TEST (SchemaValidator, Object_Required) | |
| TEST (SchemaValidator, Object_Required_PassWithDefault) | |
| TEST (SchemaValidator, Object_PropertiesRange) | |
| TEST (SchemaValidator, Object_PropertyDependencies) | |
| TEST (SchemaValidator, Object_SchemaDependencies) | |
| TEST (SchemaValidator, Array) | |
| TEST (SchemaValidator, Array_ItemsList) | |
| TEST (SchemaValidator, Array_ItemsTuple) | |
| TEST (SchemaValidator, Array_AdditionalItmes) | |
| TEST (SchemaValidator, Array_ItemsRange) | |
| TEST (SchemaValidator, Array_UniqueItems) | |
| TEST (SchemaValidator, Boolean) | |
| TEST (SchemaValidator, Null) | |
| TEST (SchemaValidator, ObjectInArray) | |
| TEST (SchemaValidator, MultiTypeInObject) | |
| TEST (SchemaValidator, MultiTypeWithObject) | |
| TEST (SchemaValidator, AllOf_Nested) | |
| TEST (SchemaValidator, EscapedPointer) | |
| TEST (SchemaValidator, ValidateMetaSchema) | |
| TEST (SchemaValidator, ValidateMetaSchema_UTF16) | |
| TEST (SchemaValidator, TestSuite) | |
| TEST (SchemaValidatingReader, Simple) | |
| TEST (SchemaValidatingReader, Invalid) | |
| TEST (SchemaValidatingWriter, Simple) | |
| TEST (Schema, Issue848) | |
| TEST (SchemaValidator, Issue608) | |
| TEST (SchemaValidator, Issue728_AllOfRef) | |
| TEST (SchemaValidator, Issue825) | |
| TEST (SchemaValidator, Issue1017_allOfHandler) | |
| TEST (SchemaValidator, Ref_remote) | |
| TEST (SchemaValidator, Ref_remote_issue1210) | |
| #define INVALIDATE | ( | schema, | |
| json, | |||
| invalidSchemaPointer, | |||
| invalidSchemaKeyword, | |||
| invalidDocumentPointer, | |||
| error ) |
Definition at line 132 of file schematest.cpp.
| #define INVALIDATE_ | ( | schema, | |
| json, | |||
| invalidSchemaPointer, | |||
| invalidSchemaKeyword, | |||
| invalidDocumentPointer, | |||
| error, | |||
| SchemaValidatorType, | |||
| PointerType ) |
Definition at line 137 of file schematest.cpp.
| #define TEST_HASHER | ( | json1, | |
| json2, | |||
| expected ) |
Definition at line 30 of file schematest.cpp.
| #define VALIDATE | ( | schema, | |
| json, | |||
| expected ) |
Definition at line 108 of file schematest.cpp.
| TEST | ( | Schema | , |
| Issue848 | ) |
Definition at line 1945 of file schematest.cpp.
| TEST | ( | SchemaValidatingReader | , |
| Invalid | ) |
Definition at line 1887 of file schematest.cpp.

| TEST | ( | SchemaValidatingReader | , |
| Simple | ) |
Definition at line 1872 of file schematest.cpp.

| TEST | ( | SchemaValidatingWriter | , |
| Simple | ) |
Definition at line 1914 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| AllOf | ) |
Definition at line 234 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| AllOf_Nested | ) |
Definition at line 1538 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| AnyOf | ) |
Definition at line 260 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Array | ) |
Definition at line 1280 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Array_AdditionalItmes | ) |
Definition at line 1355 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Array_ItemsList | ) |
Definition at line 1294 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Array_ItemsRange | ) |
Definition at line 1389 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Array_ItemsTuple | ) |
Definition at line 1314 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Array_UniqueItems | ) |
Definition at line 1413 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Boolean | ) |
Definition at line 1432 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Enum_InvalidType | ) |
Definition at line 221 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Enum_Typed | ) |
Definition at line 199 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Enum_Typless | ) |
Definition at line 209 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| EscapedPointer | ) |
Definition at line 1597 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Hasher | ) |
Definition at line 46 of file schematest.cpp.
| TEST | ( | SchemaValidator | , |
| Integer | ) |
Definition at line 472 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Integer_MultipleOf | ) |
Definition at line 619 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Integer_MultipleOf64Boundary | ) |
Definition at line 640 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Integer_Range | ) |
Definition at line 495 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Integer_Range64Boundary | ) |
Definition at line 520 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Integer_Range64BoundaryExclusive | ) |
Definition at line 598 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Integer_RangeU64Boundary | ) |
Definition at line 549 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Issue1017_allOfHandler | ) |
Definition at line 2001 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Issue608 | ) |
Definition at line 1973 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Issue728_AllOfRef | ) |
Definition at line 1987 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Issue825 | ) |
Definition at line 1994 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| MultiType | ) |
Definition at line 185 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| MultiTypeInObject | ) |
Definition at line 1494 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| MultiTypeWithObject | ) |
Definition at line 1516 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Not | ) |
Definition at line 308 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Null | ) |
Definition at line 1451 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Number_MultipleOf | ) |
Definition at line 870 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Number_MultipleOfOne | ) |
Definition at line 909 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Number_Range | ) |
Definition at line 654 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Number_RangeDouble | ) |
Definition at line 750 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Number_RangeDoubleU64Boundary | ) |
Definition at line 826 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Number_RangeInt | ) |
Definition at line 686 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object | ) |
Definition at line 923 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_AdditionalPropertiesBoolean | ) |
Definition at line 973 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_AdditionalPropertiesObject | ) |
Definition at line 998 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_Properties | ) |
Definition at line 942 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_PropertiesRange | ) |
Definition at line 1080 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_PropertyDependencies | ) |
Definition at line 1104 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_Required | ) |
Definition at line 1023 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_Required_PassWithDefault | ) |
Definition at line 1052 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Object_SchemaDependencies | ) |
Definition at line 1133 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| ObjectInArray | ) |
Definition at line 1476 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| OneOf | ) |
Definition at line 283 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Ref | ) |
Definition at line 319 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Ref_AllOf | ) |
Definition at line 347 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Ref_remote | ) |
Definition at line 2020 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Ref_remote_issue1210 | ) |
Definition at line 2037 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| String | ) |
Definition at line 389 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| String_LengthRange | ) |
Definition at line 422 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| TestSuite | ) |
Definition at line 1768 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| Typeless | ) |
Definition at line 175 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| ValidateMetaSchema | ) |
Definition at line 1645 of file schematest.cpp.

| TEST | ( | SchemaValidator | , |
| ValidateMetaSchema_UTF16 | ) |
Definition at line 1670 of file schematest.cpp.
