mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 10 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 DBVariadic added in v0.6.2

type DBVariadic struct {
	mock.Mock
}

DBVariadic is an autogenerated mock type for the DB type

func NewDBVariadic added in v0.6.2

func NewDBVariadic(t interface {
	mock.TestingT
	Cleanup(func())
}) *DBVariadic

NewDBVariadic creates a new instance of DBVariadic. 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 (*DBVariadic) EXPECT added in v0.6.2

func (_m *DBVariadic) EXPECT() *DBVariadic_Expecter

func (*DBVariadic) Exec added in v0.6.2

func (_mock *DBVariadic) Exec(query string, args ...any) (sql.Result, error)

Exec provides a mock function for the type DBVariadic

func (*DBVariadic) Query added in v0.6.2

func (_mock *DBVariadic) Query(query string, args ...any) (*sql.Rows, error)

Query provides a mock function for the type DBVariadic

type DBVariadic_Exec_Call added in v0.6.2

type DBVariadic_Exec_Call struct {
	*mock.Call
}

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

func (*DBVariadic_Exec_Call) Return added in v0.6.2

func (_c *DBVariadic_Exec_Call) Return(result sql.Result, err error) *DBVariadic_Exec_Call

func (*DBVariadic_Exec_Call) Run added in v0.6.2

func (_c *DBVariadic_Exec_Call) Run(run func(query string, args ...any)) *DBVariadic_Exec_Call

func (*DBVariadic_Exec_Call) RunAndReturn added in v0.6.2

func (_c *DBVariadic_Exec_Call) RunAndReturn(run func(query string, args ...any) (sql.Result, error)) *DBVariadic_Exec_Call

type DBVariadic_Expecter added in v0.6.2

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

func (*DBVariadic_Expecter) Exec added in v0.6.2

func (_e *DBVariadic_Expecter) Exec(query interface{}, args ...interface{}) *DBVariadic_Exec_Call

Exec is a helper method to define mock.On call

  • query string
  • args ...any

func (*DBVariadic_Expecter) Query added in v0.6.2

func (_e *DBVariadic_Expecter) Query(query interface{}, args ...interface{}) *DBVariadic_Query_Call

Query is a helper method to define mock.On call

  • query string
  • args ...any

type DBVariadic_Query_Call added in v0.6.2

type DBVariadic_Query_Call struct {
	*mock.Call
}

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

func (*DBVariadic_Query_Call) Return added in v0.6.2

func (_c *DBVariadic_Query_Call) Return(rows *sql.Rows, err error) *DBVariadic_Query_Call

func (*DBVariadic_Query_Call) Run added in v0.6.2

func (_c *DBVariadic_Query_Call) Run(run func(query string, args ...any)) *DBVariadic_Query_Call

func (*DBVariadic_Query_Call) RunAndReturn added in v0.6.2

func (_c *DBVariadic_Query_Call) RunAndReturn(run func(query string, args ...any) (*sql.Rows, error)) *DBVariadic_Query_Call

type MockBTTVEmoteFetcher added in v0.6.2

type MockBTTVEmoteFetcher struct {
	mock.Mock
}

MockBTTVEmoteFetcher is an autogenerated mock type for the BTTVEmoteFetcher type

func NewMockBTTVEmoteFetcher added in v0.6.2

func NewMockBTTVEmoteFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockBTTVEmoteFetcher

NewMockBTTVEmoteFetcher creates a new instance of MockBTTVEmoteFetcher. 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 (*MockBTTVEmoteFetcher) EXPECT added in v0.6.2

func (*MockBTTVEmoteFetcher) GetChannelEmotes added in v0.6.2

func (_mock *MockBTTVEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (bttv.UserResponse, error)

GetChannelEmotes provides a mock function for the type MockBTTVEmoteFetcher

func (*MockBTTVEmoteFetcher) GetGlobalEmotes added in v0.6.2

func (_mock *MockBTTVEmoteFetcher) GetGlobalEmotes(context1 context.Context) (bttv.GlobalEmoteResponse, error)

GetGlobalEmotes provides a mock function for the type MockBTTVEmoteFetcher

type MockBTTVEmoteFetcher_Expecter added in v0.6.2

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

func (*MockBTTVEmoteFetcher_Expecter) GetChannelEmotes added in v0.6.2

func (_e *MockBTTVEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockBTTVEmoteFetcher_GetChannelEmotes_Call

GetChannelEmotes is a helper method to define mock.On call

  • ctx context.Context
  • broadcaster string

func (*MockBTTVEmoteFetcher_Expecter) GetGlobalEmotes added in v0.6.2

func (_e *MockBTTVEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockBTTVEmoteFetcher_GetGlobalEmotes_Call

GetGlobalEmotes is a helper method to define mock.On call

  • context1 context.Context

type MockBTTVEmoteFetcher_GetChannelEmotes_Call added in v0.6.2

type MockBTTVEmoteFetcher_GetChannelEmotes_Call struct {
	*mock.Call
}

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

func (*MockBTTVEmoteFetcher_GetChannelEmotes_Call) Return added in v0.6.2

func (*MockBTTVEmoteFetcher_GetChannelEmotes_Call) Run added in v0.6.2

func (*MockBTTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn added in v0.6.2

type MockBTTVEmoteFetcher_GetGlobalEmotes_Call added in v0.6.2

type MockBTTVEmoteFetcher_GetGlobalEmotes_Call struct {
	*mock.Call
}

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

func (*MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Return added in v0.6.2

func (*MockBTTVEmoteFetcher_GetGlobalEmotes_Call) Run added in v0.6.2

func (*MockBTTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn added in v0.6.2

type MockBadgeCache added in v0.6.2

type MockBadgeCache struct {
	mock.Mock
}

MockBadgeCache is an autogenerated mock type for the BadgeCache type

func NewMockBadgeCache added in v0.6.2

func NewMockBadgeCache(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockBadgeCache

NewMockBadgeCache creates a new instance of MockBadgeCache. 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 (*MockBadgeCache) EXPECT added in v0.6.2

func (*MockBadgeCache) MatchBadgeSet added in v0.6.2

func (_mock *MockBadgeCache) MatchBadgeSet(broadcasterID string, ircBadge []twitchirc.Badge) map[string]twitchapi.BadgeVersion

MatchBadgeSet provides a mock function for the type MockBadgeCache

type MockBadgeCache_Expecter added in v0.6.2

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

func (*MockBadgeCache_Expecter) MatchBadgeSet added in v0.6.2

func (_e *MockBadgeCache_Expecter) MatchBadgeSet(broadcasterID interface{}, ircBadge interface{}) *MockBadgeCache_MatchBadgeSet_Call

MatchBadgeSet is a helper method to define mock.On call

  • broadcasterID string
  • ircBadge []twitchirc.Badge

type MockBadgeCache_MatchBadgeSet_Call added in v0.6.2

type MockBadgeCache_MatchBadgeSet_Call struct {
	*mock.Call
}

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

func (*MockBadgeCache_MatchBadgeSet_Call) Return added in v0.6.2

func (*MockBadgeCache_MatchBadgeSet_Call) Run added in v0.6.2

func (_c *MockBadgeCache_MatchBadgeSet_Call) Run(run func(broadcasterID string, ircBadge []twitchirc.Badge)) *MockBadgeCache_MatchBadgeSet_Call

func (*MockBadgeCache_MatchBadgeSet_Call) RunAndReturn added in v0.6.2

type MockBadgeFetcher added in v0.6.2

type MockBadgeFetcher struct {
	mock.Mock
}

MockBadgeFetcher is an autogenerated mock type for the BadgeFetcher type

func NewMockBadgeFetcher added in v0.6.2

func NewMockBadgeFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockBadgeFetcher

NewMockBadgeFetcher creates a new instance of MockBadgeFetcher. 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 (*MockBadgeFetcher) EXPECT added in v0.6.2

func (*MockBadgeFetcher) GetChannelChatBadges added in v0.6.2

func (_mock *MockBadgeFetcher) GetChannelChatBadges(ctx context.Context, broadcasterID string) ([]twitchapi.BadgeSet, error)

GetChannelChatBadges provides a mock function for the type MockBadgeFetcher

func (*MockBadgeFetcher) GetGlobalChatBadges added in v0.6.2

func (_mock *MockBadgeFetcher) GetGlobalChatBadges(ctx context.Context) ([]twitchapi.BadgeSet, error)

GetGlobalChatBadges provides a mock function for the type MockBadgeFetcher

type MockBadgeFetcher_Expecter added in v0.6.2

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

func (*MockBadgeFetcher_Expecter) GetChannelChatBadges added in v0.6.2

func (_e *MockBadgeFetcher_Expecter) GetChannelChatBadges(ctx interface{}, broadcasterID interface{}) *MockBadgeFetcher_GetChannelChatBadges_Call

GetChannelChatBadges is a helper method to define mock.On call

  • ctx context.Context
  • broadcasterID string

func (*MockBadgeFetcher_Expecter) GetGlobalChatBadges added in v0.6.2

func (_e *MockBadgeFetcher_Expecter) GetGlobalChatBadges(ctx interface{}) *MockBadgeFetcher_GetGlobalChatBadges_Call

GetGlobalChatBadges is a helper method to define mock.On call

  • ctx context.Context

type MockBadgeFetcher_GetChannelChatBadges_Call added in v0.6.2

type MockBadgeFetcher_GetChannelChatBadges_Call struct {
	*mock.Call
}

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

func (*MockBadgeFetcher_GetChannelChatBadges_Call) Return added in v0.6.2

func (*MockBadgeFetcher_GetChannelChatBadges_Call) Run added in v0.6.2

func (*MockBadgeFetcher_GetChannelChatBadges_Call) RunAndReturn added in v0.6.2

type MockBadgeFetcher_GetGlobalChatBadges_Call added in v0.6.2

type MockBadgeFetcher_GetGlobalChatBadges_Call struct {
	*mock.Call
}

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

func (*MockBadgeFetcher_GetGlobalChatBadges_Call) Return added in v0.6.2

func (*MockBadgeFetcher_GetGlobalChatBadges_Call) Run added in v0.6.2

func (*MockBadgeFetcher_GetGlobalChatBadges_Call) RunAndReturn added in v0.6.2

type MockDisplayManager added in v0.6.2

type MockDisplayManager struct {
	mock.Mock
}

MockDisplayManager is an autogenerated mock type for the DisplayManager type

func NewMockDisplayManager added in v0.6.2

func NewMockDisplayManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDisplayManager

NewMockDisplayManager creates a new instance of MockDisplayManager. 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 (*MockDisplayManager) Convert added in v0.6.2

Convert provides a mock function for the type MockDisplayManager

func (*MockDisplayManager) EXPECT added in v0.6.2

type MockDisplayManager_Convert_Call added in v0.6.2

type MockDisplayManager_Convert_Call struct {
	*mock.Call
}

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

func (*MockDisplayManager_Convert_Call) Return added in v0.6.2

func (*MockDisplayManager_Convert_Call) Run added in v0.6.2

func (*MockDisplayManager_Convert_Call) RunAndReturn added in v0.6.2

type MockDisplayManager_Expecter added in v0.6.2

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

func (*MockDisplayManager_Expecter) Convert added in v0.6.2

func (_e *MockDisplayManager_Expecter) Convert(unit interface{}) *MockDisplayManager_Convert_Call

Convert is a helper method to define mock.On call

  • unit kittyimg.DisplayUnit

type MockEmoteStore added in v0.6.2

type MockEmoteStore struct {
	mock.Mock
}

MockEmoteStore is an autogenerated mock type for the EmoteStore type

func NewMockEmoteStore added in v0.6.2

func NewMockEmoteStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockEmoteStore

NewMockEmoteStore creates a new instance of MockEmoteStore. 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 (*MockEmoteStore) EXPECT added in v0.6.2

func (*MockEmoteStore) GetByText added in v0.6.2

func (_mock *MockEmoteStore) GetByText(channelID string, text string) (emote.Emote, bool)

GetByText provides a mock function for the type MockEmoteStore

func (*MockEmoteStore) GetByTextAllChannels added in v0.6.2

func (_mock *MockEmoteStore) GetByTextAllChannels(text string) (emote.Emote, bool)

GetByTextAllChannels provides a mock function for the type MockEmoteStore

func (*MockEmoteStore) LoadSetForeignEmote added in v0.6.2

func (_mock *MockEmoteStore) LoadSetForeignEmote(emoteID string, emoteText string) emote.Emote

LoadSetForeignEmote provides a mock function for the type MockEmoteStore

type MockEmoteStore_Expecter added in v0.6.2

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

func (*MockEmoteStore_Expecter) GetByText added in v0.6.2

func (_e *MockEmoteStore_Expecter) GetByText(channelID interface{}, text interface{}) *MockEmoteStore_GetByText_Call

GetByText is a helper method to define mock.On call

  • channelID string
  • text string

func (*MockEmoteStore_Expecter) GetByTextAllChannels added in v0.6.2

func (_e *MockEmoteStore_Expecter) GetByTextAllChannels(text interface{}) *MockEmoteStore_GetByTextAllChannels_Call

GetByTextAllChannels is a helper method to define mock.On call

  • text string

func (*MockEmoteStore_Expecter) LoadSetForeignEmote added in v0.6.2

func (_e *MockEmoteStore_Expecter) LoadSetForeignEmote(emoteID interface{}, emoteText interface{}) *MockEmoteStore_LoadSetForeignEmote_Call

LoadSetForeignEmote is a helper method to define mock.On call

  • emoteID string
  • emoteText string

type MockEmoteStore_GetByTextAllChannels_Call added in v0.6.2

type MockEmoteStore_GetByTextAllChannels_Call struct {
	*mock.Call
}

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

func (*MockEmoteStore_GetByTextAllChannels_Call) Return added in v0.6.2

func (*MockEmoteStore_GetByTextAllChannels_Call) Run added in v0.6.2

func (*MockEmoteStore_GetByTextAllChannels_Call) RunAndReturn added in v0.6.2

type MockEmoteStore_GetByText_Call added in v0.6.2

type MockEmoteStore_GetByText_Call struct {
	*mock.Call
}

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

func (*MockEmoteStore_GetByText_Call) Return added in v0.6.2

func (*MockEmoteStore_GetByText_Call) Run added in v0.6.2

func (_c *MockEmoteStore_GetByText_Call) Run(run func(channelID string, text string)) *MockEmoteStore_GetByText_Call

func (*MockEmoteStore_GetByText_Call) RunAndReturn added in v0.6.2

func (_c *MockEmoteStore_GetByText_Call) RunAndReturn(run func(channelID string, text string) (emote.Emote, bool)) *MockEmoteStore_GetByText_Call

type MockEmoteStore_LoadSetForeignEmote_Call added in v0.6.2

type MockEmoteStore_LoadSetForeignEmote_Call struct {
	*mock.Call
}

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

func (*MockEmoteStore_LoadSetForeignEmote_Call) Return added in v0.6.2

func (*MockEmoteStore_LoadSetForeignEmote_Call) Run added in v0.6.2

func (*MockEmoteStore_LoadSetForeignEmote_Call) RunAndReturn added in v0.6.2

type MockFFZEmoteFetcher added in v0.9.0

type MockFFZEmoteFetcher struct {
	mock.Mock
}

MockFFZEmoteFetcher is an autogenerated mock type for the FFZEmoteFetcher type

func NewMockFFZEmoteFetcher added in v0.9.0

func NewMockFFZEmoteFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockFFZEmoteFetcher

NewMockFFZEmoteFetcher creates a new instance of MockFFZEmoteFetcher. 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 (*MockFFZEmoteFetcher) EXPECT added in v0.9.0

func (*MockFFZEmoteFetcher) GetChannelEmotes added in v0.9.0

func (_mock *MockFFZEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) ([]ffz.Emote, error)

GetChannelEmotes provides a mock function for the type MockFFZEmoteFetcher

func (*MockFFZEmoteFetcher) GetGlobalEmotes added in v0.9.0

func (_mock *MockFFZEmoteFetcher) GetGlobalEmotes(context1 context.Context) ([]ffz.Emote, error)

GetGlobalEmotes provides a mock function for the type MockFFZEmoteFetcher

type MockFFZEmoteFetcher_Expecter added in v0.9.0

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

func (*MockFFZEmoteFetcher_Expecter) GetChannelEmotes added in v0.9.0

func (_e *MockFFZEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockFFZEmoteFetcher_GetChannelEmotes_Call

GetChannelEmotes is a helper method to define mock.On call

  • ctx context.Context
  • broadcaster string

func (*MockFFZEmoteFetcher_Expecter) GetGlobalEmotes added in v0.9.0

func (_e *MockFFZEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockFFZEmoteFetcher_GetGlobalEmotes_Call

GetGlobalEmotes is a helper method to define mock.On call

  • context1 context.Context

type MockFFZEmoteFetcher_GetChannelEmotes_Call added in v0.9.0

type MockFFZEmoteFetcher_GetChannelEmotes_Call struct {
	*mock.Call
}

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

func (*MockFFZEmoteFetcher_GetChannelEmotes_Call) Return added in v0.9.0

func (*MockFFZEmoteFetcher_GetChannelEmotes_Call) Run added in v0.9.0

func (*MockFFZEmoteFetcher_GetChannelEmotes_Call) RunAndReturn added in v0.9.0

type MockFFZEmoteFetcher_GetGlobalEmotes_Call added in v0.9.0

type MockFFZEmoteFetcher_GetGlobalEmotes_Call struct {
	*mock.Call
}

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

func (*MockFFZEmoteFetcher_GetGlobalEmotes_Call) Return added in v0.9.0

func (*MockFFZEmoteFetcher_GetGlobalEmotes_Call) Run added in v0.9.0

func (*MockFFZEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn added in v0.9.0

type MockSevenTVEmoteFetcher added in v0.6.2

type MockSevenTVEmoteFetcher struct {
	mock.Mock
}

MockSevenTVEmoteFetcher is an autogenerated mock type for the SevenTVEmoteFetcher type

func NewMockSevenTVEmoteFetcher added in v0.6.2

func NewMockSevenTVEmoteFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSevenTVEmoteFetcher

NewMockSevenTVEmoteFetcher creates a new instance of MockSevenTVEmoteFetcher. 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 (*MockSevenTVEmoteFetcher) EXPECT added in v0.6.2

func (*MockSevenTVEmoteFetcher) GetChannelEmotes added in v0.6.2

func (_mock *MockSevenTVEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (seventv.ChannelEmoteResponse, error)

GetChannelEmotes provides a mock function for the type MockSevenTVEmoteFetcher

func (*MockSevenTVEmoteFetcher) GetGlobalEmotes added in v0.6.2

func (_mock *MockSevenTVEmoteFetcher) GetGlobalEmotes(context1 context.Context) (seventv.EmoteResponse, error)

GetGlobalEmotes provides a mock function for the type MockSevenTVEmoteFetcher

type MockSevenTVEmoteFetcher_Expecter added in v0.6.2

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

func (*MockSevenTVEmoteFetcher_Expecter) GetChannelEmotes added in v0.6.2

func (_e *MockSevenTVEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockSevenTVEmoteFetcher_GetChannelEmotes_Call

GetChannelEmotes is a helper method to define mock.On call

  • ctx context.Context
  • broadcaster string

func (*MockSevenTVEmoteFetcher_Expecter) GetGlobalEmotes added in v0.6.2

func (_e *MockSevenTVEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockSevenTVEmoteFetcher_GetGlobalEmotes_Call

GetGlobalEmotes is a helper method to define mock.On call

  • context1 context.Context

type MockSevenTVEmoteFetcher_GetChannelEmotes_Call added in v0.6.2

type MockSevenTVEmoteFetcher_GetChannelEmotes_Call struct {
	*mock.Call
}

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

func (*MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Return added in v0.6.2

func (*MockSevenTVEmoteFetcher_GetChannelEmotes_Call) Run added in v0.6.2

func (*MockSevenTVEmoteFetcher_GetChannelEmotes_Call) RunAndReturn added in v0.6.2

type MockSevenTVEmoteFetcher_GetGlobalEmotes_Call added in v0.6.2

type MockSevenTVEmoteFetcher_GetGlobalEmotes_Call struct {
	*mock.Call
}

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

func (*MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Return added in v0.6.2

func (*MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) Run added in v0.6.2

func (*MockSevenTVEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn added in v0.6.2

type MockTwitchEmoteFetcher added in v0.6.2

type MockTwitchEmoteFetcher struct {
	mock.Mock
}

MockTwitchEmoteFetcher is an autogenerated mock type for the TwitchEmoteFetcher type

func NewMockTwitchEmoteFetcher added in v0.6.2

func NewMockTwitchEmoteFetcher(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTwitchEmoteFetcher

NewMockTwitchEmoteFetcher creates a new instance of MockTwitchEmoteFetcher. 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 (*MockTwitchEmoteFetcher) EXPECT added in v0.6.2

func (*MockTwitchEmoteFetcher) GetChannelEmotes added in v0.6.2

func (_mock *MockTwitchEmoteFetcher) GetChannelEmotes(ctx context.Context, broadcaster string) (twitchapi.EmoteResponse, error)

GetChannelEmotes provides a mock function for the type MockTwitchEmoteFetcher

func (*MockTwitchEmoteFetcher) GetGlobalEmotes added in v0.6.2

func (_mock *MockTwitchEmoteFetcher) GetGlobalEmotes(context1 context.Context) (twitchapi.EmoteResponse, error)

GetGlobalEmotes provides a mock function for the type MockTwitchEmoteFetcher

type MockTwitchEmoteFetcher_Expecter added in v0.6.2

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

func (*MockTwitchEmoteFetcher_Expecter) GetChannelEmotes added in v0.6.2

func (_e *MockTwitchEmoteFetcher_Expecter) GetChannelEmotes(ctx interface{}, broadcaster interface{}) *MockTwitchEmoteFetcher_GetChannelEmotes_Call

GetChannelEmotes is a helper method to define mock.On call

  • ctx context.Context
  • broadcaster string

func (*MockTwitchEmoteFetcher_Expecter) GetGlobalEmotes added in v0.6.2

func (_e *MockTwitchEmoteFetcher_Expecter) GetGlobalEmotes(context1 interface{}) *MockTwitchEmoteFetcher_GetGlobalEmotes_Call

GetGlobalEmotes is a helper method to define mock.On call

  • context1 context.Context

type MockTwitchEmoteFetcher_GetChannelEmotes_Call added in v0.6.2

type MockTwitchEmoteFetcher_GetChannelEmotes_Call struct {
	*mock.Call
}

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

func (*MockTwitchEmoteFetcher_GetChannelEmotes_Call) Return added in v0.6.2

func (*MockTwitchEmoteFetcher_GetChannelEmotes_Call) Run added in v0.6.2

func (*MockTwitchEmoteFetcher_GetChannelEmotes_Call) RunAndReturn added in v0.6.2

type MockTwitchEmoteFetcher_GetGlobalEmotes_Call added in v0.6.2

type MockTwitchEmoteFetcher_GetGlobalEmotes_Call struct {
	*mock.Call
}

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

func (*MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Return added in v0.6.2

func (*MockTwitchEmoteFetcher_GetGlobalEmotes_Call) Run added in v0.6.2

func (*MockTwitchEmoteFetcher_GetGlobalEmotes_Call) RunAndReturn added in v0.6.2

Jump to

Keyboard shortcuts

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