#ifndef CPER_IR_TEST_UTILS_H #define CPER_IR_TEST_UTILS_H #ifdef __cplusplus extern "C" { #endif #include #include #include #include // Controls whether required properties are added to the majority of property // definitions. This is useful for unit tests that are validating JSON where // all fields are valid enum AddRequiredProps { AddRequired, NoModify }; FILE *generate_record_memstream(const char **types, UINT16 num_types, char **buf, size_t *buf_size, int single_section, GEN_VALID_BITS_TEST_TYPE validBitsType); int schema_validate_from_file(json_object *to_test, int single_section, int all_valid_bits); #ifdef __cplusplus } #endif #endif