#include "nlohmann/json-schema.hpp"#include "nlohmann/json.hpp"#include <iostream>#include <regex>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::MyErrorHandler |
| struct | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::MyErrorHandler::ErrorEntry |
Namespaces | |
| namespace | anonymous_namespace{issue-105-verbose-combination-errors.cpp} |
Macros | |
| #define | LOG_ERROR(LOG_ERROR__ARGS) |
| #define | EXPECT_THROW_WITH_MESSAGE(EXPRESSION, MESSAGE) |
| #define | ASSERT_OR_EXPECT_EQ(FIRST_THING, SECOND_THING, RETURN_IN_CASE_OF_ERROR) |
| #define | ASSERT_EQ(FIRST_THING, SECOND_THING) |
| #define | EXPECT_EQ(FIRST_THING, SECOND_THING) |
| #define | EXPECT_MATCH(STRING, REGEX) |
Functions | |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::generateSchema (const std::string &first_combination, const std::string &second_combination) -> nlohmann::json |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::operator<< (std::string first, const std::string &second) -> std::string |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::rootError (const std::string &combination_type, std::size_t number_of_subschemas) -> std::string |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::combinationError (const std::string &combination_type, std::size_t test_case_number) -> std::string |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::validate (const nlohmann::json &schema, const nlohmann::json &instance, nlohmann::json_schema::error_handler *error_handler=nullptr) -> void |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::simpleTest (const std::string &first_combination, const std::string &second_combination) -> void |
| auto | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::verboseTest (const std::string &first_combination, const std::string &second_combination) -> void |
| auto | main () -> int |
Variables | |
| int | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::g_error_count = 0 |
| const std::string | anonymous_namespace{issue-105-verbose-combination-errors.cpp}::g_schema_template |
| #define ASSERT_EQ | ( | FIRST_THING, | |
| SECOND_THING ) |
Definition at line 40 of file issue-105-verbose-combination-errors.cpp.
| #define ASSERT_OR_EXPECT_EQ | ( | FIRST_THING, | |
| SECOND_THING, | |||
| RETURN_IN_CASE_OF_ERROR ) |
Definition at line 30 of file issue-105-verbose-combination-errors.cpp.
| #define EXPECT_EQ | ( | FIRST_THING, | |
| SECOND_THING ) |
Definition at line 41 of file issue-105-verbose-combination-errors.cpp.
| #define EXPECT_MATCH | ( | STRING, | |
| REGEX ) |
Definition at line 43 of file issue-105-verbose-combination-errors.cpp.
| #define EXPECT_THROW_WITH_MESSAGE | ( | EXPRESSION, | |
| MESSAGE ) |
Definition at line 15 of file issue-105-verbose-combination-errors.cpp.
| #define LOG_ERROR | ( | LOG_ERROR__ARGS | ) |
Definition at line 12 of file issue-105-verbose-combination-errors.cpp.
| auto main | ( | void | ) | ->int |
Definition at line 308 of file issue-105-verbose-combination-errors.cpp.
References anonymous_namespace{issue-105-verbose-combination-errors.cpp}::g_error_count, anonymous_namespace{issue-105-verbose-combination-errors.cpp}::simpleTest(), and anonymous_namespace{issue-105-verbose-combination-errors.cpp}::verboseTest().