Documentation ¶
Overview ¶
Package mock_vehicle is a generated GoMock package.
Package mock_vehicle is a generated GoMock package.
Index ¶
- type MockICar
- func (m *MockICar) ActualPoint() gps.Point
- func (m *MockICar) Drones() []vehicle.IDrone
- func (m *MockICar) EXPECT() *MockICarMockRecorder
- func (m *MockICar) Efficiency() float64
- func (m *MockICar) Move(destination gps.Point)
- func (m *MockICar) Name() string
- func (m *MockICar) NewDrone(name string)
- func (m *MockICar) Speed() float64
- func (m *MockICar) Support(arg0 ...gps.Point) bool
- type MockICarMockRecorder
- func (mr *MockICarMockRecorder) ActualPoint() *gomock.Call
- func (mr *MockICarMockRecorder) Drones() *gomock.Call
- func (mr *MockICarMockRecorder) Efficiency() *gomock.Call
- func (mr *MockICarMockRecorder) Move(destination any) *gomock.Call
- func (mr *MockICarMockRecorder) Name() *gomock.Call
- func (mr *MockICarMockRecorder) NewDrone(name any) *gomock.Call
- func (mr *MockICarMockRecorder) Speed() *gomock.Call
- func (mr *MockICarMockRecorder) Support(arg0 ...any) *gomock.Call
- type MockIDrone
- func (m *MockIDrone) ActualPoint() gps.Point
- func (m *MockIDrone) CanReach(arg0 ...gps.Point) bool
- func (m *MockIDrone) EXPECT() *MockIDroneMockRecorder
- func (m *MockIDrone) Efficiency() float64
- func (m *MockIDrone) IsFlying() bool
- func (m *MockIDrone) Land(destination gps.Point)
- func (m *MockIDrone) Move(destination gps.Point)
- func (m *MockIDrone) Name() string
- func (m *MockIDrone) Speed() float64
- func (m *MockIDrone) Support(arg0 ...gps.Point) bool
- func (m *MockIDrone) TakeOff()
- type MockIDroneMockRecorder
- func (mr *MockIDroneMockRecorder) ActualPoint() *gomock.Call
- func (mr *MockIDroneMockRecorder) CanReach(arg0 ...any) *gomock.Call
- func (mr *MockIDroneMockRecorder) Efficiency() *gomock.Call
- func (mr *MockIDroneMockRecorder) IsFlying() *gomock.Call
- func (mr *MockIDroneMockRecorder) Land(destination any) *gomock.Call
- func (mr *MockIDroneMockRecorder) Move(destination any) *gomock.Call
- func (mr *MockIDroneMockRecorder) Name() *gomock.Call
- func (mr *MockIDroneMockRecorder) Speed() *gomock.Call
- func (mr *MockIDroneMockRecorder) Support(arg0 ...any) *gomock.Call
- func (mr *MockIDroneMockRecorder) TakeOff() *gomock.Call
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 ¶
ActualPoint mocks base method.
func (*MockICar) EXPECT ¶
func (m *MockICar) EXPECT() *MockICarMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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.
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.