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.

209 lines
5.7 KiB

  1. // Code generated by mockery. DO NOT EDIT.
  2. package mocks
  3. import (
  4. mock "github.com/stretchr/testify/mock"
  5. types "github.com/tendermint/tendermint/abci/types"
  6. )
  7. // Application is an autogenerated mock type for the Application type
  8. type Application struct {
  9. mock.Mock
  10. }
  11. // ApplySnapshotChunk provides a mock function with given fields: _a0
  12. func (_m *Application) ApplySnapshotChunk(_a0 types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk {
  13. ret := _m.Called(_a0)
  14. var r0 types.ResponseApplySnapshotChunk
  15. if rf, ok := ret.Get(0).(func(types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk); ok {
  16. r0 = rf(_a0)
  17. } else {
  18. r0 = ret.Get(0).(types.ResponseApplySnapshotChunk)
  19. }
  20. return r0
  21. }
  22. // CheckTx provides a mock function with given fields: _a0
  23. func (_m *Application) CheckTx(_a0 types.RequestCheckTx) types.ResponseCheckTx {
  24. ret := _m.Called(_a0)
  25. var r0 types.ResponseCheckTx
  26. if rf, ok := ret.Get(0).(func(types.RequestCheckTx) types.ResponseCheckTx); ok {
  27. r0 = rf(_a0)
  28. } else {
  29. r0 = ret.Get(0).(types.ResponseCheckTx)
  30. }
  31. return r0
  32. }
  33. // Commit provides a mock function with given fields:
  34. func (_m *Application) Commit() types.ResponseCommit {
  35. ret := _m.Called()
  36. var r0 types.ResponseCommit
  37. if rf, ok := ret.Get(0).(func() types.ResponseCommit); ok {
  38. r0 = rf()
  39. } else {
  40. r0 = ret.Get(0).(types.ResponseCommit)
  41. }
  42. return r0
  43. }
  44. // ExtendVote provides a mock function with given fields: _a0
  45. func (_m *Application) ExtendVote(_a0 types.RequestExtendVote) types.ResponseExtendVote {
  46. ret := _m.Called(_a0)
  47. var r0 types.ResponseExtendVote
  48. if rf, ok := ret.Get(0).(func(types.RequestExtendVote) types.ResponseExtendVote); ok {
  49. r0 = rf(_a0)
  50. } else {
  51. r0 = ret.Get(0).(types.ResponseExtendVote)
  52. }
  53. return r0
  54. }
  55. // FinalizeBlock provides a mock function with given fields: _a0
  56. func (_m *Application) FinalizeBlock(_a0 types.RequestFinalizeBlock) types.ResponseFinalizeBlock {
  57. ret := _m.Called(_a0)
  58. var r0 types.ResponseFinalizeBlock
  59. if rf, ok := ret.Get(0).(func(types.RequestFinalizeBlock) types.ResponseFinalizeBlock); ok {
  60. r0 = rf(_a0)
  61. } else {
  62. r0 = ret.Get(0).(types.ResponseFinalizeBlock)
  63. }
  64. return r0
  65. }
  66. // Info provides a mock function with given fields: _a0
  67. func (_m *Application) Info(_a0 types.RequestInfo) types.ResponseInfo {
  68. ret := _m.Called(_a0)
  69. var r0 types.ResponseInfo
  70. if rf, ok := ret.Get(0).(func(types.RequestInfo) types.ResponseInfo); ok {
  71. r0 = rf(_a0)
  72. } else {
  73. r0 = ret.Get(0).(types.ResponseInfo)
  74. }
  75. return r0
  76. }
  77. // InitChain provides a mock function with given fields: _a0
  78. func (_m *Application) InitChain(_a0 types.RequestInitChain) types.ResponseInitChain {
  79. ret := _m.Called(_a0)
  80. var r0 types.ResponseInitChain
  81. if rf, ok := ret.Get(0).(func(types.RequestInitChain) types.ResponseInitChain); ok {
  82. r0 = rf(_a0)
  83. } else {
  84. r0 = ret.Get(0).(types.ResponseInitChain)
  85. }
  86. return r0
  87. }
  88. // ListSnapshots provides a mock function with given fields: _a0
  89. func (_m *Application) ListSnapshots(_a0 types.RequestListSnapshots) types.ResponseListSnapshots {
  90. ret := _m.Called(_a0)
  91. var r0 types.ResponseListSnapshots
  92. if rf, ok := ret.Get(0).(func(types.RequestListSnapshots) types.ResponseListSnapshots); ok {
  93. r0 = rf(_a0)
  94. } else {
  95. r0 = ret.Get(0).(types.ResponseListSnapshots)
  96. }
  97. return r0
  98. }
  99. // LoadSnapshotChunk provides a mock function with given fields: _a0
  100. func (_m *Application) LoadSnapshotChunk(_a0 types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk {
  101. ret := _m.Called(_a0)
  102. var r0 types.ResponseLoadSnapshotChunk
  103. if rf, ok := ret.Get(0).(func(types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk); ok {
  104. r0 = rf(_a0)
  105. } else {
  106. r0 = ret.Get(0).(types.ResponseLoadSnapshotChunk)
  107. }
  108. return r0
  109. }
  110. // OfferSnapshot provides a mock function with given fields: _a0
  111. func (_m *Application) OfferSnapshot(_a0 types.RequestOfferSnapshot) types.ResponseOfferSnapshot {
  112. ret := _m.Called(_a0)
  113. var r0 types.ResponseOfferSnapshot
  114. if rf, ok := ret.Get(0).(func(types.RequestOfferSnapshot) types.ResponseOfferSnapshot); ok {
  115. r0 = rf(_a0)
  116. } else {
  117. r0 = ret.Get(0).(types.ResponseOfferSnapshot)
  118. }
  119. return r0
  120. }
  121. // PrepareProposal provides a mock function with given fields: _a0
  122. func (_m *Application) PrepareProposal(_a0 types.RequestPrepareProposal) types.ResponsePrepareProposal {
  123. ret := _m.Called(_a0)
  124. var r0 types.ResponsePrepareProposal
  125. if rf, ok := ret.Get(0).(func(types.RequestPrepareProposal) types.ResponsePrepareProposal); ok {
  126. r0 = rf(_a0)
  127. } else {
  128. r0 = ret.Get(0).(types.ResponsePrepareProposal)
  129. }
  130. return r0
  131. }
  132. // ProcessProposal provides a mock function with given fields: _a0
  133. func (_m *Application) ProcessProposal(_a0 types.RequestProcessProposal) types.ResponseProcessProposal {
  134. ret := _m.Called(_a0)
  135. var r0 types.ResponseProcessProposal
  136. if rf, ok := ret.Get(0).(func(types.RequestProcessProposal) types.ResponseProcessProposal); ok {
  137. r0 = rf(_a0)
  138. } else {
  139. r0 = ret.Get(0).(types.ResponseProcessProposal)
  140. }
  141. return r0
  142. }
  143. // Query provides a mock function with given fields: _a0
  144. func (_m *Application) Query(_a0 types.RequestQuery) types.ResponseQuery {
  145. ret := _m.Called(_a0)
  146. var r0 types.ResponseQuery
  147. if rf, ok := ret.Get(0).(func(types.RequestQuery) types.ResponseQuery); ok {
  148. r0 = rf(_a0)
  149. } else {
  150. r0 = ret.Get(0).(types.ResponseQuery)
  151. }
  152. return r0
  153. }
  154. // VerifyVoteExtension provides a mock function with given fields: _a0
  155. func (_m *Application) VerifyVoteExtension(_a0 types.RequestVerifyVoteExtension) types.ResponseVerifyVoteExtension {
  156. ret := _m.Called(_a0)
  157. var r0 types.ResponseVerifyVoteExtension
  158. if rf, ok := ret.Get(0).(func(types.RequestVerifyVoteExtension) types.ResponseVerifyVoteExtension); ok {
  159. r0 = rf(_a0)
  160. } else {
  161. r0 = ret.Get(0).(types.ResponseVerifyVoteExtension)
  162. }
  163. return r0
  164. }