mocks

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPowVerifier

type MockPowVerifier struct {
	// contains filtered or unexported fields
}

MockPowVerifier is a mock of PowVerifier interface.

func NewMockPowVerifier

func NewMockPowVerifier(ctrl *gomock.Controller) *MockPowVerifier

NewMockPowVerifier creates a new mock instance.

func (*MockPowVerifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPowVerifier) Params

Params mocks base method.

func (*MockPowVerifier) SetParams

func (m *MockPowVerifier) SetParams(arg0 registration.PowParams)

SetParams mocks base method.

func (*MockPowVerifier) Verify

func (m *MockPowVerifier) Verify(arg0, arg1 []byte, arg2 uint64) error

Verify mocks base method.

type MockPowVerifierMockRecorder

type MockPowVerifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockPowVerifierMockRecorder is the mock recorder for MockPowVerifier.

func (*MockPowVerifierMockRecorder) Params

Params indicates an expected call of Params.

func (*MockPowVerifierMockRecorder) SetParams

SetParams indicates an expected call of SetParams.

func (*MockPowVerifierMockRecorder) Verify

func (mr *MockPowVerifierMockRecorder) Verify(arg0, arg1, arg2 any) *MockPowVerifierVerifyCall

Verify indicates an expected call of Verify.

type MockPowVerifierParamsCall added in v0.10.3

type MockPowVerifierParamsCall struct {
	*gomock.Call
}

MockPowVerifierParamsCall wrap *gomock.Call

func (*MockPowVerifierParamsCall) Do added in v0.10.3

Do rewrite *gomock.Call.Do

func (*MockPowVerifierParamsCall) DoAndReturn added in v0.10.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPowVerifierParamsCall) Return added in v0.10.3

Return rewrite *gomock.Call.Return

type MockPowVerifierSetParamsCall added in v0.10.3

type MockPowVerifierSetParamsCall struct {
	*gomock.Call
}

MockPowVerifierSetParamsCall wrap *gomock.Call

func (*MockPowVerifierSetParamsCall) Do added in v0.10.3

Do rewrite *gomock.Call.Do

func (*MockPowVerifierSetParamsCall) DoAndReturn added in v0.10.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPowVerifierSetParamsCall) Return added in v0.10.3

Return rewrite *gomock.Call.Return

type MockPowVerifierVerifyCall added in v0.10.3

type MockPowVerifierVerifyCall struct {
	*gomock.Call
}

MockPowVerifierVerifyCall wrap *gomock.Call

func (*MockPowVerifierVerifyCall) Do added in v0.10.3

Do rewrite *gomock.Call.Do

func (*MockPowVerifierVerifyCall) DoAndReturn added in v0.10.3

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPowVerifierVerifyCall) Return added in v0.10.3

Return rewrite *gomock.Call.Return

type MockWorkerService

type MockWorkerService struct {
	// contains filtered or unexported fields
}

MockWorkerService is a mock of WorkerService interface.

func NewMockWorkerService

func NewMockWorkerService(ctrl *gomock.Controller) *MockWorkerService

NewMockWorkerService creates a new mock instance.

func (*MockWorkerService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkerService) ExecuteRound

func (m *MockWorkerService) ExecuteRound(arg0 context.Context, arg1 uint, arg2 []byte) error

ExecuteRound mocks base method.

func (*MockWorkerService) RegisterForProofs

func (m *MockWorkerService) RegisterForProofs(arg0 context.Context) <-chan shared.NIP

RegisterForProofs mocks base method.

type MockWorkerServiceMockRecorder

type MockWorkerServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkerServiceMockRecorder is the mock recorder for MockWorkerService.

func (*MockWorkerServiceMockRecorder) ExecuteRound

func (mr *MockWorkerServiceMockRecorder) ExecuteRound(arg0, arg1, arg2 any) *gomock.Call

ExecuteRound indicates an expected call of ExecuteRound.

func (*MockWorkerServiceMockRecorder) RegisterForProofs

func (mr *MockWorkerServiceMockRecorder) RegisterForProofs(arg0 any) *gomock.Call

RegisterForProofs indicates an expected call of RegisterForProofs.

Jump to

Keyboard shortcuts

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