Documentation ¶
Index ¶
- type SynthesizerUsecase
- type SynthesizerUsecase_Expecter
- type SynthesizerUsecase_Synthesize_Call
- func (_c *SynthesizerUsecase_Synthesize_Call) Return(_a0 *srcdomain.AudioModel, _a1 error) *SynthesizerUsecase_Synthesize_Call
- func (_c *SynthesizerUsecase_Synthesize_Call) Run(run func(ctx context.Context, lang5 *domain.Lang5, void string, text string)) *SynthesizerUsecase_Synthesize_Call
- func (_c *SynthesizerUsecase_Synthesize_Call) RunAndReturn(...) *SynthesizerUsecase_Synthesize_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SynthesizerUsecase ¶
SynthesizerUsecase is an autogenerated mock type for the SynthesizerUsecase type
func NewSynthesizerUsecase ¶
func NewSynthesizerUsecase(t interface { mock.TestingT Cleanup(func()) }) *SynthesizerUsecase
NewSynthesizerUsecase creates a new instance of SynthesizerUsecase. 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 (*SynthesizerUsecase) EXPECT ¶
func (_m *SynthesizerUsecase) EXPECT() *SynthesizerUsecase_Expecter
func (*SynthesizerUsecase) Synthesize ¶
func (_m *SynthesizerUsecase) Synthesize(ctx context.Context, lang5 *domain.Lang5, void string, text string) (*srcdomain.AudioModel, error)
Synthesize provides a mock function with given fields: ctx, lang5, void, text
type SynthesizerUsecase_Expecter ¶
type SynthesizerUsecase_Expecter struct {
// contains filtered or unexported fields
}
func (*SynthesizerUsecase_Expecter) Synthesize ¶
func (_e *SynthesizerUsecase_Expecter) Synthesize(ctx interface{}, lang5 interface{}, void interface{}, text interface{}) *SynthesizerUsecase_Synthesize_Call
Synthesize is a helper method to define mock.On call
- ctx context.Context
- lang5 *domain.Lang5
- void string
- text string
type SynthesizerUsecase_Synthesize_Call ¶
SynthesizerUsecase_Synthesize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Synthesize'
func (*SynthesizerUsecase_Synthesize_Call) Return ¶
func (_c *SynthesizerUsecase_Synthesize_Call) Return(_a0 *srcdomain.AudioModel, _a1 error) *SynthesizerUsecase_Synthesize_Call
func (*SynthesizerUsecase_Synthesize_Call) Run ¶
func (_c *SynthesizerUsecase_Synthesize_Call) Run(run func(ctx context.Context, lang5 *domain.Lang5, void string, text string)) *SynthesizerUsecase_Synthesize_Call
func (*SynthesizerUsecase_Synthesize_Call) RunAndReturn ¶
func (_c *SynthesizerUsecase_Synthesize_Call) RunAndReturn(run func(context.Context, *domain.Lang5, string, string) (*srcdomain.AudioModel, error)) *SynthesizerUsecase_Synthesize_Call
Click to show internal directories.
Click to hide internal directories.