mocks

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggchainProofServiceClient

type AggchainProofServiceClient struct {
	mock.Mock
}

AggchainProofServiceClient is an autogenerated mock type for the AggchainProofServiceClient type

func NewAggchainProofServiceClient

func NewAggchainProofServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AggchainProofServiceClient

NewAggchainProofServiceClient creates a new instance of AggchainProofServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AggchainProofServiceClient) EXPECT

func (*AggchainProofServiceClient) GenerateAggchainProof

GenerateAggchainProof provides a mock function with given fields: ctx, in, opts

func (*AggchainProofServiceClient) GenerateOptimisticAggchainProof

GenerateOptimisticAggchainProof provides a mock function with given fields: ctx, in, opts

type AggchainProofServiceClient_Expecter

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

func (*AggchainProofServiceClient_Expecter) GenerateAggchainProof

func (_e *AggchainProofServiceClient_Expecter) GenerateAggchainProof(ctx interface{}, in interface{}, opts ...interface{}) *AggchainProofServiceClient_GenerateAggchainProof_Call

GenerateAggchainProof is a helper method to define mock.On call

  • ctx context.Context
  • in *proverv1.GenerateAggchainProofRequest
  • opts ...grpc.CallOption

func (*AggchainProofServiceClient_Expecter) GenerateOptimisticAggchainProof

func (_e *AggchainProofServiceClient_Expecter) GenerateOptimisticAggchainProof(ctx interface{}, in interface{}, opts ...interface{}) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call

GenerateOptimisticAggchainProof is a helper method to define mock.On call

  • ctx context.Context
  • in *proverv1.GenerateOptimisticAggchainProofRequest
  • opts ...grpc.CallOption

type AggchainProofServiceClient_GenerateAggchainProof_Call

type AggchainProofServiceClient_GenerateAggchainProof_Call struct {
	*mock.Call
}

AggchainProofServiceClient_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'

func (*AggchainProofServiceClient_GenerateAggchainProof_Call) Run

type AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call

type AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call struct {
	*mock.Call
}

AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateOptimisticAggchainProof'

type AggchainProofServiceServer

type AggchainProofServiceServer struct {
	mock.Mock
}

AggchainProofServiceServer is an autogenerated mock type for the AggchainProofServiceServer type

func NewAggchainProofServiceServer

func NewAggchainProofServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *AggchainProofServiceServer

NewAggchainProofServiceServer creates a new instance of AggchainProofServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AggchainProofServiceServer) EXPECT

func (*AggchainProofServiceServer) GenerateAggchainProof

GenerateAggchainProof provides a mock function with given fields: _a0, _a1

func (*AggchainProofServiceServer) GenerateOptimisticAggchainProof

GenerateOptimisticAggchainProof provides a mock function with given fields: _a0, _a1

type AggchainProofServiceServer_Expecter

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

func (*AggchainProofServiceServer_Expecter) GenerateAggchainProof

func (_e *AggchainProofServiceServer_Expecter) GenerateAggchainProof(_a0 interface{}, _a1 interface{}) *AggchainProofServiceServer_GenerateAggchainProof_Call

GenerateAggchainProof is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proverv1.GenerateAggchainProofRequest

func (*AggchainProofServiceServer_Expecter) GenerateOptimisticAggchainProof

func (_e *AggchainProofServiceServer_Expecter) GenerateOptimisticAggchainProof(_a0 interface{}, _a1 interface{}) *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call

GenerateOptimisticAggchainProof is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *proverv1.GenerateOptimisticAggchainProofRequest

type AggchainProofServiceServer_GenerateAggchainProof_Call

type AggchainProofServiceServer_GenerateAggchainProof_Call struct {
	*mock.Call
}

AggchainProofServiceServer_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'

func (*AggchainProofServiceServer_GenerateAggchainProof_Call) Run

type AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call

type AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call struct {
	*mock.Call
}

AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateOptimisticAggchainProof'

type UnsafeAggchainProofServiceServer

type UnsafeAggchainProofServiceServer struct {
	mock.Mock
}

UnsafeAggchainProofServiceServer is an autogenerated mock type for the UnsafeAggchainProofServiceServer type

func NewUnsafeAggchainProofServiceServer

func NewUnsafeAggchainProofServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeAggchainProofServiceServer

NewUnsafeAggchainProofServiceServer creates a new instance of UnsafeAggchainProofServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UnsafeAggchainProofServiceServer) EXPECT

type UnsafeAggchainProofServiceServer_Expecter

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

type UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call

type UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call struct {
	*mock.Call
}

UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedAggchainProofServiceServer'

func (*UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) Return

func (*UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) Run

func (*UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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