mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: GPL-3.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 MockAuditable

type MockAuditable struct {
	mock.Mock
}

MockAuditable is an autogenerated mock type for the Auditable type

func NewMockAuditable

func NewMockAuditable(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAuditable

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

func (_m *MockAuditable) EXPECT() *MockAuditable_Expecter

func (*MockAuditable) GetInstanceID

func (_mock *MockAuditable) GetInstanceID() string

GetInstanceID provides a mock function for the type MockAuditable

func (*MockAuditable) GetInstanceName

func (_mock *MockAuditable) GetInstanceName() string

GetInstanceName provides a mock function for the type MockAuditable

func (*MockAuditable) GetTypeDescription

func (_mock *MockAuditable) GetTypeDescription() string

GetTypeDescription provides a mock function for the type MockAuditable

func (*MockAuditable) GetTypeName

func (_mock *MockAuditable) GetTypeName() string

GetTypeName provides a mock function for the type MockAuditable

func (*MockAuditable) HashCode

func (_mock *MockAuditable) HashCode() uint32

HashCode provides a mock function for the type MockAuditable

func (*MockAuditable) ToAuditMap

func (_mock *MockAuditable) ToAuditMap() map[string]string

ToAuditMap provides a mock function for the type MockAuditable

type MockAuditable_Expecter

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

func (*MockAuditable_Expecter) GetInstanceID

GetInstanceID is a helper method to define mock.On call

func (*MockAuditable_Expecter) GetInstanceName

GetInstanceName is a helper method to define mock.On call

func (*MockAuditable_Expecter) GetTypeDescription

GetTypeDescription is a helper method to define mock.On call

func (*MockAuditable_Expecter) GetTypeName

GetTypeName is a helper method to define mock.On call

func (*MockAuditable_Expecter) HashCode

HashCode is a helper method to define mock.On call

func (*MockAuditable_Expecter) ToAuditMap

ToAuditMap is a helper method to define mock.On call

type MockAuditable_GetInstanceID_Call

type MockAuditable_GetInstanceID_Call struct {
	*mock.Call
}

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

func (*MockAuditable_GetInstanceID_Call) Return

func (*MockAuditable_GetInstanceID_Call) Run

func (*MockAuditable_GetInstanceID_Call) RunAndReturn

type MockAuditable_GetInstanceName_Call

type MockAuditable_GetInstanceName_Call struct {
	*mock.Call
}

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

func (*MockAuditable_GetInstanceName_Call) Return

func (*MockAuditable_GetInstanceName_Call) Run

func (*MockAuditable_GetInstanceName_Call) RunAndReturn

type MockAuditable_GetTypeDescription_Call

type MockAuditable_GetTypeDescription_Call struct {
	*mock.Call
}

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

func (*MockAuditable_GetTypeDescription_Call) Return

func (*MockAuditable_GetTypeDescription_Call) Run

func (*MockAuditable_GetTypeDescription_Call) RunAndReturn

type MockAuditable_GetTypeName_Call

type MockAuditable_GetTypeName_Call struct {
	*mock.Call
}

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

func (*MockAuditable_GetTypeName_Call) Return

func (*MockAuditable_GetTypeName_Call) Run

func (*MockAuditable_GetTypeName_Call) RunAndReturn

type MockAuditable_HashCode_Call

type MockAuditable_HashCode_Call struct {
	*mock.Call
}

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

func (*MockAuditable_HashCode_Call) Return

func (*MockAuditable_HashCode_Call) Run

func (*MockAuditable_HashCode_Call) RunAndReturn

func (_c *MockAuditable_HashCode_Call) RunAndReturn(run func() uint32) *MockAuditable_HashCode_Call

type MockAuditable_ToAuditMap_Call

type MockAuditable_ToAuditMap_Call struct {
	*mock.Call
}

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

func (*MockAuditable_ToAuditMap_Call) Return

func (*MockAuditable_ToAuditMap_Call) Run

func (*MockAuditable_ToAuditMap_Call) RunAndReturn

Jump to

Keyboard shortcuts

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