mocks

package
v0.0.0-...-04b3042 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TatoebaLinkAddParameter

type TatoebaLinkAddParameter struct {
	mock.Mock
}

TatoebaLinkAddParameter is an autogenerated mock type for the TatoebaLinkAddParameter type

func NewTatoebaLinkAddParameter

func NewTatoebaLinkAddParameter(t testing.TB) *TatoebaLinkAddParameter

NewTatoebaLinkAddParameter creates a new instance of TatoebaLinkAddParameter. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaLinkAddParameter) GetFrom

func (_m *TatoebaLinkAddParameter) GetFrom() int

GetFrom provides a mock function with given fields:

func (*TatoebaLinkAddParameter) GetTo

func (_m *TatoebaLinkAddParameter) GetTo() int

GetTo provides a mock function with given fields:

type TatoebaLinkAddParameterIterator

type TatoebaLinkAddParameterIterator struct {
	mock.Mock
}

TatoebaLinkAddParameterIterator is an autogenerated mock type for the TatoebaLinkAddParameterIterator type

func NewTatoebaLinkAddParameterIterator

func NewTatoebaLinkAddParameterIterator(t testing.TB) *TatoebaLinkAddParameterIterator

NewTatoebaLinkAddParameterIterator creates a new instance of TatoebaLinkAddParameterIterator. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaLinkAddParameterIterator) Next

Next provides a mock function with given fields: ctx

type TatoebaLinkRepository

type TatoebaLinkRepository struct {
	mock.Mock
}

TatoebaLinkRepository is an autogenerated mock type for the TatoebaLinkRepository type

func NewTatoebaLinkRepository

func NewTatoebaLinkRepository(t testing.TB) *TatoebaLinkRepository

NewTatoebaLinkRepository creates a new instance of TatoebaLinkRepository. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaLinkRepository) Add

Add provides a mock function with given fields: ctx, param

type TatoebaSentence

type TatoebaSentence struct {
	mock.Mock
}

TatoebaSentence is an autogenerated mock type for the TatoebaSentence type

func NewTatoebaSentence

func NewTatoebaSentence(t testing.TB) *TatoebaSentence

NewTatoebaSentence creates a new instance of TatoebaSentence. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentence) GetAuthor

func (_m *TatoebaSentence) GetAuthor() string

GetAuthor provides a mock function with given fields:

func (*TatoebaSentence) GetLang3

func (_m *TatoebaSentence) GetLang3() domain.Lang3

GetLang3 provides a mock function with given fields:

func (*TatoebaSentence) GetSentenceNumber

func (_m *TatoebaSentence) GetSentenceNumber() int

GetSentenceNumber provides a mock function with given fields:

func (*TatoebaSentence) GetText

func (_m *TatoebaSentence) GetText() string

GetText provides a mock function with given fields:

func (*TatoebaSentence) GetUpdatedAt

func (_m *TatoebaSentence) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

type TatoebaSentenceAddParameter

type TatoebaSentenceAddParameter struct {
	mock.Mock
}

TatoebaSentenceAddParameter is an autogenerated mock type for the TatoebaSentenceAddParameter type

func NewTatoebaSentenceAddParameter

func NewTatoebaSentenceAddParameter(t testing.TB) *TatoebaSentenceAddParameter

NewTatoebaSentenceAddParameter creates a new instance of TatoebaSentenceAddParameter. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentenceAddParameter) GetAuthor

func (_m *TatoebaSentenceAddParameter) GetAuthor() string

GetAuthor provides a mock function with given fields:

func (*TatoebaSentenceAddParameter) GetLang3

func (_m *TatoebaSentenceAddParameter) GetLang3() domain.Lang3

GetLang3 provides a mock function with given fields:

func (*TatoebaSentenceAddParameter) GetSentenceNumber

func (_m *TatoebaSentenceAddParameter) GetSentenceNumber() int

GetSentenceNumber provides a mock function with given fields:

func (*TatoebaSentenceAddParameter) GetText

func (_m *TatoebaSentenceAddParameter) GetText() string

GetText provides a mock function with given fields:

func (*TatoebaSentenceAddParameter) GetUpdatedAt

func (_m *TatoebaSentenceAddParameter) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

type TatoebaSentenceAddParameterIterator

type TatoebaSentenceAddParameterIterator struct {
	mock.Mock
}

TatoebaSentenceAddParameterIterator is an autogenerated mock type for the TatoebaSentenceAddParameterIterator type

func NewTatoebaSentenceAddParameterIterator

func NewTatoebaSentenceAddParameterIterator(t testing.TB) *TatoebaSentenceAddParameterIterator

NewTatoebaSentenceAddParameterIterator creates a new instance of TatoebaSentenceAddParameterIterator. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentenceAddParameterIterator) Next

Next provides a mock function with given fields: ctx

type TatoebaSentencePair

type TatoebaSentencePair struct {
	mock.Mock
}

TatoebaSentencePair is an autogenerated mock type for the TatoebaSentencePair type

func NewTatoebaSentencePair

func NewTatoebaSentencePair(t testing.TB) *TatoebaSentencePair

NewTatoebaSentencePair creates a new instance of TatoebaSentencePair. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentencePair) GetDst

GetDst provides a mock function with given fields:

func (*TatoebaSentencePair) GetSrc

GetSrc provides a mock function with given fields:

type TatoebaSentencePairSearchResult

type TatoebaSentencePairSearchResult struct {
	mock.Mock
}

TatoebaSentencePairSearchResult is an autogenerated mock type for the TatoebaSentencePairSearchResult type

func NewTatoebaSentencePairSearchResult

func NewTatoebaSentencePairSearchResult(t testing.TB) *TatoebaSentencePairSearchResult

NewTatoebaSentencePairSearchResult creates a new instance of TatoebaSentencePairSearchResult. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentencePairSearchResult) GetResults

GetResults provides a mock function with given fields:

func (*TatoebaSentencePairSearchResult) GetTotalCount

func (_m *TatoebaSentencePairSearchResult) GetTotalCount() int

GetTotalCount provides a mock function with given fields:

type TatoebaSentenceRepository

type TatoebaSentenceRepository struct {
	mock.Mock
}

TatoebaSentenceRepository is an autogenerated mock type for the TatoebaSentenceRepository type

func NewTatoebaSentenceRepository

func NewTatoebaSentenceRepository(t testing.TB) *TatoebaSentenceRepository

NewTatoebaSentenceRepository creates a new instance of TatoebaSentenceRepository. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentenceRepository) Add

Add provides a mock function with given fields: ctx, param

func (*TatoebaSentenceRepository) ContainsSentenceBySentenceNumber

func (_m *TatoebaSentenceRepository) ContainsSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (bool, error)

ContainsSentenceBySentenceNumber provides a mock function with given fields: ctx, sentenceNumber

func (*TatoebaSentenceRepository) FindTatoebaSentenceBySentenceNumber

func (_m *TatoebaSentenceRepository) FindTatoebaSentenceBySentenceNumber(ctx context.Context, sentenceNumber int) (service.TatoebaSentence, error)

FindTatoebaSentenceBySentenceNumber provides a mock function with given fields: ctx, sentenceNumber

func (*TatoebaSentenceRepository) FindTatoebaSentencePairs

FindTatoebaSentencePairs provides a mock function with given fields: ctx, param

type TatoebaSentenceSearchCondition

type TatoebaSentenceSearchCondition struct {
	mock.Mock
}

TatoebaSentenceSearchCondition is an autogenerated mock type for the TatoebaSentenceSearchCondition type

func NewTatoebaSentenceSearchCondition

func NewTatoebaSentenceSearchCondition(t testing.TB) *TatoebaSentenceSearchCondition

NewTatoebaSentenceSearchCondition creates a new instance of TatoebaSentenceSearchCondition. It also registers a cleanup function to assert the mocks expectations.

func (*TatoebaSentenceSearchCondition) GetKeyword

func (_m *TatoebaSentenceSearchCondition) GetKeyword() string

GetKeyword provides a mock function with given fields:

func (*TatoebaSentenceSearchCondition) GetPageNo

func (_m *TatoebaSentenceSearchCondition) GetPageNo() int

GetPageNo provides a mock function with given fields:

func (*TatoebaSentenceSearchCondition) GetPageSize

func (_m *TatoebaSentenceSearchCondition) GetPageSize() int

GetPageSize provides a mock function with given fields:

func (*TatoebaSentenceSearchCondition) IsRandom

func (_m *TatoebaSentenceSearchCondition) IsRandom() bool

IsRandom 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