mocks

package
v0.0.0-...-d29f491 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 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