mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAnalyzer

type MockAnalyzer struct {
	mock.Mock
}

MockAnalyzer is an autogenerated mock type for the Analyzer type

func NewMockAnalyzer

func NewMockAnalyzer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAnalyzer

NewMockAnalyzer creates a new instance of MockAnalyzer. 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 (*MockAnalyzer) EXPECT

func (_m *MockAnalyzer) EXPECT() *MockAnalyzer_Expecter

func (*MockAnalyzer) Graph

func (_mock *MockAnalyzer) Graph() error

Graph provides a mock function for the type MockAnalyzer

type MockAnalyzer_Expecter

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

func (*MockAnalyzer_Expecter) Graph

Graph is a helper method to define mock.On call

type MockAnalyzer_Graph_Call

type MockAnalyzer_Graph_Call struct {
	*mock.Call
}

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

func (*MockAnalyzer_Graph_Call) Return

func (*MockAnalyzer_Graph_Call) Run

func (_c *MockAnalyzer_Graph_Call) Run(run func()) *MockAnalyzer_Graph_Call

func (*MockAnalyzer_Graph_Call) RunAndReturn

func (_c *MockAnalyzer_Graph_Call) RunAndReturn(run func() error) *MockAnalyzer_Graph_Call

Jump to

Keyboard shortcuts

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