mock

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

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) Exists

func (fake *CertificationStorageMock) Exists(arg1 context.Context, arg2 *token.ID) bool

func (*CertificationStorageMock) ExistsArgsForCall

func (fake *CertificationStorageMock) ExistsArgsForCall(i int) (context.Context, *token.ID)

func (*CertificationStorageMock) ExistsCallCount

func (fake *CertificationStorageMock) ExistsCallCount() int

func (*CertificationStorageMock) ExistsCalls

func (fake *CertificationStorageMock) ExistsCalls(stub func(context.Context, *token.ID) bool)

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) Store

func (fake *CertificationStorageMock) Store(arg1 context.Context, arg2 map[*token.ID][]byte) error

func (*CertificationStorageMock) StoreArgsForCall

func (fake *CertificationStorageMock) StoreArgsForCall(i int) (context.Context, map[*token.ID][]byte)

func (*CertificationStorageMock) StoreCallCount

func (fake *CertificationStorageMock) StoreCallCount() int

func (*CertificationStorageMock) StoreCalls

func (fake *CertificationStorageMock) StoreCalls(stub func(context.Context, map[*token.ID][]byte) error)

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL