github.com/lino-network/lino@v0.6.11/x/global/manager/mocks/FakeApp.go (about) 1 // Code generated by mockery v1.0.0. DO NOT EDIT. 2 3 package mocks 4 5 import ( 6 linotypes "github.com/lino-network/lino/types" 7 8 mock "github.com/stretchr/testify/mock" 9 10 types "github.com/cosmos/cosmos-sdk/types" 11 ) 12 13 // FakeApp is an autogenerated mock type for the FakeApp type 14 type FakeApp struct { 15 mock.Mock 16 } 17 18 // Daily provides a mock function with given fields: ctx 19 func (_m *FakeApp) Daily(ctx types.Context) []linotypes.BCEventErr { 20 ret := _m.Called(ctx) 21 22 var r0 []linotypes.BCEventErr 23 if rf, ok := ret.Get(0).(func(types.Context) []linotypes.BCEventErr); ok { 24 r0 = rf(ctx) 25 } else { 26 if ret.Get(0) != nil { 27 r0 = ret.Get(0).([]linotypes.BCEventErr) 28 } 29 } 30 31 return r0 32 } 33 34 // Hourly provides a mock function with given fields: ctx 35 func (_m *FakeApp) Hourly(ctx types.Context) []linotypes.BCEventErr { 36 ret := _m.Called(ctx) 37 38 var r0 []linotypes.BCEventErr 39 if rf, ok := ret.Get(0).(func(types.Context) []linotypes.BCEventErr); ok { 40 r0 = rf(ctx) 41 } else { 42 if ret.Get(0) != nil { 43 r0 = ret.Get(0).([]linotypes.BCEventErr) 44 } 45 } 46 47 return r0 48 } 49 50 // Monthly provides a mock function with given fields: ctx 51 func (_m *FakeApp) Monthly(ctx types.Context) []linotypes.BCEventErr { 52 ret := _m.Called(ctx) 53 54 var r0 []linotypes.BCEventErr 55 if rf, ok := ret.Get(0).(func(types.Context) []linotypes.BCEventErr); ok { 56 r0 = rf(ctx) 57 } else { 58 if ret.Get(0) != nil { 59 r0 = ret.Get(0).([]linotypes.BCEventErr) 60 } 61 } 62 63 return r0 64 } 65 66 // Yearly provides a mock function with given fields: ctx 67 func (_m *FakeApp) Yearly(ctx types.Context) []linotypes.BCEventErr { 68 ret := _m.Called(ctx) 69 70 var r0 []linotypes.BCEventErr 71 if rf, ok := ret.Get(0).(func(types.Context) []linotypes.BCEventErr); ok { 72 r0 = rf(ctx) 73 } else { 74 if ret.Get(0) != nil { 75 r0 = ret.Get(0).([]linotypes.BCEventErr) 76 } 77 } 78 79 return r0 80 }