Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutableState ¶ added in v0.14.0
MutableState is an autogenerated mock type for the MutableState type
func NewMutableState ¶ added in v0.26.1
func NewMutableState(t interface { mock.TestingT Cleanup(func()) }) *MutableState
NewMutableState creates a new instance of MutableState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MutableState) AtBlockID ¶ added in v0.14.0
func (_m *MutableState) AtBlockID(blockID flow.Identifier) cluster.Snapshot
AtBlockID provides a mock function with given fields: blockID
func (*MutableState) Extend ¶ added in v0.14.0
func (_m *MutableState) Extend(candidate *modelcluster.Block) error
Extend provides a mock function with given fields: candidate
func (*MutableState) Final ¶ added in v0.14.0
func (_m *MutableState) Final() cluster.Snapshot
Final provides a mock function with given fields:
func (*MutableState) Params ¶ added in v0.14.0
func (_m *MutableState) Params() cluster.Params
Params provides a mock function with given fields:
type Params ¶ added in v0.9.6
Params is an autogenerated mock type for the Params type
type Snapshot ¶
Snapshot is an autogenerated mock type for the Snapshot type
func NewSnapshot ¶ added in v0.26.1
NewSnapshot creates a new instance of Snapshot. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Snapshot) Collection ¶
func (_m *Snapshot) Collection() (*flow.Collection, error)
Collection provides a mock function with given fields:
type State ¶
State is an autogenerated mock type for the State type
func NewState ¶ added in v0.26.1
NewState creates a new instance of State. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*State) AtBlockID ¶
func (_m *State) AtBlockID(blockID flow.Identifier) cluster.Snapshot
AtBlockID provides a mock function with given fields: blockID