Go to the source code of this file.
Classes | |
| class | store_ptr_err_handler |
Macros | |
| #define | EXPECT_EQ(a, b) |
| #define | EXPECT_THROW(foo) |
Typedefs | |
| using | json = nlohmann::json |
| using | validator = nlohmann::json_schema::json_validator |
Functions | |
| static void | content (const std::string &contentEncoding, const std::string &contentMediaType, const json &instance) |
| int | main () |
Variables | |
| static int | error_count = 0 |
| const json | bson_schema |
| const json | array_of_types |
| const json | array_of_types_without_binary |
| #define EXPECT_EQ | ( | a, | |
| b ) |
Definition at line 9 of file binary-validation.cpp.
| #define EXPECT_THROW | ( | foo | ) |
Definition at line 17 of file binary-validation.cpp.
| using json = nlohmann::json |
Definition at line 30 of file binary-validation.cpp.
Definition at line 31 of file binary-validation.cpp.
|
static |
Definition at line 94 of file binary-validation.cpp.
Referenced by main().
| int main | ( | void | ) |
Definition at line 109 of file binary-validation.cpp.
References array_of_types, array_of_types_without_binary, bson_schema, content(), error_count, store_ptr_err_handler::failed_pointers, nlohmann::json_schema::json_validator::json_validator(), store_ptr_err_handler::reset(), nlohmann::json_schema::json_validator::set_root_schema(), and nlohmann::json_schema::json_validator::validate().
| const json array_of_types |
Definition at line 50 of file binary-validation.cpp.
Referenced by main().
| const json array_of_types_without_binary |
Definition at line 62 of file binary-validation.cpp.
Referenced by main().
| const json bson_schema |
Definition at line 34 of file binary-validation.cpp.
Referenced by main().
|
static |
Definition at line 7 of file binary-validation.cpp.
Referenced by main().