Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
extraction_test_fixture Struct Reference
Collaboration diagram for extraction_test_fixture:

Classes

struct  mock_logfile_provider_type
 

Public Member Functions

 extraction_test_fixture ()
 
void signal_applied_transaction (const chain::transaction_trace_ptr &trace, const chain::packed_transaction_ptr &ptrx)
 
void signal_accepted_block (const chain::block_state_ptr &bsp)
 

Public Attributes

uint32_t max_lib = 0
 
std::vector< data_log_entrydata_log = {}
 
std::unordered_map< uint32_t, std::vector< chain::transaction_id_type > > id_log
 
chain_extraction_impl_type< mock_logfile_provider_typeextraction_impl
 

Detailed Description

Definition at line 101 of file test_extraction.cpp.

Constructor & Destructor Documentation

◆ extraction_test_fixture()

extraction_test_fixture::extraction_test_fixture ( )
inline

Definition at line 131 of file test_extraction.cpp.

132 : extraction_impl(mock_logfile_provider_type(*this), exception_handler{} )
133 {
134 }
chain_extraction_impl_type< mock_logfile_provider_type > extraction_impl

Member Function Documentation

◆ signal_accepted_block()

void extraction_test_fixture::signal_accepted_block ( const chain::block_state_ptr & bsp)
inline

Definition at line 140 of file test_extraction.cpp.

140 {
141 extraction_impl.signal_accepted_block(bsp);
142 }

◆ signal_applied_transaction()

void extraction_test_fixture::signal_applied_transaction ( const chain::transaction_trace_ptr & trace,
const chain::packed_transaction_ptr & ptrx )
inline

Definition at line 136 of file test_extraction.cpp.

136 {
137 extraction_impl.signal_applied_transaction(trace, ptrx);
138 }

Member Data Documentation

◆ data_log

std::vector<data_log_entry> extraction_test_fixture::data_log = {}

Definition at line 146 of file test_extraction.cpp.

146{};

◆ extraction_impl

chain_extraction_impl_type<mock_logfile_provider_type> extraction_test_fixture::extraction_impl

Definition at line 149 of file test_extraction.cpp.

◆ id_log

std::unordered_map<uint32_t, std::vector<chain::transaction_id_type> > extraction_test_fixture::id_log

Definition at line 147 of file test_extraction.cpp.

◆ max_lib

uint32_t extraction_test_fixture::max_lib = 0

Definition at line 145 of file test_extraction.cpp.


The documentation for this struct was generated from the following file: