Available on crate feature
test-utils only.Expand description
Utilities for writing tests.
Structs§
- Mock
Daser Handle - Mock handle for
Daser. - Mock
P2pHandle - A handle to the mocked
P2pcomponent.
Traits§
- Extended
Header Generator Ext - Extends test header generator for easier insertion into the store
Functions§
- gen_
filled_ store - Generate a store pre-filled with headers.
- listening_
test_ node_ builder NodeBuilderwith listen address and default values for the usage in tests.- new_
block_ ranges - Convenience function for creating a
BlockRangeout of a list ofN..=Mranges - test_
node_ builder NodeBuilderwith default values for the usage in tests.