12 #ifndef CPROVER_JAVA_TESTING_UTILS_REQUIRE_PARSE_TREE_H 13 #define CPROVER_JAVA_TESTING_UTILS_REQUIRE_PARSE_TREE_H 17 #include <testing-utils/catch.hpp> 27 const std::string &lambda_method_ref,
28 const std::string &method_type);
61 #endif // CPROVER_JAVA_TESTING_UTILS_REQUIRE_PARSE_TREE_H irep_idt instruction_mnemoic
void require_instructions_equal(java_bytecode_parse_treet::instructiont actual_instruction) const
Check whether a given instruction matches an expectation of the instruction.
std::vector< instructiont > instructionst
const methodt require_method(const java_bytecode_parse_treet::classt &parsed_class, const irep_idt &method_name)
Finds a specific method in the parsed class with a matching name.
void require_instructions_match_expectation(const expected_instructionst &expected_instructions, const java_bytecode_parse_treet::methodt::instructionst instructions)
Verify whether a given methods instructions match an expectation.
std::vector< exprt > instruction_arguments
lambda_method_handlet require_lambda_entry_for_descriptor(const java_bytecode_parse_treet::classt &parsed_class, const std::string &lambda_method_ref, const std::string &method_type)
Find in the parsed class a specific entry within the lambda_method_handle_map with a matching descrip...
expected_instructiont(const irep_idt &instruction_mnemoic, const std::vector< exprt > &instruction_arguments)
std::vector< expected_instructiont > expected_instructionst
java_bytecode_parse_treet::classt::lambda_method_handlet lambda_method_handlet
java_bytecode_parse_treet::methodt methodt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.