mocks

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graphvizer

type Graphvizer struct {
	mock.Mock
}

Graphvizer is an autogenerated mock type for the Graphvizer type

func (*Graphvizer) AddAttr

func (_m *Graphvizer) AddAttr(parentGraph string, field string, value string) error

AddAttr provides a mock function with given fields: parentGraph, field, value

func (*Graphvizer) AddEdge

func (_m *Graphvizer) AddEdge(src string, dst string, directed bool, attrs map[string]string) error

AddEdge provides a mock function with given fields: src, dst, directed, attrs

func (*Graphvizer) AddNode

func (_m *Graphvizer) AddNode(parentGraph string, name string, attrs map[string]string) error

AddNode provides a mock function with given fields: parentGraph, name, attrs

func (*Graphvizer) AddSubGraph

func (_m *Graphvizer) AddSubGraph(parentGraph string, name string, attrs map[string]string) error

AddSubGraph provides a mock function with given fields: parentGraph, name, attrs

func (*Graphvizer) DoesEdgeExist

func (_m *Graphvizer) DoesEdgeExist(src string, dest string) bool

DoesEdgeExist provides a mock function with given fields: src, dest

func (*Graphvizer) GetEdge

func (_m *Graphvizer) GetEdge(src string, dest string) *gographviz.Edge

GetEdge provides a mock function with given fields: src, dest

func (*Graphvizer) GetNode

func (_m *Graphvizer) GetNode(key string) *gographviz.Node

GetNode provides a mock function with given fields: key

func (*Graphvizer) OnAddAttr

func (_m *Graphvizer) OnAddAttr(parentGraph string, field string, value string) *Graphvizer_AddAttr

func (*Graphvizer) OnAddAttrMatch

func (_m *Graphvizer) OnAddAttrMatch(matchers ...interface{}) *Graphvizer_AddAttr

func (*Graphvizer) OnAddEdge

func (_m *Graphvizer) OnAddEdge(src string, dst string, directed bool, attrs map[string]string) *Graphvizer_AddEdge

func (*Graphvizer) OnAddEdgeMatch

func (_m *Graphvizer) OnAddEdgeMatch(matchers ...interface{}) *Graphvizer_AddEdge

func (*Graphvizer) OnAddNode

func (_m *Graphvizer) OnAddNode(parentGraph string, name string, attrs map[string]string) *Graphvizer_AddNode

func (*Graphvizer) OnAddNodeMatch

func (_m *Graphvizer) OnAddNodeMatch(matchers ...interface{}) *Graphvizer_AddNode

func (*Graphvizer) OnAddSubGraph

func (_m *Graphvizer) OnAddSubGraph(parentGraph string, name string, attrs map[string]string) *Graphvizer_AddSubGraph

func (*Graphvizer) OnAddSubGraphMatch

func (_m *Graphvizer) OnAddSubGraphMatch(matchers ...interface{}) *Graphvizer_AddSubGraph

func (*Graphvizer) OnDoesEdgeExist

func (_m *Graphvizer) OnDoesEdgeExist(src string, dest string) *Graphvizer_DoesEdgeExist

func (*Graphvizer) OnDoesEdgeExistMatch

func (_m *Graphvizer) OnDoesEdgeExistMatch(matchers ...interface{}) *Graphvizer_DoesEdgeExist

func (*Graphvizer) OnGetEdge

func (_m *Graphvizer) OnGetEdge(src string, dest string) *Graphvizer_GetEdge

func (*Graphvizer) OnGetEdgeMatch

func (_m *Graphvizer) OnGetEdgeMatch(matchers ...interface{}) *Graphvizer_GetEdge

func (*Graphvizer) OnGetNode

func (_m *Graphvizer) OnGetNode(key string) *Graphvizer_GetNode

func (*Graphvizer) OnGetNodeMatch

func (_m *Graphvizer) OnGetNodeMatch(matchers ...interface{}) *Graphvizer_GetNode

func (*Graphvizer) OnSetName

func (_m *Graphvizer) OnSetName(name string) *Graphvizer_SetName

func (*Graphvizer) OnSetNameMatch

func (_m *Graphvizer) OnSetNameMatch(matchers ...interface{}) *Graphvizer_SetName

func (*Graphvizer) SetName

func (_m *Graphvizer) SetName(name string) error

SetName provides a mock function with given fields: name

type Graphvizer_AddAttr

type Graphvizer_AddAttr struct {
	*mock.Call
}

func (Graphvizer_AddAttr) Return

type Graphvizer_AddEdge

type Graphvizer_AddEdge struct {
	*mock.Call
}

func (Graphvizer_AddEdge) Return

type Graphvizer_AddNode

type Graphvizer_AddNode struct {
	*mock.Call
}

func (Graphvizer_AddNode) Return

type Graphvizer_AddSubGraph

type Graphvizer_AddSubGraph struct {
	*mock.Call
}

func (Graphvizer_AddSubGraph) Return

type Graphvizer_DoesEdgeExist

type Graphvizer_DoesEdgeExist struct {
	*mock.Call
}

func (Graphvizer_DoesEdgeExist) Return

type Graphvizer_GetEdge

type Graphvizer_GetEdge struct {
	*mock.Call
}

func (Graphvizer_GetEdge) Return

type Graphvizer_GetNode

type Graphvizer_GetNode struct {
	*mock.Call
}

func (Graphvizer_GetNode) Return

type Graphvizer_SetName

type Graphvizer_SetName struct {
	*mock.Call
}

func (Graphvizer_SetName) Return

Jump to

Keyboard shortcuts

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