mocks

package
v2.0.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 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[T comparable] struct {
	// contains filtered or unexported fields
}

MockDAG is a mock of DAG interface.

func NewMockDAG

func NewMockDAG[T comparable](ctrl *gomock.Controller) *MockDAG[T]

NewMockDAG creates a new mock instance.

func (*MockDAG[T]) AddEdge

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

AddEdge mocks base method.

func (*MockDAG[T]) AddVertex

func (m *MockDAG[T]) AddVertex(id string, value T) error

AddVertex mocks base method.

func (*MockDAG[T]) CanAddEdge

func (m *MockDAG[T]) CanAddEdge(fromVertexID, toVertexID string) bool

CanAddEdge mocks base method.

func (*MockDAG[T]) DeleteEdge

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

DeleteEdge mocks base method.

func (*MockDAG[T]) DeleteVertex

func (m *MockDAG[T]) DeleteVertex(id string)

DeleteVertex mocks base method.

func (*MockDAG[T]) EXPECT

func (m *MockDAG[T]) EXPECT() *MockDAGMockRecorder[T]

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

func (*MockDAG[T]) GetRandomVertices

func (m *MockDAG[T]) GetRandomVertices(n uint) []*dag.Vertex[T]

GetRandomVertices mocks base method.

func (*MockDAG[T]) GetSinkVertices

func (m *MockDAG[T]) GetSinkVertices() []*dag.Vertex[T]

GetSinkVertices mocks base method.

func (*MockDAG[T]) GetSourceVertices

func (m *MockDAG[T]) GetSourceVertices() []*dag.Vertex[T]

GetSourceVertices mocks base method.

func (*MockDAG[T]) GetVertex

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

GetVertex mocks base method.

func (*MockDAG[T]) GetVertexKeys

func (m *MockDAG[T]) GetVertexKeys() []string

GetVertexKeys mocks base method.

func (*MockDAG[T]) GetVertices

func (m *MockDAG[T]) GetVertices() map[string]*dag.Vertex[T]

GetVertices mocks base method.

func (*MockDAG[T]) VertexCount

func (m *MockDAG[T]) VertexCount() int

VertexCount mocks base method.

type MockDAGMockRecorder

type MockDAGMockRecorder[T comparable] struct {
	// contains filtered or unexported fields
}

MockDAGMockRecorder is the mock recorder for MockDAG.

func (*MockDAGMockRecorder[T]) AddEdge

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

AddEdge indicates an expected call of AddEdge.

func (*MockDAGMockRecorder[T]) AddVertex

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

AddVertex indicates an expected call of AddVertex.

func (*MockDAGMockRecorder[T]) CanAddEdge

func (mr *MockDAGMockRecorder[T]) CanAddEdge(fromVertexID, toVertexID interface{}) *gomock.Call

CanAddEdge indicates an expected call of CanAddEdge.

func (*MockDAGMockRecorder[T]) DeleteEdge

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

DeleteEdge indicates an expected call of DeleteEdge.

func (*MockDAGMockRecorder[T]) DeleteVertex

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

DeleteVertex indicates an expected call of DeleteVertex.

func (*MockDAGMockRecorder[T]) GetRandomVertices

func (mr *MockDAGMockRecorder[T]) GetRandomVertices(n interface{}) *gomock.Call

GetRandomVertices indicates an expected call of GetRandomVertices.

func (*MockDAGMockRecorder[T]) GetSinkVertices

func (mr *MockDAGMockRecorder[T]) GetSinkVertices() *gomock.Call

GetSinkVertices indicates an expected call of GetSinkVertices.

func (*MockDAGMockRecorder[T]) GetSourceVertices

func (mr *MockDAGMockRecorder[T]) GetSourceVertices() *gomock.Call

GetSourceVertices indicates an expected call of GetSourceVertices.

func (*MockDAGMockRecorder[T]) GetVertex

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

GetVertex indicates an expected call of GetVertex.

func (*MockDAGMockRecorder[T]) GetVertexKeys

func (mr *MockDAGMockRecorder[T]) GetVertexKeys() *gomock.Call

GetVertexKeys indicates an expected call of GetVertexKeys.

func (*MockDAGMockRecorder[T]) GetVertices

func (mr *MockDAGMockRecorder[T]) GetVertices() *gomock.Call

GetVertices indicates an expected call of GetVertices.

func (*MockDAGMockRecorder[T]) VertexCount

func (mr *MockDAGMockRecorder[T]) VertexCount() *gomock.Call

VertexCount indicates an expected call of VertexCount.

Jump to

Keyboard shortcuts

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