mocks

package
v0.0.0-...-a096607 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	mock.Mock
}

App is an autogenerated mock type for the App type

func NewApp

func NewApp(t interface {
	mock.TestingT
	Cleanup(func())
}) *App

NewApp creates a new instance of App. 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 (*App) Banner

func (_m *App) Banner(ctx context.Context, slotID int, groupID int) (int, error)

Banner provides a mock function with given fields: ctx, slotID, groupID

func (*App) BannerOff

func (_m *App) BannerOff(ctx context.Context, slotID int, bannerID int) error

BannerOff provides a mock function with given fields: ctx, slotID, bannerID

func (*App) BannerOn

func (_m *App) BannerOn(ctx context.Context, slotID int, bannerID int) error

BannerOn provides a mock function with given fields: ctx, slotID, bannerID

func (*App) Click

func (_m *App) Click(ctx context.Context, slotID int, bannerID int, groupID int) error

Click provides a mock function with given fields: ctx, slotID, bannerID, groupID

Jump to

Keyboard shortcuts

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