Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockADBFlasher
- type MockADBFlasherMockRecorder
- type MockFactoryImageFlasher
- type MockFactoryImageFlasherMockRecorder
- type MockFastbootFlasher
- func (m *MockFastbootFlasher) EXPECT() *MockFastbootFlasherMockRecorder
- func (m *MockFastbootFlasher) GetBootloaderLockStatus(arg0 string) (fastboot.FastbootLockStatus, error)
- func (m *MockFastbootFlasher) LockBootloader(arg0 string) error
- func (m *MockFastbootFlasher) Reboot(arg0 string) error
- func (m *MockFastbootFlasher) UnlockBootloader(arg0 string) error
- type MockFastbootFlasherMockRecorder
- func (mr *MockFastbootFlasherMockRecorder) GetBootloaderLockStatus(arg0 interface{}) *gomock.Call
- func (mr *MockFastbootFlasherMockRecorder) LockBootloader(arg0 interface{}) *gomock.Call
- func (mr *MockFastbootFlasherMockRecorder) Reboot(arg0 interface{}) *gomock.Call
- func (mr *MockFastbootFlasherMockRecorder) UnlockBootloader(arg0 interface{}) *gomock.Call
- type MockPlatformToolsFlasher
- type MockPlatformToolsFlasherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockADBFlasher ¶
type MockADBFlasher struct {
// contains filtered or unexported fields
}
MockADBFlasher is a mock of ADBFlasher interface
func NewMockADBFlasher ¶
func NewMockADBFlasher(ctrl *gomock.Controller) *MockADBFlasher
NewMockADBFlasher creates a new mock instance
func (*MockADBFlasher) EXPECT ¶
func (m *MockADBFlasher) EXPECT() *MockADBFlasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockADBFlasher) KillServer ¶
func (m *MockADBFlasher) KillServer() error
KillServer mocks base method
func (*MockADBFlasher) RebootIntoBootloader ¶
func (m *MockADBFlasher) RebootIntoBootloader(arg0 string) error
RebootIntoBootloader mocks base method
type MockADBFlasherMockRecorder ¶
type MockADBFlasherMockRecorder struct {
// contains filtered or unexported fields
}
MockADBFlasherMockRecorder is the mock recorder for MockADBFlasher
func (*MockADBFlasherMockRecorder) KillServer ¶
func (mr *MockADBFlasherMockRecorder) KillServer() *gomock.Call
KillServer indicates an expected call of KillServer
func (*MockADBFlasherMockRecorder) RebootIntoBootloader ¶
func (mr *MockADBFlasherMockRecorder) RebootIntoBootloader(arg0 interface{}) *gomock.Call
RebootIntoBootloader indicates an expected call of RebootIntoBootloader
type MockFactoryImageFlasher ¶
type MockFactoryImageFlasher struct {
// contains filtered or unexported fields
}
MockFactoryImageFlasher is a mock of FactoryImageFlasher interface
func NewMockFactoryImageFlasher ¶
func NewMockFactoryImageFlasher(ctrl *gomock.Controller) *MockFactoryImageFlasher
NewMockFactoryImageFlasher creates a new mock instance
func (*MockFactoryImageFlasher) EXPECT ¶
func (m *MockFactoryImageFlasher) EXPECT() *MockFactoryImageFlasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFactoryImageFlasher) FlashAll ¶
func (m *MockFactoryImageFlasher) FlashAll(arg0 *device.Device, arg1 platformtools.PlatformToolsPath) error
FlashAll mocks base method
type MockFactoryImageFlasherMockRecorder ¶
type MockFactoryImageFlasherMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryImageFlasherMockRecorder is the mock recorder for MockFactoryImageFlasher
func (*MockFactoryImageFlasherMockRecorder) FlashAll ¶
func (mr *MockFactoryImageFlasherMockRecorder) FlashAll(arg0, arg1 interface{}) *gomock.Call
FlashAll indicates an expected call of FlashAll
func (*MockFactoryImageFlasherMockRecorder) Validate ¶
func (mr *MockFactoryImageFlasherMockRecorder) Validate(arg0 interface{}) *gomock.Call
Validate indicates an expected call of Validate
type MockFastbootFlasher ¶
type MockFastbootFlasher struct {
// contains filtered or unexported fields
}
MockFastbootFlasher is a mock of FastbootFlasher interface
func NewMockFastbootFlasher ¶
func NewMockFastbootFlasher(ctrl *gomock.Controller) *MockFastbootFlasher
NewMockFastbootFlasher creates a new mock instance
func (*MockFastbootFlasher) EXPECT ¶
func (m *MockFastbootFlasher) EXPECT() *MockFastbootFlasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFastbootFlasher) GetBootloaderLockStatus ¶
func (m *MockFastbootFlasher) GetBootloaderLockStatus(arg0 string) (fastboot.FastbootLockStatus, error)
GetBootloaderLockStatus mocks base method
func (*MockFastbootFlasher) LockBootloader ¶
func (m *MockFastbootFlasher) LockBootloader(arg0 string) error
LockBootloader mocks base method
func (*MockFastbootFlasher) Reboot ¶
func (m *MockFastbootFlasher) Reboot(arg0 string) error
Reboot mocks base method
func (*MockFastbootFlasher) UnlockBootloader ¶
func (m *MockFastbootFlasher) UnlockBootloader(arg0 string) error
UnlockBootloader mocks base method
type MockFastbootFlasherMockRecorder ¶
type MockFastbootFlasherMockRecorder struct {
// contains filtered or unexported fields
}
MockFastbootFlasherMockRecorder is the mock recorder for MockFastbootFlasher
func (*MockFastbootFlasherMockRecorder) GetBootloaderLockStatus ¶
func (mr *MockFastbootFlasherMockRecorder) GetBootloaderLockStatus(arg0 interface{}) *gomock.Call
GetBootloaderLockStatus indicates an expected call of GetBootloaderLockStatus
func (*MockFastbootFlasherMockRecorder) LockBootloader ¶
func (mr *MockFastbootFlasherMockRecorder) LockBootloader(arg0 interface{}) *gomock.Call
LockBootloader indicates an expected call of LockBootloader
func (*MockFastbootFlasherMockRecorder) Reboot ¶
func (mr *MockFastbootFlasherMockRecorder) Reboot(arg0 interface{}) *gomock.Call
Reboot indicates an expected call of Reboot
func (*MockFastbootFlasherMockRecorder) UnlockBootloader ¶
func (mr *MockFastbootFlasherMockRecorder) UnlockBootloader(arg0 interface{}) *gomock.Call
UnlockBootloader indicates an expected call of UnlockBootloader
type MockPlatformToolsFlasher ¶
type MockPlatformToolsFlasher struct {
// contains filtered or unexported fields
}
MockPlatformToolsFlasher is a mock of PlatformToolsFlasher interface
func NewMockPlatformToolsFlasher ¶
func NewMockPlatformToolsFlasher(ctrl *gomock.Controller) *MockPlatformToolsFlasher
NewMockPlatformToolsFlasher creates a new mock instance
func (*MockPlatformToolsFlasher) EXPECT ¶
func (m *MockPlatformToolsFlasher) EXPECT() *MockPlatformToolsFlasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlatformToolsFlasher) Path ¶
func (m *MockPlatformToolsFlasher) Path() platformtools.PlatformToolsPath
Path mocks base method
type MockPlatformToolsFlasherMockRecorder ¶
type MockPlatformToolsFlasherMockRecorder struct {
// contains filtered or unexported fields
}
MockPlatformToolsFlasherMockRecorder is the mock recorder for MockPlatformToolsFlasher
func (*MockPlatformToolsFlasherMockRecorder) Path ¶
func (mr *MockPlatformToolsFlasherMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path