Definition at line 43 of file test_responses.cpp.
◆ mock_data_handler_provider()
response_test_fixture::mock_data_handler_provider::mock_data_handler_provider |
( |
response_test_fixture & | fixture | ) |
|
|
inline |
◆ serialize_to_variant()
template<typename ActionTrace >
std::tuple< fc::variant, std::optional< fc::variant > > response_test_fixture::mock_data_handler_provider::serialize_to_variant |
( |
const ActionTrace & | action, |
|
|
const yield_function & | yield ) |
|
inline |
Definition at line 49 of file test_responses.cpp.
49 {
50 if constexpr(std::is_same_v<ActionTrace, action_trace_v0>){
52 }
53 else if constexpr(std::is_same_v<ActionTrace, action_trace_v1>){
55 }
56 }
std::function< std::tuple< fc::variant, std::optional< fc::variant > >(const action_trace_v1 &, const yield_function &)> mock_data_handler_v1
std::function< std::tuple< fc::variant, std::optional< fc::variant > >(const action_trace_v0 &, const yield_function &)> mock_data_handler_v0
◆ fixture
The documentation for this struct was generated from the following file: