Go to the documentation of this file.
15 #ifndef OPENSSL_HEADER_CRYPTO_TEST_FILE_TEST_H
16 #define OPENSSL_HEADER_CRYPTO_TEST_FILE_TEST_H
272 #endif // OPENSSL_HEADER_CRYPTO_TEST_FILE_TEST_H
bool GetBytes(std::vector< uint8_t > *out, const std::string &key)
void IgnoreAttribute(const std::string &key)
std::map< std::string, size_t > attribute_count_
const std::string & GetParameter()
std::unique_ptr< LineReader > reader_
std::map< std::string, std::string > instructions_
bool IsAtNewInstructionBlock() const
bool GetInstruction(std::string *out_value, const std::string &key)
void InjectInstruction(const std::string &key, const std::string &value)
std::function< void(const std::string &)> comment_callback_
FileTest & operator=(const FileTest &)=delete
virtual ReadResult ReadLine(char *out, size_t len)=0
bool is_at_new_instruction_block_
std::set< std::string > unused_attributes_
bool HasInstruction(const std::string &key)
void FileTestGTest(const char *path, std::function< void(FileTest *)> run_test)
std::function< void(const std::string &)> comment_callback
const std::string & GetInstructionOrDie(const std::string &key)
bool(* FileTestFunc)(FileTest *t, void *arg)
const std::string & GetAttributeOrDie(const std::string &key)
void unsigned start_line() const
int FileTestMain(FileTestFunc run_test, void *arg, const char *path)
OPENSSL_MSVC_PRAGMA(warning(disable:4702))
std::string current_test_
bool GetInstructionBytes(std::vector< uint8_t > *out, const std::string &key)
const std::string & GetType()
int push(void *desc, unsigned char *buf, unsigned len)
void OnKeyUsed(const std::string &key)
bool GetAttribute(std::string *out_value, const std::string &key)
std::map< std::string, std::string > attributes_
void PrintLine(const char *format,...) OPENSSL_PRINTF_FORMAT_FUNC(2
std::set< std::string > unused_instructions_
bool HasAttribute(const std::string &key)
void IgnoreInstruction(const std::string &key)
void OnInstructionUsed(const std::string &key)
const std::string & CurrentTestToString() const
FileTest(std::unique_ptr< LineReader > reader, std::function< void(const std::string &)> comment_callback, bool is_kas_test)
void IgnoreAllUnusedInstructions()
#define OPENSSL_PRINTF_FORMAT_FUNC(string_index, first_to_check)
bool ConvertToBytes(std::vector< uint8_t > *out, const std::string &value)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:20