mocks

package
v0.129.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccessControlContract

type MockAccessControlContract struct {
	mock.Mock
}

MockAccessControlContract is an autogenerated mock type for the AccessControlContract type

func NewMockAccessControlContract

func NewMockAccessControlContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccessControlContract

NewMockAccessControlContract creates a new instance of MockAccessControlContract. 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 (*MockAccessControlContract) Address

func (_mock *MockAccessControlContract) Address() common.Address

Address provides a mock function for the type MockAccessControlContract

func (*MockAccessControlContract) EXPECT

func (*MockAccessControlContract) HasRole

func (_mock *MockAccessControlContract) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole provides a mock function for the type MockAccessControlContract

type MockAccessControlContract_Address_Call

type MockAccessControlContract_Address_Call struct {
	*mock.Call
}

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

func (*MockAccessControlContract_Address_Call) Return

func (*MockAccessControlContract_Address_Call) Run

func (*MockAccessControlContract_Address_Call) RunAndReturn

type MockAccessControlContract_Expecter

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

func (*MockAccessControlContract_Expecter) Address

Address is a helper method to define mock.On call

func (*MockAccessControlContract_Expecter) HasRole

func (_e *MockAccessControlContract_Expecter) HasRole(opts interface{}, role interface{}, account interface{}) *MockAccessControlContract_HasRole_Call

HasRole is a helper method to define mock.On call

  • opts *bind.CallOpts
  • role [32]byte
  • account common.Address

type MockAccessControlContract_HasRole_Call

type MockAccessControlContract_HasRole_Call struct {
	*mock.Call
}

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

func (*MockAccessControlContract_HasRole_Call) Return

func (*MockAccessControlContract_HasRole_Call) Run

func (*MockAccessControlContract_HasRole_Call) RunAndReturn

type MockAuthorizedCallersContract added in v0.107.0

type MockAuthorizedCallersContract struct {
	mock.Mock
}

MockAuthorizedCallersContract is an autogenerated mock type for the AuthorizedCallersContract type

func NewMockAuthorizedCallersContract added in v0.107.0

func NewMockAuthorizedCallersContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAuthorizedCallersContract

NewMockAuthorizedCallersContract creates a new instance of MockAuthorizedCallersContract. 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 (*MockAuthorizedCallersContract) Address added in v0.107.0

func (_mock *MockAuthorizedCallersContract) Address() common.Address

Address provides a mock function for the type MockAuthorizedCallersContract

func (*MockAuthorizedCallersContract) EXPECT added in v0.107.0

func (*MockAuthorizedCallersContract) GetAllAuthorizedCallers added in v0.107.0

func (_mock *MockAuthorizedCallersContract) GetAllAuthorizedCallers(opts *bind.CallOpts) ([]common.Address, error)

GetAllAuthorizedCallers provides a mock function for the type MockAuthorizedCallersContract

type MockAuthorizedCallersContract_Address_Call added in v0.107.0

type MockAuthorizedCallersContract_Address_Call struct {
	*mock.Call
}

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

func (*MockAuthorizedCallersContract_Address_Call) Return added in v0.107.0

func (*MockAuthorizedCallersContract_Address_Call) Run added in v0.107.0

func (*MockAuthorizedCallersContract_Address_Call) RunAndReturn added in v0.107.0

type MockAuthorizedCallersContract_Expecter added in v0.107.0

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

func (*MockAuthorizedCallersContract_Expecter) Address added in v0.107.0

Address is a helper method to define mock.On call

func (*MockAuthorizedCallersContract_Expecter) GetAllAuthorizedCallers added in v0.107.0

GetAllAuthorizedCallers is a helper method to define mock.On call

  • opts *bind.CallOpts

type MockAuthorizedCallersContract_GetAllAuthorizedCallers_Call added in v0.107.0

type MockAuthorizedCallersContract_GetAllAuthorizedCallers_Call struct {
	*mock.Call
}

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

func (*MockAuthorizedCallersContract_GetAllAuthorizedCallers_Call) Return added in v0.107.0

func (*MockAuthorizedCallersContract_GetAllAuthorizedCallers_Call) Run added in v0.107.0

func (*MockAuthorizedCallersContract_GetAllAuthorizedCallers_Call) RunAndReturn added in v0.107.0

type MockWorkflowRegistryContract added in v0.114.6

type MockWorkflowRegistryContract struct {
	mock.Mock
}

MockWorkflowRegistryContract is an autogenerated mock type for the WorkflowRegistryContract type

func NewMockWorkflowRegistryContract added in v0.114.6

func NewMockWorkflowRegistryContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkflowRegistryContract

NewMockWorkflowRegistryContract creates a new instance of MockWorkflowRegistryContract. 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 (*MockWorkflowRegistryContract) Address added in v0.114.6

func (_mock *MockWorkflowRegistryContract) Address() common.Address

Address provides a mock function for the type MockWorkflowRegistryContract

func (*MockWorkflowRegistryContract) EXPECT added in v0.114.6

func (*MockWorkflowRegistryContract) GetWorkflowById added in v0.114.6

GetWorkflowById provides a mock function for the type MockWorkflowRegistryContract

type MockWorkflowRegistryContract_Address_Call added in v0.114.6

type MockWorkflowRegistryContract_Address_Call struct {
	*mock.Call
}

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

func (*MockWorkflowRegistryContract_Address_Call) Return added in v0.114.6

func (*MockWorkflowRegistryContract_Address_Call) Run added in v0.114.6

func (*MockWorkflowRegistryContract_Address_Call) RunAndReturn added in v0.114.6

type MockWorkflowRegistryContract_Expecter added in v0.114.6

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

func (*MockWorkflowRegistryContract_Expecter) Address added in v0.114.6

Address is a helper method to define mock.On call

func (*MockWorkflowRegistryContract_Expecter) GetWorkflowById added in v0.114.6

func (_e *MockWorkflowRegistryContract_Expecter) GetWorkflowById(opts interface{}, workflowId interface{}) *MockWorkflowRegistryContract_GetWorkflowById_Call

GetWorkflowById is a helper method to define mock.On call

  • opts *bind.CallOpts
  • workflowId [32]byte

type MockWorkflowRegistryContract_GetWorkflowById_Call added in v0.114.6

type MockWorkflowRegistryContract_GetWorkflowById_Call struct {
	*mock.Call
}

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

func (*MockWorkflowRegistryContract_GetWorkflowById_Call) Return added in v0.114.6

func (*MockWorkflowRegistryContract_GetWorkflowById_Call) Run added in v0.114.6

func (*MockWorkflowRegistryContract_GetWorkflowById_Call) RunAndReturn added in v0.114.6

Jump to

Keyboard shortcuts

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