You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.8 KiB

  1. // Code generated by mockery v2.1.0. DO NOT EDIT.
  2. package mocks
  3. import (
  4. mock "github.com/stretchr/testify/mock"
  5. abcitypes "github.com/tendermint/tendermint/abci/types"
  6. state "github.com/tendermint/tendermint/state"
  7. types "github.com/tendermint/tendermint/types"
  8. )
  9. // EvidencePool is an autogenerated mock type for the EvidencePool type
  10. type EvidencePool struct {
  11. mock.Mock
  12. }
  13. // ABCIEvidence provides a mock function with given fields: _a0, _a1
  14. func (_m *EvidencePool) ABCIEvidence(_a0 int64, _a1 []types.Evidence) []abcitypes.Evidence {
  15. ret := _m.Called(_a0, _a1)
  16. var r0 []abcitypes.Evidence
  17. if rf, ok := ret.Get(0).(func(int64, []types.Evidence) []abcitypes.Evidence); ok {
  18. r0 = rf(_a0, _a1)
  19. } else {
  20. if ret.Get(0) != nil {
  21. r0 = ret.Get(0).([]abcitypes.Evidence)
  22. }
  23. }
  24. return r0
  25. }
  26. // AddEvidence provides a mock function with given fields: _a0
  27. func (_m *EvidencePool) AddEvidence(_a0 types.Evidence) error {
  28. ret := _m.Called(_a0)
  29. var r0 error
  30. if rf, ok := ret.Get(0).(func(types.Evidence) error); ok {
  31. r0 = rf(_a0)
  32. } else {
  33. r0 = ret.Error(0)
  34. }
  35. return r0
  36. }
  37. // CheckEvidence provides a mock function with given fields: _a0
  38. func (_m *EvidencePool) CheckEvidence(_a0 types.EvidenceList) error {
  39. ret := _m.Called(_a0)
  40. var r0 error
  41. if rf, ok := ret.Get(0).(func(types.EvidenceList) error); ok {
  42. r0 = rf(_a0)
  43. } else {
  44. r0 = ret.Error(0)
  45. }
  46. return r0
  47. }
  48. // PendingEvidence provides a mock function with given fields: _a0
  49. func (_m *EvidencePool) PendingEvidence(_a0 uint32) []types.Evidence {
  50. ret := _m.Called(_a0)
  51. var r0 []types.Evidence
  52. if rf, ok := ret.Get(0).(func(uint32) []types.Evidence); ok {
  53. r0 = rf(_a0)
  54. } else {
  55. if ret.Get(0) != nil {
  56. r0 = ret.Get(0).([]types.Evidence)
  57. }
  58. }
  59. return r0
  60. }
  61. // Update provides a mock function with given fields: _a0
  62. func (_m *EvidencePool) Update(_a0 state.State) {
  63. _m.Called(_a0)
  64. }