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.

80 lines
1.6 KiB

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