bitbucket.org/number571/tendermint@v0.8.14/internal/consensus/mocks/cons_sync_reactor.go (about) 1 // Code generated by mockery 2.7.5. DO NOT EDIT. 2 3 package mocks 4 5 import ( 6 state "bitbucket.org/number571/tendermint/state" 7 mock "github.com/stretchr/testify/mock" 8 ) 9 10 // ConsSyncReactor is an autogenerated mock type for the ConsSyncReactor type 11 type ConsSyncReactor struct { 12 mock.Mock 13 } 14 15 // SetFastSyncingMetrics provides a mock function with given fields: _a0 16 func (_m *ConsSyncReactor) SetFastSyncingMetrics(_a0 float64) { 17 _m.Called(_a0) 18 } 19 20 // SetStateSyncingMetrics provides a mock function with given fields: _a0 21 func (_m *ConsSyncReactor) SetStateSyncingMetrics(_a0 float64) { 22 _m.Called(_a0) 23 } 24 25 // SwitchToConsensus provides a mock function with given fields: _a0, _a1 26 func (_m *ConsSyncReactor) SwitchToConsensus(_a0 state.State, _a1 bool) { 27 _m.Called(_a0, _a1) 28 }