Wire Sysio Wire Sysion 1.0.0
|
Namespaces | |
namespace | mock |
Classes | |
class | base_tester |
struct | chainbase_fixture |
struct | fc_assert_exception_message_is |
struct | fc_assert_exception_message_starts_with |
struct | fc_exception_message_is |
struct | fc_exception_message_starts_with |
struct | sysio_assert_code_is |
struct | sysio_assert_message_is |
struct | sysio_assert_message_starts_with |
class | tester |
provides utility function to simplify the creation of unit tests More... | |
class | tester_network |
The tester_network class provides a simplistic virtual P2P network connecting testing_blockchains together. More... | |
class | validating_tester |
Typedefs | |
using | subjective_restriction_map = std::map<builtin_protocol_feature_t, protocol_feature_subjective_restrictions> |
Enumerations | |
enum class | setup_policy { none , old_bios_only , preactivate_feature_only , preactivate_feature_and_new_bios , old_wasm_parser , full } |
Functions | |
std::vector< uint8_t > | read_wasm (const char *fn) |
std::vector< char > | read_abi (const char *fn) |
std::string | read_wast (const char *fn) |
std::string | read_binary_snapshot (const char *fn) |
fc::variant | read_json_snapshot (const char *fn) |
fc::variant_object | filter_fields (const fc::variant_object &filter, const fc::variant_object &value) |
void | copy_row (const chain::key_value_object &obj, vector< char > &data) |
bool | expect_assert_message (const fc::exception &ex, string expected) |
protocol_feature_set | make_protocol_feature_set (const subjective_restriction_map &custom_subjective_restrictions={}) |
FC_CAPTURE_AND_RETHROW ((account)) void base_tester | |
using sysio::testing::subjective_restriction_map = std::map<builtin_protocol_feature_t, protocol_feature_subjective_restrictions> |
Definition at line 85 of file tester.hpp.
|
strong |
Enumerator | |
---|---|
none | |
old_bios_only | |
preactivate_feature_only | |
preactivate_feature_and_new_bios | |
old_wasm_parser | |
full |
Definition at line 61 of file tester.hpp.
void sysio::testing::copy_row | ( | const chain::key_value_object & | obj, |
vector< char > & | data ) |
Definition at line 105 of file tester.cpp.
bool sysio::testing::expect_assert_message | ( | const fc::exception & | ex, |
string | expected ) |
Definition at line 91 of file tester.cpp.
sysio::testing::FC_CAPTURE_AND_RETHROW | ( | (account) | ) |
Definition at line 911 of file tester.cpp.
fc::variant_object sysio::testing::filter_fields | ( | const fc::variant_object & | filter, |
const fc::variant_object & | value ) |
Definition at line 96 of file tester.cpp.
protocol_feature_set sysio::testing::make_protocol_feature_set | ( | const subjective_restriction_map & | custom_subjective_restrictions = {} | ) |
Definition at line 110 of file tester.cpp.
std::vector< char > sysio::testing::read_abi | ( | const char * | fn | ) |
Definition at line 52 of file tester.cpp.
std::string sysio::testing::read_binary_snapshot | ( | const char * | fn | ) |
Definition at line 81 of file tester.cpp.
fc::variant sysio::testing::read_json_snapshot | ( | const char * | fn | ) |
std::vector< uint8_t > sysio::testing::read_wasm | ( | const char * | fn | ) |
Definition at line 38 of file tester.cpp.
std::string sysio::testing::read_wast | ( | const char * | fn | ) |
Definition at line 23 of file tester.cpp.