mock_camera

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_camera is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCam

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

MockCam is a mock of Cam interface.

func NewMockCam

func NewMockCam(ctrl *gomock.Controller) *MockCam

NewMockCam creates a new mock instance.

func (*MockCam) EXPECT

func (m *MockCam) EXPECT() *MockCamMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCam) GetPresets

func (m *MockCam) GetPresets() ([]model.CameraPreset, error)

GetPresets mocks base method.

func (*MockCam) SetPreset

func (m *MockCam) SetPreset(presetId int) error

SetPreset mocks base method.

func (*MockCam) TakeSnapshot

func (m *MockCam) TakeSnapshot(outDir string) (string, error)

TakeSnapshot mocks base method.

type MockCamMockRecorder

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

MockCamMockRecorder is the mock recorder for MockCam.

func (*MockCamMockRecorder) GetPresets

func (mr *MockCamMockRecorder) GetPresets() *gomock.Call

GetPresets indicates an expected call of GetPresets.

func (*MockCamMockRecorder) SetPreset

func (mr *MockCamMockRecorder) SetPreset(presetId interface{}) *gomock.Call

SetPreset indicates an expected call of SetPreset.

func (*MockCamMockRecorder) TakeSnapshot

func (mr *MockCamMockRecorder) TakeSnapshot(outDir interface{}) *gomock.Call

TakeSnapshot indicates an expected call of TakeSnapshot.

Jump to

Keyboard shortcuts

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