formatmock

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfiguration

type MockConfiguration struct {
	mock.Mock
}

MockConfiguration is an autogenerated mock type for the Configuration type

func NewMockConfiguration

func NewMockConfiguration(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockConfiguration

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

func (*MockConfiguration) IndentSize

func (_m *MockConfiguration) IndentSize() int

IndentSize provides a mock function with no fields

func (*MockConfiguration) OneBracketPerLine

func (_m *MockConfiguration) OneBracketPerLine() bool

OneBracketPerLine provides a mock function with no fields

func (*MockConfiguration) Raw

func (_m *MockConfiguration) Raw() map[string]string

Raw provides a mock function with no fields

func (*MockConfiguration) TrimMultipleEmptyLines

func (_m *MockConfiguration) TrimMultipleEmptyLines() bool

TrimMultipleEmptyLines provides a mock function with no fields

func (*MockConfiguration) UseTabs

func (_m *MockConfiguration) UseTabs() bool

UseTabs provides a mock function with no fields

type MockConfiguration_Expecter

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

func (*MockConfiguration_Expecter) IndentSize

IndentSize is a helper method to define mock.On call

func (*MockConfiguration_Expecter) OneBracketPerLine

OneBracketPerLine is a helper method to define mock.On call

func (*MockConfiguration_Expecter) Raw

Raw is a helper method to define mock.On call

func (*MockConfiguration_Expecter) TrimMultipleEmptyLines

TrimMultipleEmptyLines is a helper method to define mock.On call

func (*MockConfiguration_Expecter) UseTabs

UseTabs is a helper method to define mock.On call

type MockConfiguration_IndentSize_Call

type MockConfiguration_IndentSize_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_IndentSize_Call) Return

func (*MockConfiguration_IndentSize_Call) Run

func (*MockConfiguration_IndentSize_Call) RunAndReturn

type MockConfiguration_OneBracketPerLine_Call

type MockConfiguration_OneBracketPerLine_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_OneBracketPerLine_Call) Return

func (*MockConfiguration_OneBracketPerLine_Call) Run

func (*MockConfiguration_OneBracketPerLine_Call) RunAndReturn

type MockConfiguration_Raw_Call

type MockConfiguration_Raw_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_Raw_Call) Return

func (*MockConfiguration_Raw_Call) Run

func (*MockConfiguration_Raw_Call) RunAndReturn

func (_c *MockConfiguration_Raw_Call) RunAndReturn(run func() map[string]string) *MockConfiguration_Raw_Call

type MockConfiguration_TrimMultipleEmptyLines_Call

type MockConfiguration_TrimMultipleEmptyLines_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_TrimMultipleEmptyLines_Call) Return

func (*MockConfiguration_TrimMultipleEmptyLines_Call) Run

func (*MockConfiguration_TrimMultipleEmptyLines_Call) RunAndReturn

type MockConfiguration_UseTabs_Call

type MockConfiguration_UseTabs_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_UseTabs_Call) Return

func (*MockConfiguration_UseTabs_Call) Run

func (*MockConfiguration_UseTabs_Call) RunAndReturn

Jump to

Keyboard shortcuts

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