mocks

package
v2.0.5-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 MockDAG

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

MockDAG is a mock of DAG interface.

func NewMockDAG

func NewMockDAG(ctrl *gomock.Controller) *MockDAG

NewMockDAG creates a new mock instance.

func (*MockDAG) AddEdge

func (m *MockDAG) AddEdge(fromVertexID, toVertexID string) error

AddEdge mocks base method.

func (*MockDAG) AddVertex

func (m *MockDAG) AddVertex(id string, value any) error

AddVertex mocks base method.

func (*MockDAG) DeleteEdge

func (m *MockDAG) DeleteEdge(fromVertexID, toVertexID string) error

DeleteEdge mocks base method.

func (*MockDAG) DeleteVertex

func (m *MockDAG) DeleteVertex(id string)

DeleteVertex mocks base method.

func (*MockDAG) EXPECT

func (m *MockDAG) EXPECT() *MockDAGMockRecorder

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

func (*MockDAG) GetVertex

func (m *MockDAG) GetVertex(id string) (*dag.Vertex, error)

GetVertex mocks base method.

func (*MockDAG) LenVertex

func (m *MockDAG) LenVertex() int

LenVertex mocks base method.

func (*MockDAG) RangeVertex

func (m *MockDAG) RangeVertex(fn func(string, *dag.Vertex) bool)

RangeVertex mocks base method.

type MockDAGMockRecorder

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

MockDAGMockRecorder is the mock recorder for MockDAG.

func (*MockDAGMockRecorder) AddEdge

func (mr *MockDAGMockRecorder) AddEdge(fromVertexID, toVertexID interface{}) *gomock.Call

AddEdge indicates an expected call of AddEdge.

func (*MockDAGMockRecorder) AddVertex

func (mr *MockDAGMockRecorder) AddVertex(id, value interface{}) *gomock.Call

AddVertex indicates an expected call of AddVertex.

func (*MockDAGMockRecorder) DeleteEdge

func (mr *MockDAGMockRecorder) DeleteEdge(fromVertexID, toVertexID interface{}) *gomock.Call

DeleteEdge indicates an expected call of DeleteEdge.

func (*MockDAGMockRecorder) DeleteVertex

func (mr *MockDAGMockRecorder) DeleteVertex(id interface{}) *gomock.Call

DeleteVertex indicates an expected call of DeleteVertex.

func (*MockDAGMockRecorder) GetVertex

func (mr *MockDAGMockRecorder) GetVertex(id interface{}) *gomock.Call

GetVertex indicates an expected call of GetVertex.

func (*MockDAGMockRecorder) LenVertex

func (mr *MockDAGMockRecorder) LenVertex() *gomock.Call

LenVertex indicates an expected call of LenVertex.

func (*MockDAGMockRecorder) RangeVertex

func (mr *MockDAGMockRecorder) RangeVertex(fn interface{}) *gomock.Call

RangeVertex indicates an expected call of RangeVertex.

Jump to

Keyboard shortcuts

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