Documentation
¶
Index ¶
- type DoSomethingWithParam_genType
- type MoqDoSomethingWithParam_genType
- func (m *MoqDoSomethingWithParam_genType) AssertExpectationsMet()
- func (m *MoqDoSomethingWithParam_genType) Mock() DoSomethingWithParam_genType
- func (m *MoqDoSomethingWithParam_genType) OnCall(param1 testmoqs.Param) *MoqDoSomethingWithParam_genType_recorder
- func (m *MoqDoSomethingWithParam_genType) Reset()
- type MoqDoSomethingWithParam_genType_adaptor
- type MoqDoSomethingWithParam_genType_anyParams
- type MoqDoSomethingWithParam_genType_doFn
- type MoqDoSomethingWithParam_genType_doReturnFn
- type MoqDoSomethingWithParam_genType_paramIndexing
- type MoqDoSomethingWithParam_genType_params
- type MoqDoSomethingWithParam_genType_paramsKey
- type MoqDoSomethingWithParam_genType_recorder
- func (r *MoqDoSomethingWithParam_genType_recorder) AndDo(fn MoqDoSomethingWithParam_genType_doFn) *MoqDoSomethingWithParam_genType_recorder
- func (r *MoqDoSomethingWithParam_genType_recorder) Any() *MoqDoSomethingWithParam_genType_anyParams
- func (r *MoqDoSomethingWithParam_genType_recorder) DoReturnResults(fn MoqDoSomethingWithParam_genType_doReturnFn) *MoqDoSomethingWithParam_genType_recorder
- func (r *MoqDoSomethingWithParam_genType_recorder) NoSeq() *MoqDoSomethingWithParam_genType_recorder
- func (r *MoqDoSomethingWithParam_genType_recorder) Repeat(repeaters ...moq.Repeater) *MoqDoSomethingWithParam_genType_recorder
- func (r *MoqDoSomethingWithParam_genType_recorder) ReturnResults() *MoqDoSomethingWithParam_genType_recorder
- func (r *MoqDoSomethingWithParam_genType_recorder) Seq() *MoqDoSomethingWithParam_genType_recorder
- type MoqDoSomethingWithParam_genType_results
- type MoqDoSomethingWithParam_genType_runtime
- type MoqPassByRefSimple_genType
- type MoqPassByRefSimple_genType_Usual_adaptor
- type MoqPassByRefSimple_genType_Usual_anyParams
- type MoqPassByRefSimple_genType_Usual_doFn
- type MoqPassByRefSimple_genType_Usual_doReturnFn
- type MoqPassByRefSimple_genType_Usual_paramIndexing
- type MoqPassByRefSimple_genType_Usual_params
- type MoqPassByRefSimple_genType_Usual_paramsKey
- type MoqPassByRefSimple_genType_Usual_recorder
- func (r *MoqPassByRefSimple_genType_Usual_recorder) AndDo(fn MoqPassByRefSimple_genType_Usual_doFn) *MoqPassByRefSimple_genType_Usual_recorder
- func (r *MoqPassByRefSimple_genType_Usual_recorder) Any() *MoqPassByRefSimple_genType_Usual_anyParams
- func (r *MoqPassByRefSimple_genType_Usual_recorder) DoReturnResults(fn MoqPassByRefSimple_genType_Usual_doReturnFn) *MoqPassByRefSimple_genType_Usual_recorder
- func (r *MoqPassByRefSimple_genType_Usual_recorder) NoSeq() *MoqPassByRefSimple_genType_Usual_recorder
- func (r *MoqPassByRefSimple_genType_Usual_recorder) Repeat(repeaters ...moq.Repeater) *MoqPassByRefSimple_genType_Usual_recorder
- func (r *MoqPassByRefSimple_genType_Usual_recorder) ReturnResults(result1 string, result2 error) *MoqPassByRefSimple_genType_Usual_recorder
- func (r *MoqPassByRefSimple_genType_Usual_recorder) Seq() *MoqPassByRefSimple_genType_Usual_recorder
- type MoqPassByRefSimple_genType_Usual_results
- type MoqPassByRefSimple_genType_mock
- type MoqPassByRefSimple_genType_recorder
- type MoqPassByRefSimple_genType_runtime
- type MoqPassByValueSimple_genType
- type MoqPassByValueSimple_genType_Usual_adaptor
- type MoqPassByValueSimple_genType_Usual_anyParams
- type MoqPassByValueSimple_genType_Usual_doFn
- type MoqPassByValueSimple_genType_Usual_doReturnFn
- type MoqPassByValueSimple_genType_Usual_paramIndexing
- type MoqPassByValueSimple_genType_Usual_params
- type MoqPassByValueSimple_genType_Usual_paramsKey
- type MoqPassByValueSimple_genType_Usual_recorder
- func (r *MoqPassByValueSimple_genType_Usual_recorder) AndDo(fn MoqPassByValueSimple_genType_Usual_doFn) *MoqPassByValueSimple_genType_Usual_recorder
- func (r *MoqPassByValueSimple_genType_Usual_recorder) Any() *MoqPassByValueSimple_genType_Usual_anyParams
- func (r *MoqPassByValueSimple_genType_Usual_recorder) DoReturnResults(fn MoqPassByValueSimple_genType_Usual_doReturnFn) *MoqPassByValueSimple_genType_Usual_recorder
- func (r *MoqPassByValueSimple_genType_Usual_recorder) NoSeq() *MoqPassByValueSimple_genType_Usual_recorder
- func (r *MoqPassByValueSimple_genType_Usual_recorder) Repeat(repeaters ...moq.Repeater) *MoqPassByValueSimple_genType_Usual_recorder
- func (r *MoqPassByValueSimple_genType_Usual_recorder) ReturnResults(result1 string, result2 error) *MoqPassByValueSimple_genType_Usual_recorder
- func (r *MoqPassByValueSimple_genType_Usual_recorder) Seq() *MoqPassByValueSimple_genType_Usual_recorder
- type MoqPassByValueSimple_genType_Usual_results
- type MoqPassByValueSimple_genType_mock
- type MoqPassByValueSimple_genType_recorder
- type MoqPassByValueSimple_genType_runtime
- type MoqReduced
- type MoqReduced_ReallyUnusualParams_adaptor
- type MoqReduced_ReallyUnusualParams_anyParams
- type MoqReduced_ReallyUnusualParams_doFn
- type MoqReduced_ReallyUnusualParams_doReturnFn
- type MoqReduced_ReallyUnusualParams_paramIndexing
- type MoqReduced_ReallyUnusualParams_params
- type MoqReduced_ReallyUnusualParams_paramsKey
- type MoqReduced_ReallyUnusualParams_recorder
- func (r *MoqReduced_ReallyUnusualParams_recorder) AndDo(fn MoqReduced_ReallyUnusualParams_doFn) *MoqReduced_ReallyUnusualParams_recorder
- func (r *MoqReduced_ReallyUnusualParams_recorder) Any() *MoqReduced_ReallyUnusualParams_anyParams
- func (r *MoqReduced_ReallyUnusualParams_recorder) DoReturnResults(fn MoqReduced_ReallyUnusualParams_doReturnFn) *MoqReduced_ReallyUnusualParams_recorder
- func (r *MoqReduced_ReallyUnusualParams_recorder) NoSeq() *MoqReduced_ReallyUnusualParams_recorder
- func (r *MoqReduced_ReallyUnusualParams_recorder) Repeat(repeaters ...moq.Repeater) *MoqReduced_ReallyUnusualParams_recorder
- func (r *MoqReduced_ReallyUnusualParams_recorder) ReturnResults() *MoqReduced_ReallyUnusualParams_recorder
- func (r *MoqReduced_ReallyUnusualParams_recorder) Seq() *MoqReduced_ReallyUnusualParams_recorder
- type MoqReduced_ReallyUnusualParams_results
- type MoqReduced_ReallyUnusualResults_adaptor
- type MoqReduced_ReallyUnusualResults_anyParams
- type MoqReduced_ReallyUnusualResults_doFn
- type MoqReduced_ReallyUnusualResults_doReturnFn
- type MoqReduced_ReallyUnusualResults_paramIndexing
- type MoqReduced_ReallyUnusualResults_params
- type MoqReduced_ReallyUnusualResults_paramsKey
- type MoqReduced_ReallyUnusualResults_recorder
- func (r *MoqReduced_ReallyUnusualResults_recorder) AndDo(fn MoqReduced_ReallyUnusualResults_doFn) *MoqReduced_ReallyUnusualResults_recorder
- func (r *MoqReduced_ReallyUnusualResults_recorder) Any() *MoqReduced_ReallyUnusualResults_anyParams
- func (r *MoqReduced_ReallyUnusualResults_recorder) DoReturnResults(fn MoqReduced_ReallyUnusualResults_doReturnFn) *MoqReduced_ReallyUnusualResults_recorder
- func (r *MoqReduced_ReallyUnusualResults_recorder) NoSeq() *MoqReduced_ReallyUnusualResults_recorder
- func (r *MoqReduced_ReallyUnusualResults_recorder) Repeat(repeaters ...moq.Repeater) *MoqReduced_ReallyUnusualResults_recorder
- func (r *MoqReduced_ReallyUnusualResults_recorder) ReturnResults(result1 struct{ ... }) *MoqReduced_ReallyUnusualResults_recorder
- func (r *MoqReduced_ReallyUnusualResults_recorder) Seq() *MoqReduced_ReallyUnusualResults_recorder
- type MoqReduced_ReallyUnusualResults_results
- type MoqReduced_Usual_adaptor
- type MoqReduced_Usual_anyParams
- type MoqReduced_Usual_doFn
- type MoqReduced_Usual_doReturnFn
- type MoqReduced_Usual_paramIndexing
- type MoqReduced_Usual_params
- type MoqReduced_Usual_paramsKey
- type MoqReduced_Usual_recorder
- func (r *MoqReduced_Usual_recorder) AndDo(fn MoqReduced_Usual_doFn) *MoqReduced_Usual_recorder
- func (r *MoqReduced_Usual_recorder) Any() *MoqReduced_Usual_anyParams
- func (r *MoqReduced_Usual_recorder) DoReturnResults(fn MoqReduced_Usual_doReturnFn) *MoqReduced_Usual_recorder
- func (r *MoqReduced_Usual_recorder) NoSeq() *MoqReduced_Usual_recorder
- func (r *MoqReduced_Usual_recorder) Repeat(repeaters ...moq.Repeater) *MoqReduced_Usual_recorder
- func (r *MoqReduced_Usual_recorder) ReturnResults(sResult string, err error) *MoqReduced_Usual_recorder
- func (r *MoqReduced_Usual_recorder) Seq() *MoqReduced_Usual_recorder
- type MoqReduced_Usual_results
- type MoqReduced_mock
- type MoqReduced_recorder
- type MoqReduced_runtime
- type MoqStandaloneFunc_genType
- type MoqStandaloneFunc_genType_adaptor
- type MoqStandaloneFunc_genType_anyParams
- type MoqStandaloneFunc_genType_doFn
- type MoqStandaloneFunc_genType_doReturnFn
- type MoqStandaloneFunc_genType_paramIndexing
- type MoqStandaloneFunc_genType_params
- type MoqStandaloneFunc_genType_paramsKey
- type MoqStandaloneFunc_genType_recorder
- func (r *MoqStandaloneFunc_genType_recorder) AndDo(fn MoqStandaloneFunc_genType_doFn) *MoqStandaloneFunc_genType_recorder
- func (r *MoqStandaloneFunc_genType_recorder) Any() *MoqStandaloneFunc_genType_anyParams
- func (r *MoqStandaloneFunc_genType_recorder) DoReturnResults(fn MoqStandaloneFunc_genType_doReturnFn) *MoqStandaloneFunc_genType_recorder
- func (r *MoqStandaloneFunc_genType_recorder) NoSeq() *MoqStandaloneFunc_genType_recorder
- func (r *MoqStandaloneFunc_genType_recorder) Repeat(repeaters ...moq.Repeater) *MoqStandaloneFunc_genType_recorder
- func (r *MoqStandaloneFunc_genType_recorder) ReturnResults(result1 string, result2 error) *MoqStandaloneFunc_genType_recorder
- func (r *MoqStandaloneFunc_genType_recorder) Seq() *MoqStandaloneFunc_genType_recorder
- type MoqStandaloneFunc_genType_results
- type MoqStandaloneFunc_genType_runtime
- type PassByRefSimple_genType
- type PassByValueSimple_genType
- type Reduced_reduced
- type StandaloneFunc_genType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoSomethingWithParam_genType ¶
DoSomethingWithParam_genType is the fabricated implementation type of this mock (emitted when mocking functions directly and not from a function type)
type MoqDoSomethingWithParam_genType ¶
type MoqDoSomethingWithParam_genType struct { Moq *impl.Moq[ *MoqDoSomethingWithParam_genType_adaptor, MoqDoSomethingWithParam_genType_params, MoqDoSomethingWithParam_genType_paramsKey, MoqDoSomethingWithParam_genType_results, ] Runtime MoqDoSomethingWithParam_genType_runtime }
MoqDoSomethingWithParam_genType holds the state of a moq of the DoSomethingWithParam_genType type
func NewMoqDoSomethingWithParam_genType ¶
func NewMoqDoSomethingWithParam_genType(scene *moq.Scene, config *moq.Config) *MoqDoSomethingWithParam_genType
NewMoqDoSomethingWithParam_genType creates a new moq of the DoSomethingWithParam_genType type
func (*MoqDoSomethingWithParam_genType) AssertExpectationsMet ¶
func (m *MoqDoSomethingWithParam_genType) AssertExpectationsMet()
AssertExpectationsMet asserts that all expectations have been met
func (*MoqDoSomethingWithParam_genType) Mock ¶
func (m *MoqDoSomethingWithParam_genType) Mock() DoSomethingWithParam_genType
Mock returns the moq implementation of the DoSomethingWithParam_genType type
func (*MoqDoSomethingWithParam_genType) OnCall ¶
func (m *MoqDoSomethingWithParam_genType) OnCall(param1 testmoqs.Param) *MoqDoSomethingWithParam_genType_recorder
func (*MoqDoSomethingWithParam_genType) Reset ¶
func (m *MoqDoSomethingWithParam_genType) Reset()
Reset resets the state of the moq
type MoqDoSomethingWithParam_genType_adaptor ¶ added in v0.28.0
type MoqDoSomethingWithParam_genType_adaptor struct {
Moq *MoqDoSomethingWithParam_genType
}
MoqDoSomethingWithParam_genType_adaptor adapts MoqDoSomethingWithParam_genType as needed by the runtime
func (*MoqDoSomethingWithParam_genType_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqDoSomethingWithParam_genType_adaptor) ParamsKey(params MoqDoSomethingWithParam_genType_params, anyParams uint64) MoqDoSomethingWithParam_genType_paramsKey
func (*MoqDoSomethingWithParam_genType_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqDoSomethingWithParam_genType_adaptor) PrettyParams(params MoqDoSomethingWithParam_genType_params) string
type MoqDoSomethingWithParam_genType_anyParams ¶
type MoqDoSomethingWithParam_genType_anyParams struct {
Recorder *MoqDoSomethingWithParam_genType_recorder
}
MoqDoSomethingWithParam_genType_anyParams isolates the any params functions of the DoSomethingWithParam_genType type
func (*MoqDoSomethingWithParam_genType_anyParams) Param1 ¶
func (a *MoqDoSomethingWithParam_genType_anyParams) Param1() *MoqDoSomethingWithParam_genType_recorder
type MoqDoSomethingWithParam_genType_doFn ¶
MoqDoSomethingWithParam_genType_doFn defines the type of function needed when calling AndDo for the DoSomethingWithParam_genType type
type MoqDoSomethingWithParam_genType_doReturnFn ¶
MoqDoSomethingWithParam_genType_doReturnFn defines the type of function needed when calling DoReturnResults for the DoSomethingWithParam_genType type
type MoqDoSomethingWithParam_genType_paramIndexing ¶ added in v0.28.0
type MoqDoSomethingWithParam_genType_paramIndexing struct {
Param1 moq.ParamIndexing
}
MoqDoSomethingWithParam_genType_paramIndexing holds the parameter indexing runtime configuration for the DoSomethingWithParam_genType type
type MoqDoSomethingWithParam_genType_params ¶
MoqDoSomethingWithParam_genType_params holds the params of the DoSomethingWithParam_genType type
type MoqDoSomethingWithParam_genType_paramsKey ¶
type MoqDoSomethingWithParam_genType_paramsKey struct { Params struct{ Param1 testmoqs.Param } Hashes struct{ Param1 hash.Hash } }
MoqDoSomethingWithParam_genType_paramsKey holds the map key params of the DoSomethingWithParam_genType type
type MoqDoSomethingWithParam_genType_recorder ¶ added in v0.28.0
type MoqDoSomethingWithParam_genType_recorder struct { Recorder *impl.Recorder[ *MoqDoSomethingWithParam_genType_adaptor, MoqDoSomethingWithParam_genType_params, MoqDoSomethingWithParam_genType_paramsKey, MoqDoSomethingWithParam_genType_results, ] }
MoqDoSomethingWithParam_genType_recorder routes recorded function calls to the MoqDoSomethingWithParam_genType moq
func (*MoqDoSomethingWithParam_genType_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqDoSomethingWithParam_genType_recorder) DoReturnResults(fn MoqDoSomethingWithParam_genType_doReturnFn) *MoqDoSomethingWithParam_genType_recorder
func (*MoqDoSomethingWithParam_genType_recorder) NoSeq ¶ added in v0.28.0
func (r *MoqDoSomethingWithParam_genType_recorder) NoSeq() *MoqDoSomethingWithParam_genType_recorder
func (*MoqDoSomethingWithParam_genType_recorder) Repeat ¶ added in v0.28.0
func (r *MoqDoSomethingWithParam_genType_recorder) Repeat(repeaters ...moq.Repeater) *MoqDoSomethingWithParam_genType_recorder
func (*MoqDoSomethingWithParam_genType_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqDoSomethingWithParam_genType_recorder) ReturnResults() *MoqDoSomethingWithParam_genType_recorder
type MoqDoSomethingWithParam_genType_results ¶
type MoqDoSomethingWithParam_genType_results struct{}
MoqDoSomethingWithParam_genType_results holds the results of the DoSomethingWithParam_genType type
type MoqDoSomethingWithParam_genType_runtime ¶ added in v0.28.0
type MoqDoSomethingWithParam_genType_runtime struct {
ParameterIndexing MoqDoSomethingWithParam_genType_paramIndexing
}
MoqDoSomethingWithParam_genType_runtime holds runtime configuration for the DoSomethingWithParam_genType type
type MoqPassByRefSimple_genType ¶
type MoqPassByRefSimple_genType struct { Moq *MoqPassByRefSimple_genType_mock Moq_Usual *impl.Moq[ *MoqPassByRefSimple_genType_Usual_adaptor, MoqPassByRefSimple_genType_Usual_params, MoqPassByRefSimple_genType_Usual_paramsKey, MoqPassByRefSimple_genType_Usual_results, ] Runtime MoqPassByRefSimple_genType_runtime }
MoqPassByRefSimple_genType holds the state of a moq of the PassByRefSimple_genType type
func NewMoqPassByRefSimple_genType ¶
func NewMoqPassByRefSimple_genType(scene *moq.Scene, config *moq.Config) *MoqPassByRefSimple_genType
NewMoqPassByRefSimple_genType creates a new moq of the PassByRefSimple_genType type
func (*MoqPassByRefSimple_genType) AssertExpectationsMet ¶
func (m *MoqPassByRefSimple_genType) AssertExpectationsMet()
AssertExpectationsMet asserts that all expectations have been met
func (*MoqPassByRefSimple_genType) Mock ¶
func (m *MoqPassByRefSimple_genType) Mock() *MoqPassByRefSimple_genType_mock
Mock returns the mock implementation of the PassByRefSimple_genType type
func (*MoqPassByRefSimple_genType) OnCall ¶
func (m *MoqPassByRefSimple_genType) OnCall() *MoqPassByRefSimple_genType_recorder
OnCall returns the recorder implementation of the PassByRefSimple_genType type
func (*MoqPassByRefSimple_genType) Reset ¶
func (m *MoqPassByRefSimple_genType) Reset()
Reset resets the state of the moq
type MoqPassByRefSimple_genType_Usual_adaptor ¶ added in v0.28.0
type MoqPassByRefSimple_genType_Usual_adaptor struct {
Moq *MoqPassByRefSimple_genType
}
MoqPassByRefSimple_genType_Usual_adaptor adapts MoqPassByRefSimple_genType as needed by the runtime
func (*MoqPassByRefSimple_genType_Usual_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqPassByRefSimple_genType_Usual_adaptor) ParamsKey(params MoqPassByRefSimple_genType_Usual_params, anyParams uint64) MoqPassByRefSimple_genType_Usual_paramsKey
func (*MoqPassByRefSimple_genType_Usual_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqPassByRefSimple_genType_Usual_adaptor) PrettyParams(params MoqPassByRefSimple_genType_Usual_params) string
type MoqPassByRefSimple_genType_Usual_anyParams ¶
type MoqPassByRefSimple_genType_Usual_anyParams struct {
Recorder *MoqPassByRefSimple_genType_Usual_recorder
}
MoqPassByRefSimple_genType_Usual_anyParams isolates the any params functions of the PassByRefSimple_genType type
func (*MoqPassByRefSimple_genType_Usual_anyParams) Param1 ¶
func (a *MoqPassByRefSimple_genType_Usual_anyParams) Param1() *MoqPassByRefSimple_genType_Usual_recorder
func (*MoqPassByRefSimple_genType_Usual_anyParams) Param2 ¶
func (a *MoqPassByRefSimple_genType_Usual_anyParams) Param2() *MoqPassByRefSimple_genType_Usual_recorder
type MoqPassByRefSimple_genType_Usual_doFn ¶
MoqPassByRefSimple_genType_Usual_doFn defines the type of function needed when calling AndDo for the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_Usual_doReturnFn ¶
MoqPassByRefSimple_genType_Usual_doReturnFn defines the type of function needed when calling DoReturnResults for the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_Usual_paramIndexing ¶ added in v0.28.0
type MoqPassByRefSimple_genType_Usual_paramIndexing struct { Param1 moq.ParamIndexing Param2 moq.ParamIndexing }
MoqPassByRefSimple_genType_Usual_paramIndexing holds the parameter indexing runtime configuration for the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_Usual_params ¶
MoqPassByRefSimple_genType_Usual_params holds the params of the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_Usual_paramsKey ¶
type MoqPassByRefSimple_genType_Usual_paramsKey struct { Params struct { Param1 string Param2 bool } Hashes struct { Param1 hash.Hash Param2 hash.Hash } }
MoqPassByRefSimple_genType_Usual_paramsKey holds the map key params of the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_Usual_recorder ¶ added in v0.28.0
type MoqPassByRefSimple_genType_Usual_recorder struct { Recorder *impl.Recorder[ *MoqPassByRefSimple_genType_Usual_adaptor, MoqPassByRefSimple_genType_Usual_params, MoqPassByRefSimple_genType_Usual_paramsKey, MoqPassByRefSimple_genType_Usual_results, ] }
MoqPassByRefSimple_genType_Usual_recorder routes recorded function calls to the MoqPassByRefSimple_genType moq
func (*MoqPassByRefSimple_genType_Usual_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqPassByRefSimple_genType_Usual_recorder) DoReturnResults(fn MoqPassByRefSimple_genType_Usual_doReturnFn) *MoqPassByRefSimple_genType_Usual_recorder
func (*MoqPassByRefSimple_genType_Usual_recorder) Repeat ¶ added in v0.28.0
func (r *MoqPassByRefSimple_genType_Usual_recorder) Repeat(repeaters ...moq.Repeater) *MoqPassByRefSimple_genType_Usual_recorder
func (*MoqPassByRefSimple_genType_Usual_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqPassByRefSimple_genType_Usual_recorder) ReturnResults(result1 string, result2 error) *MoqPassByRefSimple_genType_Usual_recorder
type MoqPassByRefSimple_genType_Usual_results ¶
MoqPassByRefSimple_genType_Usual_results holds the results of the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_mock ¶
type MoqPassByRefSimple_genType_mock struct {
Moq *MoqPassByRefSimple_genType
}
MoqPassByRefSimple_genType_mock isolates the mock interface of the PassByRefSimple_genType type
type MoqPassByRefSimple_genType_recorder ¶
type MoqPassByRefSimple_genType_recorder struct {
Moq *MoqPassByRefSimple_genType
}
MoqPassByRefSimple_genType_recorder isolates the recorder interface of the PassByRefSimple_genType type
func (*MoqPassByRefSimple_genType_recorder) Usual ¶
func (m *MoqPassByRefSimple_genType_recorder) Usual(param1 string, param2 bool) *MoqPassByRefSimple_genType_Usual_recorder
type MoqPassByRefSimple_genType_runtime ¶ added in v0.28.0
type MoqPassByRefSimple_genType_runtime struct { ParameterIndexing struct { Usual MoqPassByRefSimple_genType_Usual_paramIndexing } }
MoqPassByRefSimple_genType_runtime holds runtime configuration for the PassByRefSimple_genType type
type MoqPassByValueSimple_genType ¶
type MoqPassByValueSimple_genType struct { Moq *MoqPassByValueSimple_genType_mock Moq_Usual *impl.Moq[ *MoqPassByValueSimple_genType_Usual_adaptor, MoqPassByValueSimple_genType_Usual_params, MoqPassByValueSimple_genType_Usual_paramsKey, MoqPassByValueSimple_genType_Usual_results, ] Runtime MoqPassByValueSimple_genType_runtime }
MoqPassByValueSimple_genType holds the state of a moq of the PassByValueSimple_genType type
func NewMoqPassByValueSimple_genType ¶
func NewMoqPassByValueSimple_genType(scene *moq.Scene, config *moq.Config) *MoqPassByValueSimple_genType
NewMoqPassByValueSimple_genType creates a new moq of the PassByValueSimple_genType type
func (*MoqPassByValueSimple_genType) AssertExpectationsMet ¶
func (m *MoqPassByValueSimple_genType) AssertExpectationsMet()
AssertExpectationsMet asserts that all expectations have been met
func (*MoqPassByValueSimple_genType) Mock ¶
func (m *MoqPassByValueSimple_genType) Mock() *MoqPassByValueSimple_genType_mock
Mock returns the mock implementation of the PassByValueSimple_genType type
func (*MoqPassByValueSimple_genType) OnCall ¶
func (m *MoqPassByValueSimple_genType) OnCall() *MoqPassByValueSimple_genType_recorder
OnCall returns the recorder implementation of the PassByValueSimple_genType type
func (*MoqPassByValueSimple_genType) Reset ¶
func (m *MoqPassByValueSimple_genType) Reset()
Reset resets the state of the moq
type MoqPassByValueSimple_genType_Usual_adaptor ¶ added in v0.28.0
type MoqPassByValueSimple_genType_Usual_adaptor struct {
Moq *MoqPassByValueSimple_genType
}
MoqPassByValueSimple_genType_Usual_adaptor adapts MoqPassByValueSimple_genType as needed by the runtime
func (*MoqPassByValueSimple_genType_Usual_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqPassByValueSimple_genType_Usual_adaptor) ParamsKey(params MoqPassByValueSimple_genType_Usual_params, anyParams uint64) MoqPassByValueSimple_genType_Usual_paramsKey
func (*MoqPassByValueSimple_genType_Usual_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqPassByValueSimple_genType_Usual_adaptor) PrettyParams(params MoqPassByValueSimple_genType_Usual_params) string
type MoqPassByValueSimple_genType_Usual_anyParams ¶
type MoqPassByValueSimple_genType_Usual_anyParams struct {
Recorder *MoqPassByValueSimple_genType_Usual_recorder
}
MoqPassByValueSimple_genType_Usual_anyParams isolates the any params functions of the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_Usual_doFn ¶
MoqPassByValueSimple_genType_Usual_doFn defines the type of function needed when calling AndDo for the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_Usual_doReturnFn ¶
MoqPassByValueSimple_genType_Usual_doReturnFn defines the type of function needed when calling DoReturnResults for the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_Usual_paramIndexing ¶ added in v0.28.0
type MoqPassByValueSimple_genType_Usual_paramIndexing struct { Param1 moq.ParamIndexing Param2 moq.ParamIndexing }
MoqPassByValueSimple_genType_Usual_paramIndexing holds the parameter indexing runtime configuration for the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_Usual_params ¶
MoqPassByValueSimple_genType_Usual_params holds the params of the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_Usual_paramsKey ¶
type MoqPassByValueSimple_genType_Usual_paramsKey struct { Params struct { Param1 string Param2 bool } Hashes struct { Param1 hash.Hash Param2 hash.Hash } }
MoqPassByValueSimple_genType_Usual_paramsKey holds the map key params of the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_Usual_recorder ¶ added in v0.28.0
type MoqPassByValueSimple_genType_Usual_recorder struct { Recorder *impl.Recorder[ *MoqPassByValueSimple_genType_Usual_adaptor, MoqPassByValueSimple_genType_Usual_params, MoqPassByValueSimple_genType_Usual_paramsKey, MoqPassByValueSimple_genType_Usual_results, ] }
MoqPassByValueSimple_genType_Usual_recorder routes recorded function calls to the MoqPassByValueSimple_genType moq
func (*MoqPassByValueSimple_genType_Usual_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqPassByValueSimple_genType_Usual_recorder) DoReturnResults(fn MoqPassByValueSimple_genType_Usual_doReturnFn) *MoqPassByValueSimple_genType_Usual_recorder
func (*MoqPassByValueSimple_genType_Usual_recorder) Repeat ¶ added in v0.28.0
func (r *MoqPassByValueSimple_genType_Usual_recorder) Repeat(repeaters ...moq.Repeater) *MoqPassByValueSimple_genType_Usual_recorder
func (*MoqPassByValueSimple_genType_Usual_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqPassByValueSimple_genType_Usual_recorder) ReturnResults(result1 string, result2 error) *MoqPassByValueSimple_genType_Usual_recorder
type MoqPassByValueSimple_genType_Usual_results ¶
MoqPassByValueSimple_genType_Usual_results holds the results of the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_mock ¶
type MoqPassByValueSimple_genType_mock struct {
Moq *MoqPassByValueSimple_genType
}
MoqPassByValueSimple_genType_mock isolates the mock interface of the PassByValueSimple_genType type
type MoqPassByValueSimple_genType_recorder ¶
type MoqPassByValueSimple_genType_recorder struct {
Moq *MoqPassByValueSimple_genType
}
MoqPassByValueSimple_genType_recorder isolates the recorder interface of the PassByValueSimple_genType type
func (*MoqPassByValueSimple_genType_recorder) Usual ¶
func (m *MoqPassByValueSimple_genType_recorder) Usual(param1 string, param2 bool) *MoqPassByValueSimple_genType_Usual_recorder
type MoqPassByValueSimple_genType_runtime ¶ added in v0.28.0
type MoqPassByValueSimple_genType_runtime struct { ParameterIndexing struct { Usual MoqPassByValueSimple_genType_Usual_paramIndexing } }
MoqPassByValueSimple_genType_runtime holds runtime configuration for the PassByValueSimple_genType type
type MoqReduced ¶
type MoqReduced struct { Moq *MoqReduced_mock Moq_Usual *impl.Moq[ *MoqReduced_Usual_adaptor, MoqReduced_Usual_params, MoqReduced_Usual_paramsKey, MoqReduced_Usual_results, ] Moq_ReallyUnusualParams *impl.Moq[ *MoqReduced_ReallyUnusualParams_adaptor, MoqReduced_ReallyUnusualParams_params, MoqReduced_ReallyUnusualParams_paramsKey, MoqReduced_ReallyUnusualParams_results, ] Moq_ReallyUnusualResults *impl.Moq[ *MoqReduced_ReallyUnusualResults_adaptor, MoqReduced_ReallyUnusualResults_params, MoqReduced_ReallyUnusualResults_paramsKey, MoqReduced_ReallyUnusualResults_results, ] Runtime MoqReduced_runtime }
MoqReduced holds the state of a moq of the Reduced_reduced type
func NewMoqReduced ¶
func NewMoqReduced(scene *moq.Scene, config *moq.Config) *MoqReduced
NewMoqReduced creates a new moq of the Reduced type
func (*MoqReduced) AssertExpectationsMet ¶
func (m *MoqReduced) AssertExpectationsMet()
AssertExpectationsMet asserts that all expectations have been met
func (*MoqReduced) Mock ¶
func (m *MoqReduced) Mock() *MoqReduced_mock
Mock returns the mock implementation of the Reduced type
func (*MoqReduced) OnCall ¶
func (m *MoqReduced) OnCall() *MoqReduced_recorder
OnCall returns the recorder implementation of the Reduced type
type MoqReduced_ReallyUnusualParams_adaptor ¶ added in v0.28.0
type MoqReduced_ReallyUnusualParams_adaptor struct {
Moq *MoqReduced
}
MoqReduced_ReallyUnusualParams_adaptor adapts MoqReduced as needed by the runtime
func (*MoqReduced_ReallyUnusualParams_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqReduced_ReallyUnusualParams_adaptor) ParamsKey(params MoqReduced_ReallyUnusualParams_params, anyParams uint64) MoqReduced_ReallyUnusualParams_paramsKey
func (*MoqReduced_ReallyUnusualParams_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqReduced_ReallyUnusualParams_adaptor) PrettyParams(params MoqReduced_ReallyUnusualParams_params) string
type MoqReduced_ReallyUnusualParams_anyParams ¶
type MoqReduced_ReallyUnusualParams_anyParams struct {
Recorder *MoqReduced_ReallyUnusualParams_recorder
}
MoqReduced_ReallyUnusualParams_anyParams isolates the any params functions of the Reduced type
func (*MoqReduced_ReallyUnusualParams_anyParams) Param1 ¶
func (a *MoqReduced_ReallyUnusualParams_anyParams) Param1() *MoqReduced_ReallyUnusualParams_recorder
type MoqReduced_ReallyUnusualParams_doFn ¶
type MoqReduced_ReallyUnusualParams_doFn func(struct {
// contains filtered or unexported fields
})
MoqReduced_ReallyUnusualParams_doFn defines the type of function needed when calling AndDo for the Reduced type
type MoqReduced_ReallyUnusualParams_doReturnFn ¶
type MoqReduced_ReallyUnusualParams_doReturnFn func(struct {
// contains filtered or unexported fields
})
MoqReduced_ReallyUnusualParams_doReturnFn defines the type of function needed when calling DoReturnResults for the Reduced type
type MoqReduced_ReallyUnusualParams_paramIndexing ¶ added in v0.28.0
type MoqReduced_ReallyUnusualParams_paramIndexing struct {
Param1 moq.ParamIndexing
}
MoqReduced_ReallyUnusualParams_paramIndexing holds the parameter indexing runtime configuration for the Reduced type
type MoqReduced_ReallyUnusualParams_params ¶
type MoqReduced_ReallyUnusualParams_params struct { Param1 struct { // contains filtered or unexported fields } }
MoqReduced_ReallyUnusualParams_params holds the params of the Reduced type
type MoqReduced_ReallyUnusualParams_paramsKey ¶
type MoqReduced_ReallyUnusualParams_paramsKey struct { Params struct { Param1 struct { // contains filtered or unexported fields } } Hashes struct{ Param1 hash.Hash } }
MoqReduced_ReallyUnusualParams_paramsKey holds the map key params of the Reduced type
type MoqReduced_ReallyUnusualParams_recorder ¶ added in v0.28.0
type MoqReduced_ReallyUnusualParams_recorder struct { Recorder *impl.Recorder[ *MoqReduced_ReallyUnusualParams_adaptor, MoqReduced_ReallyUnusualParams_params, MoqReduced_ReallyUnusualParams_paramsKey, MoqReduced_ReallyUnusualParams_results, ] }
MoqReduced_ReallyUnusualParams_recorder routes recorded function calls to the MoqReduced moq
func (*MoqReduced_ReallyUnusualParams_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualParams_recorder) DoReturnResults(fn MoqReduced_ReallyUnusualParams_doReturnFn) *MoqReduced_ReallyUnusualParams_recorder
func (*MoqReduced_ReallyUnusualParams_recorder) NoSeq ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualParams_recorder) NoSeq() *MoqReduced_ReallyUnusualParams_recorder
func (*MoqReduced_ReallyUnusualParams_recorder) Repeat ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualParams_recorder) Repeat(repeaters ...moq.Repeater) *MoqReduced_ReallyUnusualParams_recorder
func (*MoqReduced_ReallyUnusualParams_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualParams_recorder) ReturnResults() *MoqReduced_ReallyUnusualParams_recorder
type MoqReduced_ReallyUnusualParams_results ¶
type MoqReduced_ReallyUnusualParams_results struct{}
MoqReduced_ReallyUnusualParams_results holds the results of the Reduced type
type MoqReduced_ReallyUnusualResults_adaptor ¶ added in v0.28.0
type MoqReduced_ReallyUnusualResults_adaptor struct {
Moq *MoqReduced
}
MoqReduced_ReallyUnusualResults_adaptor adapts MoqReduced as needed by the runtime
func (*MoqReduced_ReallyUnusualResults_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqReduced_ReallyUnusualResults_adaptor) ParamsKey(params MoqReduced_ReallyUnusualResults_params, anyParams uint64) MoqReduced_ReallyUnusualResults_paramsKey
func (*MoqReduced_ReallyUnusualResults_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqReduced_ReallyUnusualResults_adaptor) PrettyParams(params MoqReduced_ReallyUnusualResults_params) string
type MoqReduced_ReallyUnusualResults_anyParams ¶
type MoqReduced_ReallyUnusualResults_anyParams struct {
Recorder *MoqReduced_ReallyUnusualResults_recorder
}
MoqReduced_ReallyUnusualResults_anyParams isolates the any params functions of the Reduced type
type MoqReduced_ReallyUnusualResults_doFn ¶
type MoqReduced_ReallyUnusualResults_doFn func()
MoqReduced_ReallyUnusualResults_doFn defines the type of function needed when calling AndDo for the Reduced type
type MoqReduced_ReallyUnusualResults_doReturnFn ¶
type MoqReduced_ReallyUnusualResults_doReturnFn func() struct {
// contains filtered or unexported fields
}
MoqReduced_ReallyUnusualResults_doReturnFn defines the type of function needed when calling DoReturnResults for the Reduced type
type MoqReduced_ReallyUnusualResults_paramIndexing ¶ added in v0.28.0
type MoqReduced_ReallyUnusualResults_paramIndexing struct{}
MoqReduced_ReallyUnusualResults_paramIndexing holds the parameter indexing runtime configuration for the Reduced type
type MoqReduced_ReallyUnusualResults_params ¶
type MoqReduced_ReallyUnusualResults_params struct{}
MoqReduced_ReallyUnusualResults_params holds the params of the Reduced type
type MoqReduced_ReallyUnusualResults_paramsKey ¶
type MoqReduced_ReallyUnusualResults_paramsKey struct { Params struct{} Hashes struct{} }
MoqReduced_ReallyUnusualResults_paramsKey holds the map key params of the Reduced type
type MoqReduced_ReallyUnusualResults_recorder ¶ added in v0.28.0
type MoqReduced_ReallyUnusualResults_recorder struct { Recorder *impl.Recorder[ *MoqReduced_ReallyUnusualResults_adaptor, MoqReduced_ReallyUnusualResults_params, MoqReduced_ReallyUnusualResults_paramsKey, MoqReduced_ReallyUnusualResults_results, ] }
MoqReduced_ReallyUnusualResults_recorder routes recorded function calls to the MoqReduced moq
func (*MoqReduced_ReallyUnusualResults_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualResults_recorder) DoReturnResults(fn MoqReduced_ReallyUnusualResults_doReturnFn) *MoqReduced_ReallyUnusualResults_recorder
func (*MoqReduced_ReallyUnusualResults_recorder) NoSeq ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualResults_recorder) NoSeq() *MoqReduced_ReallyUnusualResults_recorder
func (*MoqReduced_ReallyUnusualResults_recorder) Repeat ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualResults_recorder) Repeat(repeaters ...moq.Repeater) *MoqReduced_ReallyUnusualResults_recorder
func (*MoqReduced_ReallyUnusualResults_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqReduced_ReallyUnusualResults_recorder) ReturnResults(result1 struct{ a string }) *MoqReduced_ReallyUnusualResults_recorder
type MoqReduced_ReallyUnusualResults_results ¶
type MoqReduced_ReallyUnusualResults_results struct { Result1 struct { // contains filtered or unexported fields } }
MoqReduced_ReallyUnusualResults_results holds the results of the Reduced type
type MoqReduced_Usual_adaptor ¶ added in v0.28.0
type MoqReduced_Usual_adaptor struct {
Moq *MoqReduced
}
MoqReduced_Usual_adaptor adapts MoqReduced as needed by the runtime
func (*MoqReduced_Usual_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqReduced_Usual_adaptor) ParamsKey(params MoqReduced_Usual_params, anyParams uint64) MoqReduced_Usual_paramsKey
func (*MoqReduced_Usual_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqReduced_Usual_adaptor) PrettyParams(params MoqReduced_Usual_params) string
type MoqReduced_Usual_anyParams ¶
type MoqReduced_Usual_anyParams struct {
Recorder *MoqReduced_Usual_recorder
}
MoqReduced_Usual_anyParams isolates the any params functions of the Reduced type
func (*MoqReduced_Usual_anyParams) BParam ¶
func (a *MoqReduced_Usual_anyParams) BParam() *MoqReduced_Usual_recorder
func (*MoqReduced_Usual_anyParams) SParam ¶
func (a *MoqReduced_Usual_anyParams) SParam() *MoqReduced_Usual_recorder
type MoqReduced_Usual_doFn ¶
MoqReduced_Usual_doFn defines the type of function needed when calling AndDo for the Reduced type
type MoqReduced_Usual_doReturnFn ¶
MoqReduced_Usual_doReturnFn defines the type of function needed when calling DoReturnResults for the Reduced type
type MoqReduced_Usual_paramIndexing ¶ added in v0.28.0
type MoqReduced_Usual_paramIndexing struct { SParam moq.ParamIndexing BParam moq.ParamIndexing }
MoqReduced_Usual_paramIndexing holds the parameter indexing runtime configuration for the Reduced type
type MoqReduced_Usual_params ¶
MoqReduced_Usual_params holds the params of the Reduced type
type MoqReduced_Usual_paramsKey ¶
type MoqReduced_Usual_paramsKey struct { Params struct { SParam string BParam bool } Hashes struct { SParam hash.Hash BParam hash.Hash } }
MoqReduced_Usual_paramsKey holds the map key params of the Reduced type
type MoqReduced_Usual_recorder ¶ added in v0.28.0
type MoqReduced_Usual_recorder struct { Recorder *impl.Recorder[ *MoqReduced_Usual_adaptor, MoqReduced_Usual_params, MoqReduced_Usual_paramsKey, MoqReduced_Usual_results, ] }
MoqReduced_Usual_recorder routes recorded function calls to the MoqReduced moq
func (*MoqReduced_Usual_recorder) AndDo ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) AndDo(fn MoqReduced_Usual_doFn) *MoqReduced_Usual_recorder
func (*MoqReduced_Usual_recorder) Any ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) Any() *MoqReduced_Usual_anyParams
func (*MoqReduced_Usual_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) DoReturnResults(fn MoqReduced_Usual_doReturnFn) *MoqReduced_Usual_recorder
func (*MoqReduced_Usual_recorder) NoSeq ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) NoSeq() *MoqReduced_Usual_recorder
func (*MoqReduced_Usual_recorder) Repeat ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) Repeat(repeaters ...moq.Repeater) *MoqReduced_Usual_recorder
func (*MoqReduced_Usual_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) ReturnResults(sResult string, err error) *MoqReduced_Usual_recorder
func (*MoqReduced_Usual_recorder) Seq ¶ added in v0.28.0
func (r *MoqReduced_Usual_recorder) Seq() *MoqReduced_Usual_recorder
type MoqReduced_Usual_results ¶
MoqReduced_Usual_results holds the results of the Reduced type
type MoqReduced_mock ¶
type MoqReduced_mock struct {
Moq *MoqReduced
}
MoqReduced_mock isolates the mock interface of the Reduced type
func (*MoqReduced_mock) ReallyUnusualParams ¶
func (m *MoqReduced_mock) ReallyUnusualParams(param1 struct{ a string })
func (*MoqReduced_mock) ReallyUnusualResults ¶
func (m *MoqReduced_mock) ReallyUnusualResults() struct{ a string }
type MoqReduced_recorder ¶
type MoqReduced_recorder struct {
Moq *MoqReduced
}
MoqReduced_recorder isolates the recorder interface of the Reduced type
func (*MoqReduced_recorder) ReallyUnusualParams ¶
func (m *MoqReduced_recorder) ReallyUnusualParams(param1 struct{ a string }) *MoqReduced_ReallyUnusualParams_recorder
func (*MoqReduced_recorder) ReallyUnusualResults ¶
func (m *MoqReduced_recorder) ReallyUnusualResults() *MoqReduced_ReallyUnusualResults_recorder
func (*MoqReduced_recorder) Usual ¶
func (m *MoqReduced_recorder) Usual(sParam string, bParam bool) *MoqReduced_Usual_recorder
type MoqReduced_runtime ¶ added in v0.28.0
type MoqReduced_runtime struct { ParameterIndexing struct { Usual MoqReduced_Usual_paramIndexing ReallyUnusualParams MoqReduced_ReallyUnusualParams_paramIndexing ReallyUnusualResults MoqReduced_ReallyUnusualResults_paramIndexing } }
MoqReduced_runtime holds runtime configuration for the Reduced type
type MoqStandaloneFunc_genType ¶
type MoqStandaloneFunc_genType struct { Moq *impl.Moq[ *MoqStandaloneFunc_genType_adaptor, MoqStandaloneFunc_genType_params, MoqStandaloneFunc_genType_paramsKey, MoqStandaloneFunc_genType_results, ] Runtime MoqStandaloneFunc_genType_runtime }
MoqStandaloneFunc_genType holds the state of a moq of the StandaloneFunc_genType type
func NewMoqStandaloneFunc_genType ¶
func NewMoqStandaloneFunc_genType(scene *moq.Scene, config *moq.Config) *MoqStandaloneFunc_genType
NewMoqStandaloneFunc_genType creates a new moq of the StandaloneFunc_genType type
func (*MoqStandaloneFunc_genType) AssertExpectationsMet ¶
func (m *MoqStandaloneFunc_genType) AssertExpectationsMet()
AssertExpectationsMet asserts that all expectations have been met
func (*MoqStandaloneFunc_genType) Mock ¶
func (m *MoqStandaloneFunc_genType) Mock() StandaloneFunc_genType
Mock returns the moq implementation of the StandaloneFunc_genType type
func (*MoqStandaloneFunc_genType) OnCall ¶
func (m *MoqStandaloneFunc_genType) OnCall(param1 string, bParam bool) *MoqStandaloneFunc_genType_recorder
func (*MoqStandaloneFunc_genType) Reset ¶
func (m *MoqStandaloneFunc_genType) Reset()
Reset resets the state of the moq
type MoqStandaloneFunc_genType_adaptor ¶ added in v0.28.0
type MoqStandaloneFunc_genType_adaptor struct {
Moq *MoqStandaloneFunc_genType
}
MoqStandaloneFunc_genType_adaptor adapts MoqStandaloneFunc_genType as needed by the runtime
func (*MoqStandaloneFunc_genType_adaptor) ParamsKey ¶ added in v0.28.0
func (a *MoqStandaloneFunc_genType_adaptor) ParamsKey(params MoqStandaloneFunc_genType_params, anyParams uint64) MoqStandaloneFunc_genType_paramsKey
func (*MoqStandaloneFunc_genType_adaptor) PrettyParams ¶ added in v0.28.0
func (*MoqStandaloneFunc_genType_adaptor) PrettyParams(params MoqStandaloneFunc_genType_params) string
type MoqStandaloneFunc_genType_anyParams ¶
type MoqStandaloneFunc_genType_anyParams struct {
Recorder *MoqStandaloneFunc_genType_recorder
}
MoqStandaloneFunc_genType_anyParams isolates the any params functions of the StandaloneFunc_genType type
func (*MoqStandaloneFunc_genType_anyParams) BParam ¶
func (a *MoqStandaloneFunc_genType_anyParams) BParam() *MoqStandaloneFunc_genType_recorder
func (*MoqStandaloneFunc_genType_anyParams) Param1 ¶
func (a *MoqStandaloneFunc_genType_anyParams) Param1() *MoqStandaloneFunc_genType_recorder
type MoqStandaloneFunc_genType_doFn ¶
MoqStandaloneFunc_genType_doFn defines the type of function needed when calling AndDo for the StandaloneFunc_genType type
type MoqStandaloneFunc_genType_doReturnFn ¶
MoqStandaloneFunc_genType_doReturnFn defines the type of function needed when calling DoReturnResults for the StandaloneFunc_genType type
type MoqStandaloneFunc_genType_paramIndexing ¶ added in v0.28.0
type MoqStandaloneFunc_genType_paramIndexing struct { Param1 moq.ParamIndexing BParam moq.ParamIndexing }
MoqStandaloneFunc_genType_paramIndexing holds the parameter indexing runtime configuration for the StandaloneFunc_genType type
type MoqStandaloneFunc_genType_params ¶
MoqStandaloneFunc_genType_params holds the params of the StandaloneFunc_genType type
type MoqStandaloneFunc_genType_paramsKey ¶
type MoqStandaloneFunc_genType_paramsKey struct { Params struct { Param1 string BParam bool } Hashes struct { Param1 hash.Hash BParam hash.Hash } }
MoqStandaloneFunc_genType_paramsKey holds the map key params of the StandaloneFunc_genType type
type MoqStandaloneFunc_genType_recorder ¶ added in v0.28.0
type MoqStandaloneFunc_genType_recorder struct { Recorder *impl.Recorder[ *MoqStandaloneFunc_genType_adaptor, MoqStandaloneFunc_genType_params, MoqStandaloneFunc_genType_paramsKey, MoqStandaloneFunc_genType_results, ] }
MoqStandaloneFunc_genType_recorder routes recorded function calls to the MoqStandaloneFunc_genType moq
func (*MoqStandaloneFunc_genType_recorder) Any ¶ added in v0.28.0
func (r *MoqStandaloneFunc_genType_recorder) Any() *MoqStandaloneFunc_genType_anyParams
func (*MoqStandaloneFunc_genType_recorder) DoReturnResults ¶ added in v0.28.0
func (r *MoqStandaloneFunc_genType_recorder) DoReturnResults(fn MoqStandaloneFunc_genType_doReturnFn) *MoqStandaloneFunc_genType_recorder
func (*MoqStandaloneFunc_genType_recorder) NoSeq ¶ added in v0.28.0
func (r *MoqStandaloneFunc_genType_recorder) NoSeq() *MoqStandaloneFunc_genType_recorder
func (*MoqStandaloneFunc_genType_recorder) Repeat ¶ added in v0.28.0
func (r *MoqStandaloneFunc_genType_recorder) Repeat(repeaters ...moq.Repeater) *MoqStandaloneFunc_genType_recorder
func (*MoqStandaloneFunc_genType_recorder) ReturnResults ¶ added in v0.28.0
func (r *MoqStandaloneFunc_genType_recorder) ReturnResults(result1 string, result2 error) *MoqStandaloneFunc_genType_recorder
func (*MoqStandaloneFunc_genType_recorder) Seq ¶ added in v0.28.0
func (r *MoqStandaloneFunc_genType_recorder) Seq() *MoqStandaloneFunc_genType_recorder
type MoqStandaloneFunc_genType_results ¶
MoqStandaloneFunc_genType_results holds the results of the StandaloneFunc_genType type
type MoqStandaloneFunc_genType_runtime ¶ added in v0.28.0
type MoqStandaloneFunc_genType_runtime struct {
ParameterIndexing MoqStandaloneFunc_genType_paramIndexing
}
MoqStandaloneFunc_genType_runtime holds runtime configuration for the StandaloneFunc_genType type
type PassByRefSimple_genType ¶
PassByRefSimple_genType is the fabricated implementation type of this mock (emitted when mocking a collections of methods directly and not from an interface type)
type PassByValueSimple_genType ¶
PassByValueSimple_genType is the fabricated implementation type of this mock (emitted when mocking a collections of methods directly and not from an interface type)
type Reduced_reduced ¶
type Reduced_reduced interface { Usual(sParam string, bParam bool) (sResult string, err error) ReallyUnusualParams(struct { // contains filtered or unexported fields }) ReallyUnusualResults() struct { // contains filtered or unexported fields } }
Reduced_reduced is the fabricated implementation type of this mock (emitted when the original interface contains non-exported methods)