Classes | |
| class | MyErrorHandler |
Functions | |
| auto | generateSchema (const std::string &first_combination, const std::string &second_combination) -> nlohmann::json |
| auto | operator<< (std::string first, const std::string &second) -> std::string |
| auto | rootError (const std::string &combination_type, std::size_t number_of_subschemas) -> std::string |
| auto | combinationError (const std::string &combination_type, std::size_t test_case_number) -> std::string |
| auto | validate (const nlohmann::json &schema, const nlohmann::json &instance, nlohmann::json_schema::error_handler *error_handler=nullptr) -> void |
| auto | simpleTest (const std::string &first_combination, const std::string &second_combination) -> void |
| auto | verboseTest (const std::string &first_combination, const std::string &second_combination) -> void |
Variables | |
| int | g_error_count = 0 |
| const std::string | g_schema_template |
| auto anonymous_namespace{issue-105-verbose-combination-errors.cpp}::combinationError | ( | const std::string & | combination_type, |
| std::size_t | test_case_number )->std::string |
Definition at line 152 of file issue-105-verbose-combination-errors.cpp.
Referenced by verboseTest().
| auto anonymous_namespace{issue-105-verbose-combination-errors.cpp}::generateSchema | ( | const std::string & | first_combination, |
| const std::string & | second_combination )->nlohmann::json |
Definition at line 99 of file issue-105-verbose-combination-errors.cpp.
References g_schema_template.
Referenced by simpleTest(), and verboseTest().
| auto anonymous_namespace{issue-105-verbose-combination-errors.cpp}::operator<< | ( | std::string | first, |
| const std::string & | second )->std::string |
Definition at line 140 of file issue-105-verbose-combination-errors.cpp.
Referenced by verboseTest().
| auto anonymous_namespace{issue-105-verbose-combination-errors.cpp}::rootError | ( | const std::string & | combination_type, |
| std::size_t | number_of_subschemas )->std::string |
Definition at line 147 of file issue-105-verbose-combination-errors.cpp.
Referenced by simpleTest(), and verboseTest().
| auto anonymous_namespace{issue-105-verbose-combination-errors.cpp}::simpleTest | ( | const std::string & | first_combination, |
| const std::string & | second_combination )->void |
Definition at line 175 of file issue-105-verbose-combination-errors.cpp.
References generateSchema(), rootError(), and validate().
Referenced by main().
| 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 |
Definition at line 160 of file issue-105-verbose-combination-errors.cpp.
References nlohmann::json_schema::json_validator::set_root_schema(), nlohmann::json_schema::json_validator::validate(), and nlohmann::json_schema::json_validator::validate().
Referenced by simpleTest(), and verboseTest().
| auto anonymous_namespace{issue-105-verbose-combination-errors.cpp}::verboseTest | ( | const std::string & | first_combination, |
| const std::string & | second_combination )->void |
Definition at line 186 of file issue-105-verbose-combination-errors.cpp.
References combinationError(), generateSchema(), anonymous_namespace{issue-105-verbose-combination-errors.cpp}::MyErrorHandler::getErrors(), anonymous_namespace{issue-105-verbose-combination-errors.cpp}::MyErrorHandler::ErrorEntry::message, operator<<(), anonymous_namespace{issue-105-verbose-combination-errors.cpp}::MyErrorHandler::ErrorEntry::ptr, rootError(), and validate().
Referenced by main().
| int anonymous_namespace{issue-105-verbose-combination-errors.cpp}::g_error_count = 0 |
Definition at line 57 of file issue-105-verbose-combination-errors.cpp.
Referenced by main().
| const std::string anonymous_namespace{issue-105-verbose-combination-errors.cpp}::g_schema_template |
Definition at line 62 of file issue-105-verbose-combination-errors.cpp.
Referenced by generateSchema().