Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type BackendMock
- func (fake *BackendMock) Invocations() map[string][][]interface{}
- func (fake *BackendMock) Load(arg1 view.Context, arg2 *interactive.CertificationRequest) ([][]byte, error)
- func (fake *BackendMock) LoadArgsForCall(i int) (view.Context, *interactive.CertificationRequest)
- func (fake *BackendMock) LoadCallCount() int
- func (fake *BackendMock) LoadCalls(stub func(view.Context, *interactive.CertificationRequest) ([][]byte, error))
- func (fake *BackendMock) LoadReturns(result1 [][]byte, result2 error)
- func (fake *BackendMock) LoadReturnsOnCall(i int, result1 [][]byte, result2 error)
- type CertificationStorageMock
- func (fake *CertificationStorageMock) Exists(arg1 context.Context, arg2 *token.ID) bool
- func (fake *CertificationStorageMock) ExistsArgsForCall(i int) (context.Context, *token.ID)
- func (fake *CertificationStorageMock) ExistsCallCount() int
- func (fake *CertificationStorageMock) ExistsCalls(stub func(context.Context, *token.ID) bool)
- func (fake *CertificationStorageMock) ExistsReturns(result1 bool)
- func (fake *CertificationStorageMock) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *CertificationStorageMock) Invocations() map[string][][]interface{}
- func (fake *CertificationStorageMock) Store(arg1 context.Context, arg2 map[*token.ID][]byte) error
- func (fake *CertificationStorageMock) StoreArgsForCall(i int) (context.Context, map[*token.ID][]byte)
- func (fake *CertificationStorageMock) StoreCallCount() int
- func (fake *CertificationStorageMock) StoreCalls(stub func(context.Context, map[*token.ID][]byte) error)
- func (fake *CertificationStorageMock) StoreReturns(result1 error)
- func (fake *CertificationStorageMock) StoreReturnsOnCall(i int, result1 error)
- type QueryEngineMock
- func (fake *QueryEngineMock) Invocations() map[string][][]interface{}
- func (fake *QueryEngineMock) UnspentTokensIterator(arg1 context.Context) (*token2.UnspentTokensIterator, error)
- func (fake *QueryEngineMock) UnspentTokensIteratorArgsForCall(i int) context.Context
- func (fake *QueryEngineMock) UnspentTokensIteratorCallCount() int
- func (fake *QueryEngineMock) UnspentTokensIteratorCalls(stub func(context.Context) (*token2.UnspentTokensIterator, error))
- func (fake *QueryEngineMock) UnspentTokensIteratorReturns(result1 *token2.UnspentTokensIterator, result2 error)
- func (fake *QueryEngineMock) UnspentTokensIteratorReturnsOnCall(i int, result1 *token2.UnspentTokensIterator, result2 error)
- type ResponderRegistryMock
- func (fake *ResponderRegistryMock) Invocations() map[string][][]interface{}
- func (fake *ResponderRegistryMock) RegisterResponder(arg1 view.View, arg2 interface{}) error
- func (fake *ResponderRegistryMock) RegisterResponderArgsForCall(i int) (view.View, interface{})
- func (fake *ResponderRegistryMock) RegisterResponderCallCount() int
- func (fake *ResponderRegistryMock) RegisterResponderCalls(stub func(view.View, interface{}) error)
- func (fake *ResponderRegistryMock) RegisterResponderReturns(result1 error)
- func (fake *ResponderRegistryMock) RegisterResponderReturnsOnCall(i int, result1 error)
- type SubscriberMock
- func (fake *SubscriberMock) Invocations() map[string][][]interface{}
- func (fake *SubscriberMock) Subscribe(arg1 string, arg2 events.Listener)
- func (fake *SubscriberMock) SubscribeArgsForCall(i int) (string, events.Listener)
- func (fake *SubscriberMock) SubscribeCallCount() int
- func (fake *SubscriberMock) SubscribeCalls(stub func(string, events.Listener))
- func (fake *SubscriberMock) Unsubscribe(arg1 string, arg2 events.Listener)
- func (fake *SubscriberMock) UnsubscribeArgsForCall(i int) (string, events.Listener)
- func (fake *SubscriberMock) UnsubscribeCallCount() int
- func (fake *SubscriberMock) UnsubscribeCalls(stub func(string, events.Listener))
- type ViewManagerMock
- func (fake *ViewManagerMock) InitiateView(arg1 view.View) (interface{}, error)
- func (fake *ViewManagerMock) InitiateViewArgsForCall(i int) view.View
- func (fake *ViewManagerMock) InitiateViewCallCount() int
- func (fake *ViewManagerMock) InitiateViewCalls(stub func(view.View) (interface{}, error))
- func (fake *ViewManagerMock) InitiateViewReturns(result1 interface{}, result2 error)
- func (fake *ViewManagerMock) InitiateViewReturnsOnCall(i int, result1 interface{}, result2 error)
- func (fake *ViewManagerMock) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendMock ¶
type BackendMock struct {
LoadStub func(view.Context, *interactive.CertificationRequest) ([][]byte, error)
// contains filtered or unexported fields
}
func (*BackendMock) Invocations ¶
func (fake *BackendMock) Invocations() map[string][][]interface{}
func (*BackendMock) Load ¶
func (fake *BackendMock) Load(arg1 view.Context, arg2 *interactive.CertificationRequest) ([][]byte, error)
func (*BackendMock) LoadArgsForCall ¶
func (fake *BackendMock) LoadArgsForCall(i int) (view.Context, *interactive.CertificationRequest)
func (*BackendMock) LoadCallCount ¶
func (fake *BackendMock) LoadCallCount() int
func (*BackendMock) LoadCalls ¶
func (fake *BackendMock) LoadCalls(stub func(view.Context, *interactive.CertificationRequest) ([][]byte, error))
func (*BackendMock) LoadReturns ¶
func (fake *BackendMock) LoadReturns(result1 [][]byte, result2 error)
func (*BackendMock) LoadReturnsOnCall ¶
func (fake *BackendMock) LoadReturnsOnCall(i int, result1 [][]byte, result2 error)
type CertificationStorageMock ¶
type CertificationStorageMock struct {
ExistsStub func(context.Context, *token.ID) bool
StoreStub func(context.Context, map[*token.ID][]byte) error
// contains filtered or unexported fields
}
func (*CertificationStorageMock) ExistsArgsForCall ¶
func (*CertificationStorageMock) ExistsCallCount ¶
func (fake *CertificationStorageMock) ExistsCallCount() int
func (*CertificationStorageMock) ExistsCalls ¶
func (*CertificationStorageMock) ExistsReturns ¶
func (fake *CertificationStorageMock) ExistsReturns(result1 bool)
func (*CertificationStorageMock) ExistsReturnsOnCall ¶
func (fake *CertificationStorageMock) ExistsReturnsOnCall(i int, result1 bool)
func (*CertificationStorageMock) Invocations ¶
func (fake *CertificationStorageMock) Invocations() map[string][][]interface{}
func (*CertificationStorageMock) StoreArgsForCall ¶
func (*CertificationStorageMock) StoreCallCount ¶
func (fake *CertificationStorageMock) StoreCallCount() int
func (*CertificationStorageMock) StoreCalls ¶
func (*CertificationStorageMock) StoreReturns ¶
func (fake *CertificationStorageMock) StoreReturns(result1 error)
func (*CertificationStorageMock) StoreReturnsOnCall ¶
func (fake *CertificationStorageMock) StoreReturnsOnCall(i int, result1 error)
type QueryEngineMock ¶
type QueryEngineMock struct {
UnspentTokensIteratorStub func(context.Context) (*token2.UnspentTokensIterator, error)
// contains filtered or unexported fields
}
func (*QueryEngineMock) Invocations ¶
func (fake *QueryEngineMock) Invocations() map[string][][]interface{}
func (*QueryEngineMock) UnspentTokensIterator ¶
func (fake *QueryEngineMock) UnspentTokensIterator(arg1 context.Context) (*token2.UnspentTokensIterator, error)
func (*QueryEngineMock) UnspentTokensIteratorArgsForCall ¶
func (fake *QueryEngineMock) UnspentTokensIteratorArgsForCall(i int) context.Context
func (*QueryEngineMock) UnspentTokensIteratorCallCount ¶
func (fake *QueryEngineMock) UnspentTokensIteratorCallCount() int
func (*QueryEngineMock) UnspentTokensIteratorCalls ¶
func (fake *QueryEngineMock) UnspentTokensIteratorCalls(stub func(context.Context) (*token2.UnspentTokensIterator, error))
func (*QueryEngineMock) UnspentTokensIteratorReturns ¶
func (fake *QueryEngineMock) UnspentTokensIteratorReturns(result1 *token2.UnspentTokensIterator, result2 error)
func (*QueryEngineMock) UnspentTokensIteratorReturnsOnCall ¶
func (fake *QueryEngineMock) UnspentTokensIteratorReturnsOnCall(i int, result1 *token2.UnspentTokensIterator, result2 error)
type ResponderRegistryMock ¶
type ResponderRegistryMock struct {
RegisterResponderStub func(view.View, interface{}) error
// contains filtered or unexported fields
}
func (*ResponderRegistryMock) Invocations ¶
func (fake *ResponderRegistryMock) Invocations() map[string][][]interface{}
func (*ResponderRegistryMock) RegisterResponder ¶
func (fake *ResponderRegistryMock) RegisterResponder(arg1 view.View, arg2 interface{}) error
func (*ResponderRegistryMock) RegisterResponderArgsForCall ¶
func (fake *ResponderRegistryMock) RegisterResponderArgsForCall(i int) (view.View, interface{})
func (*ResponderRegistryMock) RegisterResponderCallCount ¶
func (fake *ResponderRegistryMock) RegisterResponderCallCount() int
func (*ResponderRegistryMock) RegisterResponderCalls ¶
func (fake *ResponderRegistryMock) RegisterResponderCalls(stub func(view.View, interface{}) error)
func (*ResponderRegistryMock) RegisterResponderReturns ¶
func (fake *ResponderRegistryMock) RegisterResponderReturns(result1 error)
func (*ResponderRegistryMock) RegisterResponderReturnsOnCall ¶
func (fake *ResponderRegistryMock) RegisterResponderReturnsOnCall(i int, result1 error)
type SubscriberMock ¶
type SubscriberMock struct {
SubscribeStub func(string, events.Listener)
UnsubscribeStub func(string, events.Listener)
// contains filtered or unexported fields
}
func (*SubscriberMock) Invocations ¶
func (fake *SubscriberMock) Invocations() map[string][][]interface{}
func (*SubscriberMock) Subscribe ¶
func (fake *SubscriberMock) Subscribe(arg1 string, arg2 events.Listener)
func (*SubscriberMock) SubscribeArgsForCall ¶
func (fake *SubscriberMock) SubscribeArgsForCall(i int) (string, events.Listener)
func (*SubscriberMock) SubscribeCallCount ¶
func (fake *SubscriberMock) SubscribeCallCount() int
func (*SubscriberMock) SubscribeCalls ¶
func (fake *SubscriberMock) SubscribeCalls(stub func(string, events.Listener))
func (*SubscriberMock) Unsubscribe ¶
func (fake *SubscriberMock) Unsubscribe(arg1 string, arg2 events.Listener)
func (*SubscriberMock) UnsubscribeArgsForCall ¶
func (fake *SubscriberMock) UnsubscribeArgsForCall(i int) (string, events.Listener)
func (*SubscriberMock) UnsubscribeCallCount ¶
func (fake *SubscriberMock) UnsubscribeCallCount() int
func (*SubscriberMock) UnsubscribeCalls ¶
func (fake *SubscriberMock) UnsubscribeCalls(stub func(string, events.Listener))
type ViewManagerMock ¶
type ViewManagerMock struct {
InitiateViewStub func(view.View) (interface{}, error)
// contains filtered or unexported fields
}
func (*ViewManagerMock) InitiateView ¶
func (fake *ViewManagerMock) InitiateView(arg1 view.View) (interface{}, error)
func (*ViewManagerMock) InitiateViewArgsForCall ¶
func (fake *ViewManagerMock) InitiateViewArgsForCall(i int) view.View
func (*ViewManagerMock) InitiateViewCallCount ¶
func (fake *ViewManagerMock) InitiateViewCallCount() int
func (*ViewManagerMock) InitiateViewCalls ¶
func (fake *ViewManagerMock) InitiateViewCalls(stub func(view.View) (interface{}, error))
func (*ViewManagerMock) InitiateViewReturns ¶
func (fake *ViewManagerMock) InitiateViewReturns(result1 interface{}, result2 error)
func (*ViewManagerMock) InitiateViewReturnsOnCall ¶
func (fake *ViewManagerMock) InitiateViewReturnsOnCall(i int, result1 interface{}, result2 error)
func (*ViewManagerMock) Invocations ¶
func (fake *ViewManagerMock) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.