|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include "interfaces/json-rpc/IClient.h"#include "interfaces/json-rpc/ITransportLayer.h"#include "interfaces/json-rpc/JSONRPC.h"#include "interfaces/json-rpc/JSONServiceDescription.h"#include "utils/JSONVariantParser.h"#include "utils/JSONVariantWriter.h"#include "utils/StringUtils.h"#include "utils/Variant.h"#include <string>#include <vector>#include <gtest/gtest.h>Classes | |
| class | TestJSONServiceDescription |
Functions | |
| TEST_F (TestJSONServiceDescription, A2020DefinitionReadsAsItsDraft03Twin) | |
| TEST_F (TestJSONServiceDescription, RequiredArrayMatchesMixedCaseProperties) | |
| TEST_F (TestJSONServiceDescription, RequiredArrayNamingUnknownPropertyFailsParse) | |
| TEST_F (TestJSONServiceDescription, SchemaWithAMalformedTypeStillFailsParse) | |
| TEST_F (TestJSONServiceDescription, AnAllOfMemberThatIsNotAReferenceFailsParse) | |
| TEST_F (TestJSONServiceDescription, MutuallyReferencingTypes) | |
| Two types referencing each other resolve, whichever arrives first. | |
| TEST_F (TestJSONServiceDescription, ForwardCompositionReference) | |
| TEST_F (TestJSONServiceDescription, IntrospectReportsADeprecatedProperty) | |
| TEST_F (TestJSONServiceDescription, FilteredNotificationIncludesItsReferencedTypes) | |
| TEST_F | ( | TestJSONServiceDescription | , |
| A2020DefinitionReadsAsItsDraft03Twin | ) |
| TEST_F | ( | TestJSONServiceDescription | , |
| AnAllOfMemberThatIsNotAReferenceFailsParse | ) |
| TEST_F | ( | TestJSONServiceDescription | , |
| FilteredNotificationIncludesItsReferencedTypes | ) |
A notification is printed as written, so the types it refers to are found in its text, along with the types those refer to in turn.
| TEST_F | ( | TestJSONServiceDescription | , |
| ForwardCompositionReference | ) |
A derived type registered before its base is replayed only once the base has parsed, so its own properties and defaults are enforced.
| TEST_F | ( | TestJSONServiceDescription | , |
| IntrospectReportsADeprecatedProperty | ) |
A single property can carry the annotation without the whole type being deprecated, and a deprecated reference does not deprecate the type it refers to.
| TEST_F | ( | TestJSONServiceDescription | , |
| MutuallyReferencingTypes | ) |
Two types referencing each other resolve, whichever arrives first.
| TEST_F | ( | TestJSONServiceDescription | , |
| RequiredArrayMatchesMixedCaseProperties | ) |
| TEST_F | ( | TestJSONServiceDescription | , |
| RequiredArrayNamingUnknownPropertyFailsParse | ) |
| TEST_F | ( | TestJSONServiceDescription | , |
| SchemaWithAMalformedTypeStillFailsParse | ) |