mock_vehicle

package
v0.0.0-...-40a4415 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_vehicle is a generated GoMock package.

Package mock_vehicle is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICar

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

MockICar is a mock of ICar interface.

func NewMockICar

func NewMockICar(ctrl *gomock.Controller) *MockICar

NewMockICar creates a new mock instance.

func (*MockICar) ActualPoint

func (m *MockICar) ActualPoint() gps.Point

ActualPoint mocks base method.

func (*MockICar) Drones

func (m *MockICar) Drones() []vehicle.IDrone

Drones mocks base method.

func (*MockICar) EXPECT

func (m *MockICar) EXPECT() *MockICarMockRecorder

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

func (*MockICar) Efficiency

func (m *MockICar) Efficiency() float64

Efficiency mocks base method.

func (*MockICar) Move

func (m *MockICar) Move(destination gps.Point)

Move mocks base method.

func (*MockICar) Name

func (m *MockICar) Name() string

Name mocks base method.

func (*MockICar) NewDrone

func (m *MockICar) NewDrone(name string)

NewDrone mocks base method.

func (*MockICar) Speed

func (m *MockICar) Speed() float64

Speed mocks base method.

func (*MockICar) Support

func (m *MockICar) Support(arg0 ...gps.Point) bool

Support mocks base method.

type MockICarMockRecorder

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

MockICarMockRecorder is the mock recorder for MockICar.

func (*MockICarMockRecorder) ActualPoint

func (mr *MockICarMockRecorder) ActualPoint() *gomock.Call

ActualPoint indicates an expected call of ActualPoint.

func (*MockICarMockRecorder) Drones

func (mr *MockICarMockRecorder) Drones() *gomock.Call

Drones indicates an expected call of Drones.

func (*MockICarMockRecorder) Efficiency

func (mr *MockICarMockRecorder) Efficiency() *gomock.Call

Efficiency indicates an expected call of Efficiency.

func (*MockICarMockRecorder) Move

func (mr *MockICarMockRecorder) Move(destination any) *gomock.Call

Move indicates an expected call of Move.

func (*MockICarMockRecorder) Name

func (mr *MockICarMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockICarMockRecorder) NewDrone

func (mr *MockICarMockRecorder) NewDrone(name any) *gomock.Call

NewDrone indicates an expected call of NewDrone.

func (*MockICarMockRecorder) Speed

func (mr *MockICarMockRecorder) Speed() *gomock.Call

Speed indicates an expected call of Speed.

func (*MockICarMockRecorder) Support

func (mr *MockICarMockRecorder) Support(arg0 ...any) *gomock.Call

Support indicates an expected call of Support.

type MockIDrone

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

MockIDrone is a mock of IDrone interface.

func NewMockIDrone

func NewMockIDrone(ctrl *gomock.Controller) *MockIDrone

NewMockIDrone creates a new mock instance.

func (*MockIDrone) ActualPoint

func (m *MockIDrone) ActualPoint() gps.Point

ActualPoint mocks base method.

func (*MockIDrone) CanReach

func (m *MockIDrone) CanReach(arg0 ...gps.Point) bool

CanReach mocks base method.

func (*MockIDrone) EXPECT

func (m *MockIDrone) EXPECT() *MockIDroneMockRecorder

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

func (*MockIDrone) Efficiency

func (m *MockIDrone) Efficiency() float64

Efficiency mocks base method.

func (*MockIDrone) IsFlying

func (m *MockIDrone) IsFlying() bool

IsFlying mocks base method.

func (*MockIDrone) Land

func (m *MockIDrone) Land(destination gps.Point)

Land mocks base method.

func (*MockIDrone) Move

func (m *MockIDrone) Move(destination gps.Point)

Move mocks base method.

func (*MockIDrone) Name

func (m *MockIDrone) Name() string

Name mocks base method.

func (*MockIDrone) Speed

func (m *MockIDrone) Speed() float64

Speed mocks base method.

func (*MockIDrone) Support

func (m *MockIDrone) Support(arg0 ...gps.Point) bool

Support mocks base method.

func (*MockIDrone) TakeOff

func (m *MockIDrone) TakeOff()

TakeOff mocks base method.

type MockIDroneMockRecorder

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

MockIDroneMockRecorder is the mock recorder for MockIDrone.

func (*MockIDroneMockRecorder) ActualPoint

func (mr *MockIDroneMockRecorder) ActualPoint() *gomock.Call

ActualPoint indicates an expected call of ActualPoint.

func (*MockIDroneMockRecorder) CanReach

func (mr *MockIDroneMockRecorder) CanReach(arg0 ...any) *gomock.Call

CanReach indicates an expected call of CanReach.

func (*MockIDroneMockRecorder) Efficiency

func (mr *MockIDroneMockRecorder) Efficiency() *gomock.Call

Efficiency indicates an expected call of Efficiency.

func (*MockIDroneMockRecorder) IsFlying

func (mr *MockIDroneMockRecorder) IsFlying() *gomock.Call

IsFlying indicates an expected call of IsFlying.

func (*MockIDroneMockRecorder) Land

func (mr *MockIDroneMockRecorder) Land(destination any) *gomock.Call

Land indicates an expected call of Land.

func (*MockIDroneMockRecorder) Move

func (mr *MockIDroneMockRecorder) Move(destination any) *gomock.Call

Move indicates an expected call of Move.

func (*MockIDroneMockRecorder) Name

func (mr *MockIDroneMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockIDroneMockRecorder) Speed

func (mr *MockIDroneMockRecorder) Speed() *gomock.Call

Speed indicates an expected call of Speed.

func (*MockIDroneMockRecorder) Support

func (mr *MockIDroneMockRecorder) Support(arg0 ...any) *gomock.Call

Support indicates an expected call of Support.

func (*MockIDroneMockRecorder) TakeOff

func (mr *MockIDroneMockRecorder) TakeOff() *gomock.Call

TakeOff indicates an expected call of TakeOff.

Jump to

Keyboard shortcuts

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