mocks

package
v0.0.0-...-a1dfb32 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataManager

type DataManager struct {
	mock.Mock
}

DataManager is an autogenerated mock type for the DataManager type

func NewDataManager

func NewDataManager(t mockConstructorTestingTNewDataManager) *DataManager

NewDataManager creates a new instance of DataManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DataManager) CancelRecording

func (_m *DataManager) CancelRecording() error

CancelRecording provides a mock function with given fields:

func (*DataManager) CancelReplay

func (_m *DataManager) CancelReplay() error

CancelReplay provides a mock function with given fields:

func (*DataManager) ExportRecordedData

func (_m *DataManager) ExportRecordedData() (*dtos.RecordedData, error)

ExportRecordedData provides a mock function with given fields:

func (*DataManager) ImportRecordedData

func (_m *DataManager) ImportRecordedData(data *dtos.RecordedData, overwrite bool) error

ImportRecordedData provides a mock function with given fields: data, overwrite

func (*DataManager) RecordingStatus

func (_m *DataManager) RecordingStatus() dtos.RecordStatus

RecordingStatus provides a mock function with given fields:

func (*DataManager) ReplayStatus

func (_m *DataManager) ReplayStatus() dtos.ReplayStatus

ReplayStatus provides a mock function with given fields:

func (*DataManager) StartRecording

func (_m *DataManager) StartRecording(request dtos.RecordRequest) error

StartRecording provides a mock function with given fields: request

func (*DataManager) StartReplay

func (_m *DataManager) StartReplay(request dtos.ReplayRequest) error

StartReplay provides a mock function with given fields: request

type HttpController

type HttpController struct {
	mock.Mock
}

HttpController is an autogenerated mock type for the HttpController type

func NewHttpController

func NewHttpController(t interface {
	mock.TestingT
	Cleanup(func())
}) *HttpController

NewHttpController creates a new instance of HttpController. 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 (*HttpController) AddRoutes

func (_m *HttpController) AddRoutes() error

AddRoutes 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