mocks

package
v0.0.0-...-0ec319e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TryBotStore

type TryBotStore struct {
	mock.Mock
}

TryBotStore is an autogenerated mock type for the TryBotStore type

func NewTryBotStore

func NewTryBotStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *TryBotStore

NewTryBotStore creates a new instance of TryBotStore. 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 (*TryBotStore) Get

func (_m *TryBotStore) Get(ctx context.Context, cl types.CL, patch int) ([]store.GetResult, error)

Get provides a mock function with given fields: ctx, cl, patch

func (*TryBotStore) List

func (_m *TryBotStore) List(ctx context.Context, since time.Time) ([]store.ListResult, error)

List provides a mock function with given fields: ctx, since

func (*TryBotStore) Write

func (_m *TryBotStore) Write(ctx context.Context, tryFile trybot.TryFile) error

Write provides a mock function with given fields: ctx, tryFile

Jump to

Keyboard shortcuts

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