mocks

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FacadeAutowire

type FacadeAutowire struct {
	mock.Mock
}

FacadeAutowire is an autogenerated mock type for the FacadeAutowire type

func NewFacadeAutowire

func NewFacadeAutowire(t testing.TB) *FacadeAutowire

NewFacadeAutowire creates a new instance of FacadeAutowire. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*FacadeAutowire) GetAllStructDescriptors

func (_m *FacadeAutowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor

GetAllStructDescriptors provides a mock function with given fields:

func (*FacadeAutowire) TagKey

func (_m *FacadeAutowire) TagKey() string

TagKey provides a mock function with given fields:

type ParamLoader

type ParamLoader struct {
	mock.Mock
}

ParamLoader is an autogenerated mock type for the ParamLoader type

func NewParamLoader

func NewParamLoader(t testing.TB) *ParamLoader

NewParamLoader creates a new instance of ParamLoader. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*ParamLoader) Load

func (_m *ParamLoader) Load(sd *autowire.StructDescriptor, fi *autowire.FieldInfo) (interface{}, error)

Load provides a mock function with given fields: sd, fi

type SDIDParser

type SDIDParser struct {
	mock.Mock
}

SDIDParser is an autogenerated mock type for the SDIDParser type

func NewSDIDParser

func NewSDIDParser(t testing.TB) *SDIDParser

NewSDIDParser creates a new instance of SDIDParser. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*SDIDParser) Parse

func (_m *SDIDParser) Parse(fi *autowire.FieldInfo) (string, error)

Parse provides a mock function with given fields: fi

type WrapperAutowire

type WrapperAutowire struct {
	mock.Mock
}

WrapperAutowire is an autogenerated mock type for the WrapperAutowire type

func NewWrapperAutowire

func NewWrapperAutowire(t testing.TB) *WrapperAutowire

NewWrapperAutowire creates a new instance of WrapperAutowire. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*WrapperAutowire) CanBeEntrance

func (_m *WrapperAutowire) CanBeEntrance() bool

CanBeEntrance provides a mock function with given fields:

func (*WrapperAutowire) Construct

func (_m *WrapperAutowire) Construct(sdID string, impledPtr interface{}, param interface{}) (interface{}, error)

Construct provides a mock function with given fields: sdID, impledPtr, param

func (*WrapperAutowire) Factory

func (_m *WrapperAutowire) Factory(sdID string) (interface{}, error)

Factory provides a mock function with given fields: sdID

func (*WrapperAutowire) GetAllStructDescriptors

func (_m *WrapperAutowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor

GetAllStructDescriptors provides a mock function with given fields:

func (*WrapperAutowire) ImplWithParam

func (_m *WrapperAutowire) ImplWithParam(sdID string, param interface{}) (interface{}, error)

ImplWithParam provides a mock function with given fields: sdID, param

func (*WrapperAutowire) ImplWithoutParam

func (_m *WrapperAutowire) ImplWithoutParam(sdID string) (interface{}, error)

ImplWithoutParam provides a mock function with given fields: sdID

func (*WrapperAutowire) InjectPosition

func (_m *WrapperAutowire) InjectPosition() autowire.InjectPosition

InjectPosition provides a mock function with given fields:

func (*WrapperAutowire) IsSingleton

func (_m *WrapperAutowire) IsSingleton() bool

IsSingleton provides a mock function with given fields:

func (*WrapperAutowire) ParseParam

func (_m *WrapperAutowire) ParseParam(sdID string, fi *autowire.FieldInfo) (interface{}, error)

ParseParam provides a mock function with given fields: sdID, fi

func (*WrapperAutowire) ParseSDID

func (_m *WrapperAutowire) ParseSDID(field *autowire.FieldInfo) (string, error)

ParseSDID provides a mock function with given fields: field

func (*WrapperAutowire) TagKey

func (_m *WrapperAutowire) TagKey() string

TagKey provides a mock function with given fields:

Jump to

Keyboard shortcuts

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