testing

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Package testing is a generated GoMock package.

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeaconChain_StreamAttestationsServer added in v0.3.0

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

MockBeaconChain_StreamAttestationsServer is a mock of BeaconChain_StreamAttestationsServer interface

func NewMockBeaconChain_StreamAttestationsServer added in v0.3.0

func NewMockBeaconChain_StreamAttestationsServer(ctrl *gomock.Controller) *MockBeaconChain_StreamAttestationsServer

NewMockBeaconChain_StreamAttestationsServer creates a new mock instance

func (*MockBeaconChain_StreamAttestationsServer) Context added in v0.3.0

Context mocks base method

func (*MockBeaconChain_StreamAttestationsServer) EXPECT added in v0.3.0

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

func (*MockBeaconChain_StreamAttestationsServer) RecvMsg added in v0.3.0

func (m *MockBeaconChain_StreamAttestationsServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamAttestationsServer) Send added in v0.3.0

Send mocks base method

func (*MockBeaconChain_StreamAttestationsServer) SendHeader added in v0.3.0

SendHeader mocks base method

func (*MockBeaconChain_StreamAttestationsServer) SendMsg added in v0.3.0

func (m *MockBeaconChain_StreamAttestationsServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamAttestationsServer) SetHeader added in v0.3.0

SetHeader mocks base method

func (*MockBeaconChain_StreamAttestationsServer) SetTrailer added in v0.3.0

SetTrailer mocks base method

type MockBeaconChain_StreamAttestationsServerMockRecorder added in v0.3.0

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

MockBeaconChain_StreamAttestationsServerMockRecorder is the mock recorder for MockBeaconChain_StreamAttestationsServer

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) Context added in v0.3.0

Context indicates an expected call of Context

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) RecvMsg added in v0.3.0

func (mr *MockBeaconChain_StreamAttestationsServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) Send added in v0.3.0

Send indicates an expected call of Send

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) SendHeader added in v0.3.0

func (mr *MockBeaconChain_StreamAttestationsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) SendMsg added in v0.3.0

func (mr *MockBeaconChain_StreamAttestationsServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) SetHeader added in v0.3.0

func (mr *MockBeaconChain_StreamAttestationsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockBeaconChain_StreamAttestationsServerMockRecorder) SetTrailer added in v0.3.0

func (mr *MockBeaconChain_StreamAttestationsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

type MockBeaconChain_StreamChainHeadServer added in v0.3.0

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

MockBeaconChain_StreamChainHeadServer is a mock of BeaconChain_StreamChainHeadServer interface

func NewMockBeaconChain_StreamChainHeadServer added in v0.3.0

func NewMockBeaconChain_StreamChainHeadServer(ctrl *gomock.Controller) *MockBeaconChain_StreamChainHeadServer

NewMockBeaconChain_StreamChainHeadServer creates a new mock instance

func (*MockBeaconChain_StreamChainHeadServer) Context added in v0.3.0

Context mocks base method

func (*MockBeaconChain_StreamChainHeadServer) EXPECT added in v0.3.0

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

func (*MockBeaconChain_StreamChainHeadServer) RecvMsg added in v0.3.0

func (m *MockBeaconChain_StreamChainHeadServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconChain_StreamChainHeadServer) Send added in v0.3.0

Send mocks base method

func (*MockBeaconChain_StreamChainHeadServer) SendHeader added in v0.3.0

SendHeader mocks base method

func (*MockBeaconChain_StreamChainHeadServer) SendMsg added in v0.3.0

func (m *MockBeaconChain_StreamChainHeadServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconChain_StreamChainHeadServer) SetHeader added in v0.3.0

SetHeader mocks base method

func (*MockBeaconChain_StreamChainHeadServer) SetTrailer added in v0.3.0

SetTrailer mocks base method

type MockBeaconChain_StreamChainHeadServerMockRecorder added in v0.3.0

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

MockBeaconChain_StreamChainHeadServerMockRecorder is the mock recorder for MockBeaconChain_StreamChainHeadServer

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) Context added in v0.3.0

Context indicates an expected call of Context

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) RecvMsg added in v0.3.0

func (mr *MockBeaconChain_StreamChainHeadServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) Send added in v0.3.0

Send indicates an expected call of Send

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) SendHeader added in v0.3.0

func (mr *MockBeaconChain_StreamChainHeadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) SendMsg added in v0.3.0

func (mr *MockBeaconChain_StreamChainHeadServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) SetHeader added in v0.3.0

func (mr *MockBeaconChain_StreamChainHeadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockBeaconChain_StreamChainHeadServerMockRecorder) SetTrailer added in v0.3.0

func (mr *MockBeaconChain_StreamChainHeadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

type MockBeaconNodeValidator_WaitForActivationServer added in v0.3.0

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

MockBeaconNodeValidator_WaitForActivationServer is a mock of BeaconNodeValidator_WaitForActivationServer interface

func NewMockBeaconNodeValidator_WaitForActivationServer added in v0.3.0

func NewMockBeaconNodeValidator_WaitForActivationServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForActivationServer

NewMockBeaconNodeValidator_WaitForActivationServer creates a new mock instance

func (*MockBeaconNodeValidator_WaitForActivationServer) Context added in v0.3.0

Context mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) EXPECT added in v0.3.0

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

func (*MockBeaconNodeValidator_WaitForActivationServer) RecvMsg added in v0.3.0

func (m *MockBeaconNodeValidator_WaitForActivationServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) Send added in v0.3.0

Send mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SendHeader added in v0.3.0

SendHeader mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SendMsg added in v0.3.0

func (m *MockBeaconNodeValidator_WaitForActivationServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SetHeader added in v0.3.0

SetHeader mocks base method

func (*MockBeaconNodeValidator_WaitForActivationServer) SetTrailer added in v0.3.0

SetTrailer mocks base method

type MockBeaconNodeValidator_WaitForActivationServerMockRecorder added in v0.3.0

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

MockBeaconNodeValidator_WaitForActivationServerMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForActivationServer

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) Context added in v0.3.0

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) RecvMsg added in v0.3.0

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) Send added in v0.3.0

Send indicates an expected call of Send

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SendHeader added in v0.3.0

SendHeader indicates an expected call of SendHeader

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SendMsg added in v0.3.0

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SetHeader added in v0.3.0

SetHeader indicates an expected call of SetHeader

func (*MockBeaconNodeValidator_WaitForActivationServerMockRecorder) SetTrailer added in v0.3.0

SetTrailer indicates an expected call of SetTrailer

type MockBeaconNodeValidator_WaitForChainStartServer added in v0.3.0

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

MockBeaconNodeValidator_WaitForChainStartServer is a mock of BeaconNodeValidator_WaitForChainStartServer interface

func NewMockBeaconNodeValidator_WaitForChainStartServer added in v0.3.0

func NewMockBeaconNodeValidator_WaitForChainStartServer(ctrl *gomock.Controller) *MockBeaconNodeValidator_WaitForChainStartServer

NewMockBeaconNodeValidator_WaitForChainStartServer creates a new mock instance

func (*MockBeaconNodeValidator_WaitForChainStartServer) Context added in v0.3.0

Context mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) EXPECT added in v0.3.0

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

func (*MockBeaconNodeValidator_WaitForChainStartServer) RecvMsg added in v0.3.0

func (m *MockBeaconNodeValidator_WaitForChainStartServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) Send added in v0.3.0

Send mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SendHeader added in v0.3.0

SendHeader mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SendMsg added in v0.3.0

func (m *MockBeaconNodeValidator_WaitForChainStartServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SetHeader added in v0.3.0

SetHeader mocks base method

func (*MockBeaconNodeValidator_WaitForChainStartServer) SetTrailer added in v0.3.0

SetTrailer mocks base method

type MockBeaconNodeValidator_WaitForChainStartServerMockRecorder added in v0.3.0

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

MockBeaconNodeValidator_WaitForChainStartServerMockRecorder is the mock recorder for MockBeaconNodeValidator_WaitForChainStartServer

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) Context added in v0.3.0

Context indicates an expected call of Context

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) RecvMsg added in v0.3.0

RecvMsg indicates an expected call of RecvMsg

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) Send added in v0.3.0

Send indicates an expected call of Send

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SendHeader added in v0.3.0

SendHeader indicates an expected call of SendHeader

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SendMsg added in v0.3.0

SendMsg indicates an expected call of SendMsg

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SetHeader added in v0.3.0

SetHeader indicates an expected call of SetHeader

func (*MockBeaconNodeValidator_WaitForChainStartServerMockRecorder) SetTrailer added in v0.3.0

SetTrailer indicates an expected call of SetTrailer

type MockValidatorServiceServer

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

MockValidatorServiceServer is a mock of ValidatorServiceServer interface

func NewMockValidatorServiceServer

func NewMockValidatorServiceServer(ctrl *gomock.Controller) *MockValidatorServiceServer

NewMockValidatorServiceServer creates a new mock instance

func (*MockValidatorServiceServer) CanonicalHead

func (m *MockValidatorServiceServer) CanonicalHead(arg0 context.Context, arg1 *types.Empty) (*v1alpha1.BeaconBlock, error)

CanonicalHead mocks base method

func (*MockValidatorServiceServer) CommitteeAssignment

func (m *MockValidatorServiceServer) CommitteeAssignment(arg0 context.Context, arg1 *v1.AssignmentRequest) (*v1.AssignmentResponse, error)

CommitteeAssignment mocks base method

func (*MockValidatorServiceServer) DomainData

DomainData mocks base method

func (*MockValidatorServiceServer) EXPECT

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

func (*MockValidatorServiceServer) ExitedValidators

ExitedValidators mocks base method

func (*MockValidatorServiceServer) ValidatorIndex

ValidatorIndex mocks base method

func (*MockValidatorServiceServer) ValidatorPerformance

ValidatorPerformance mocks base method

func (*MockValidatorServiceServer) ValidatorStatus

ValidatorStatus mocks base method

func (*MockValidatorServiceServer) WaitForActivation

WaitForActivation mocks base method

func (*MockValidatorServiceServer) WaitForChainStart

WaitForChainStart mocks base method

type MockValidatorServiceServerMockRecorder

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

MockValidatorServiceServerMockRecorder is the mock recorder for MockValidatorServiceServer

func (*MockValidatorServiceServerMockRecorder) CanonicalHead

func (mr *MockValidatorServiceServerMockRecorder) CanonicalHead(arg0, arg1 interface{}) *gomock.Call

CanonicalHead indicates an expected call of CanonicalHead

func (*MockValidatorServiceServerMockRecorder) CommitteeAssignment

func (mr *MockValidatorServiceServerMockRecorder) CommitteeAssignment(arg0, arg1 interface{}) *gomock.Call

CommitteeAssignment indicates an expected call of CommitteeAssignment

func (*MockValidatorServiceServerMockRecorder) DomainData

func (mr *MockValidatorServiceServerMockRecorder) DomainData(arg0, arg1 interface{}) *gomock.Call

DomainData indicates an expected call of DomainData

func (*MockValidatorServiceServerMockRecorder) ExitedValidators

func (mr *MockValidatorServiceServerMockRecorder) ExitedValidators(arg0, arg1 interface{}) *gomock.Call

ExitedValidators indicates an expected call of ExitedValidators

func (*MockValidatorServiceServerMockRecorder) ValidatorIndex

func (mr *MockValidatorServiceServerMockRecorder) ValidatorIndex(arg0, arg1 interface{}) *gomock.Call

ValidatorIndex indicates an expected call of ValidatorIndex

func (*MockValidatorServiceServerMockRecorder) ValidatorPerformance

func (mr *MockValidatorServiceServerMockRecorder) ValidatorPerformance(arg0, arg1 interface{}) *gomock.Call

ValidatorPerformance indicates an expected call of ValidatorPerformance

func (*MockValidatorServiceServerMockRecorder) ValidatorStatus

func (mr *MockValidatorServiceServerMockRecorder) ValidatorStatus(arg0, arg1 interface{}) *gomock.Call

ValidatorStatus indicates an expected call of ValidatorStatus

func (*MockValidatorServiceServerMockRecorder) WaitForActivation

func (mr *MockValidatorServiceServerMockRecorder) WaitForActivation(arg0, arg1 interface{}) *gomock.Call

WaitForActivation indicates an expected call of WaitForActivation

func (*MockValidatorServiceServerMockRecorder) WaitForChainStart

func (mr *MockValidatorServiceServerMockRecorder) WaitForChainStart(arg0, arg1 interface{}) *gomock.Call

WaitForChainStart indicates an expected call of WaitForChainStart

type MockValidatorService_WaitForActivationServer

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

MockValidatorService_WaitForActivationServer is a mock of ValidatorService_WaitForActivationServer interface

func NewMockValidatorService_WaitForActivationServer

func NewMockValidatorService_WaitForActivationServer(ctrl *gomock.Controller) *MockValidatorService_WaitForActivationServer

NewMockValidatorService_WaitForActivationServer creates a new mock instance

func (*MockValidatorService_WaitForActivationServer) Context

Context mocks base method

func (*MockValidatorService_WaitForActivationServer) EXPECT

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

func (*MockValidatorService_WaitForActivationServer) RecvMsg

func (m *MockValidatorService_WaitForActivationServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockValidatorService_WaitForActivationServer) Send

Send mocks base method

func (*MockValidatorService_WaitForActivationServer) SendHeader

SendHeader mocks base method

func (*MockValidatorService_WaitForActivationServer) SendMsg

func (m *MockValidatorService_WaitForActivationServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockValidatorService_WaitForActivationServer) SetHeader

SetHeader mocks base method

func (*MockValidatorService_WaitForActivationServer) SetTrailer

SetTrailer mocks base method

type MockValidatorService_WaitForActivationServerMockRecorder

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

MockValidatorService_WaitForActivationServerMockRecorder is the mock recorder for MockValidatorService_WaitForActivationServer

func (*MockValidatorService_WaitForActivationServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockValidatorService_WaitForActivationServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockValidatorService_WaitForActivationServerMockRecorder) Send

Send indicates an expected call of Send

func (*MockValidatorService_WaitForActivationServerMockRecorder) SendHeader

func (mr *MockValidatorService_WaitForActivationServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockValidatorService_WaitForActivationServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockValidatorService_WaitForActivationServerMockRecorder) SetHeader

func (mr *MockValidatorService_WaitForActivationServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockValidatorService_WaitForActivationServerMockRecorder) SetTrailer

func (mr *MockValidatorService_WaitForActivationServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

type MockValidatorService_WaitForChainStartServer

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

MockValidatorService_WaitForChainStartServer is a mock of ValidatorService_WaitForChainStartServer interface

func NewMockValidatorService_WaitForChainStartServer

func NewMockValidatorService_WaitForChainStartServer(ctrl *gomock.Controller) *MockValidatorService_WaitForChainStartServer

NewMockValidatorService_WaitForChainStartServer creates a new mock instance

func (*MockValidatorService_WaitForChainStartServer) Context

Context mocks base method

func (*MockValidatorService_WaitForChainStartServer) EXPECT

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

func (*MockValidatorService_WaitForChainStartServer) RecvMsg

func (m *MockValidatorService_WaitForChainStartServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockValidatorService_WaitForChainStartServer) Send

Send mocks base method

func (*MockValidatorService_WaitForChainStartServer) SendHeader

SendHeader mocks base method

func (*MockValidatorService_WaitForChainStartServer) SendMsg

func (m *MockValidatorService_WaitForChainStartServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockValidatorService_WaitForChainStartServer) SetHeader

SetHeader mocks base method

func (*MockValidatorService_WaitForChainStartServer) SetTrailer

SetTrailer mocks base method

type MockValidatorService_WaitForChainStartServerMockRecorder

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

MockValidatorService_WaitForChainStartServerMockRecorder is the mock recorder for MockValidatorService_WaitForChainStartServer

func (*MockValidatorService_WaitForChainStartServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockValidatorService_WaitForChainStartServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg

func (*MockValidatorService_WaitForChainStartServerMockRecorder) Send

Send indicates an expected call of Send

func (*MockValidatorService_WaitForChainStartServerMockRecorder) SendHeader

func (mr *MockValidatorService_WaitForChainStartServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockValidatorService_WaitForChainStartServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg

func (*MockValidatorService_WaitForChainStartServerMockRecorder) SetHeader

func (mr *MockValidatorService_WaitForChainStartServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockValidatorService_WaitForChainStartServerMockRecorder) SetTrailer

func (mr *MockValidatorService_WaitForChainStartServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

Jump to

Keyboard shortcuts

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