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.

89 lines
2.0 KiB

  1. // Code generated by mockery v2.3.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 int64) ([]types.Evidence, int64) {
  50. ret := _m.Called(_a0)
  51. var r0 []types.Evidence
  52. if rf, ok := ret.Get(0).(func(int64) []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. var r1 int64
  60. if rf, ok := ret.Get(1).(func(int64) int64); ok {
  61. r1 = rf(_a0)
  62. } else {
  63. r1 = ret.Get(1).(int64)
  64. }
  65. return r0, r1
  66. }
  67. // Update provides a mock function with given fields: _a0
  68. func (_m *EvidencePool) Update(_a0 state.State) {
  69. _m.Called(_a0)
  70. }