Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDisplayController
- func (fake *FakeDisplayController) CallOrder() []string
- func (fake *FakeDisplayController) CaptureScreen(arg1 context.Context, arg2 *display.Region) (image.Image, error)
- func (fake *FakeDisplayController) CaptureScreenArgs() []FakeDisplayControllerCaptureScreenArgs
- func (fake *FakeDisplayController) CaptureScreenArgsForCall(i int) (context.Context, *display.Region)
- func (fake *FakeDisplayController) CaptureScreenBytes(arg1 context.Context, arg2 *display.Region) ([]byte, error)
- func (fake *FakeDisplayController) CaptureScreenBytesArgs() []FakeDisplayControllerCaptureScreenBytesArgs
- func (fake *FakeDisplayController) CaptureScreenBytesArgsForCall(i int) (context.Context, *display.Region)
- func (fake *FakeDisplayController) CaptureScreenBytesCallCount() int
- func (fake *FakeDisplayController) CaptureScreenBytesCalls(stub func(context.Context, *display.Region) ([]byte, error))
- func (fake *FakeDisplayController) CaptureScreenBytesReturns(result1 []byte, result2 error)
- func (fake *FakeDisplayController) CaptureScreenBytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeDisplayController) CaptureScreenCallCount() int
- func (fake *FakeDisplayController) CaptureScreenCalls(stub func(context.Context, *display.Region) (image.Image, error))
- func (fake *FakeDisplayController) CaptureScreenReturns(result1 image.Image, result2 error)
- func (fake *FakeDisplayController) CaptureScreenReturnsOnCall(i int, result1 image.Image, result2 error)
- func (fake *FakeDisplayController) ClickMouse(arg1 context.Context, arg2 display.MouseButton, arg3 int) error
- func (fake *FakeDisplayController) ClickMouseArgs() []FakeDisplayControllerClickMouseArgs
- func (fake *FakeDisplayController) ClickMouseArgsForCall(i int) (context.Context, display.MouseButton, int)
- func (fake *FakeDisplayController) ClickMouseCallCount() int
- func (fake *FakeDisplayController) ClickMouseCalls(stub func(context.Context, display.MouseButton, int) error)
- func (fake *FakeDisplayController) ClickMouseReturns(result1 error)
- func (fake *FakeDisplayController) ClickMouseReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) Close() error
- func (fake *FakeDisplayController) CloseCallCount() int
- func (fake *FakeDisplayController) CloseCalls(stub func() error)
- func (fake *FakeDisplayController) CloseReturns(result1 error)
- func (fake *FakeDisplayController) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) GetCursorPosition(arg1 context.Context) (int, int, error)
- func (fake *FakeDisplayController) GetCursorPositionArgs() []FakeDisplayControllerGetCursorPositionArgs
- func (fake *FakeDisplayController) GetCursorPositionArgsForCall(i int) context.Context
- func (fake *FakeDisplayController) GetCursorPositionCallCount() int
- func (fake *FakeDisplayController) GetCursorPositionCalls(stub func(context.Context) (int, int, error))
- func (fake *FakeDisplayController) GetCursorPositionReturns(result1 int, result2 int, result3 error)
- func (fake *FakeDisplayController) GetCursorPositionReturnsOnCall(i int, result1 int, result2 int, result3 error)
- func (fake *FakeDisplayController) GetScreenDimensions(arg1 context.Context) (int, int, error)
- func (fake *FakeDisplayController) GetScreenDimensionsArgs() []FakeDisplayControllerGetScreenDimensionsArgs
- func (fake *FakeDisplayController) GetScreenDimensionsArgsForCall(i int) context.Context
- func (fake *FakeDisplayController) GetScreenDimensionsCallCount() int
- func (fake *FakeDisplayController) GetScreenDimensionsCalls(stub func(context.Context) (int, int, error))
- func (fake *FakeDisplayController) GetScreenDimensionsReturns(result1 int, result2 int, result3 error)
- func (fake *FakeDisplayController) GetScreenDimensionsReturnsOnCall(i int, result1 int, result2 int, result3 error)
- func (fake *FakeDisplayController) Invocations() map[string][][]interface{}
- func (fake *FakeDisplayController) MoveMouse(arg1 context.Context, arg2 int, arg3 int) error
- func (fake *FakeDisplayController) MoveMouseArgs() []FakeDisplayControllerMoveMouseArgs
- func (fake *FakeDisplayController) MoveMouseArgsForCall(i int) (context.Context, int, int)
- func (fake *FakeDisplayController) MoveMouseCallCount() int
- func (fake *FakeDisplayController) MoveMouseCalls(stub func(context.Context, int, int) error)
- func (fake *FakeDisplayController) MoveMouseReturns(result1 error)
- func (fake *FakeDisplayController) MoveMouseReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) PressMouse(arg1 context.Context, arg2 display.MouseButton) error
- func (fake *FakeDisplayController) PressMouseArgs() []FakeDisplayControllerPressMouseArgs
- func (fake *FakeDisplayController) PressMouseArgsForCall(i int) (context.Context, display.MouseButton)
- func (fake *FakeDisplayController) PressMouseCallCount() int
- func (fake *FakeDisplayController) PressMouseCalls(stub func(context.Context, display.MouseButton) error)
- func (fake *FakeDisplayController) PressMouseReturns(result1 error)
- func (fake *FakeDisplayController) PressMouseReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) ReleaseMouse(arg1 context.Context, arg2 display.MouseButton) error
- func (fake *FakeDisplayController) ReleaseMouseArgs() []FakeDisplayControllerReleaseMouseArgs
- func (fake *FakeDisplayController) ReleaseMouseArgsForCall(i int) (context.Context, display.MouseButton)
- func (fake *FakeDisplayController) ReleaseMouseCallCount() int
- func (fake *FakeDisplayController) ReleaseMouseCalls(stub func(context.Context, display.MouseButton) error)
- func (fake *FakeDisplayController) ReleaseMouseReturns(result1 error)
- func (fake *FakeDisplayController) ReleaseMouseReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) ScrollMouse(arg1 context.Context, arg2 int, arg3 string) error
- func (fake *FakeDisplayController) ScrollMouseArgs() []FakeDisplayControllerScrollMouseArgs
- func (fake *FakeDisplayController) ScrollMouseArgsForCall(i int) (context.Context, int, string)
- func (fake *FakeDisplayController) ScrollMouseCallCount() int
- func (fake *FakeDisplayController) ScrollMouseCalls(stub func(context.Context, int, string) error)
- func (fake *FakeDisplayController) ScrollMouseReturns(result1 error)
- func (fake *FakeDisplayController) ScrollMouseReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) SendKeyCombo(arg1 context.Context, arg2 string) error
- func (fake *FakeDisplayController) SendKeyComboArgs() []FakeDisplayControllerSendKeyComboArgs
- func (fake *FakeDisplayController) SendKeyComboArgsForCall(i int) (context.Context, string)
- func (fake *FakeDisplayController) SendKeyComboCallCount() int
- func (fake *FakeDisplayController) SendKeyComboCalls(stub func(context.Context, string) error)
- func (fake *FakeDisplayController) SendKeyComboReturns(result1 error)
- func (fake *FakeDisplayController) SendKeyComboReturnsOnCall(i int, result1 error)
- func (fake *FakeDisplayController) TypeText(arg1 context.Context, arg2 string, arg3 int) error
- func (fake *FakeDisplayController) TypeTextArgs() []FakeDisplayControllerTypeTextArgs
- func (fake *FakeDisplayController) TypeTextArgsForCall(i int) (context.Context, string, int)
- func (fake *FakeDisplayController) TypeTextCallCount() int
- func (fake *FakeDisplayController) TypeTextCalls(stub func(context.Context, string, int) error)
- func (fake *FakeDisplayController) TypeTextReturns(result1 error)
- func (fake *FakeDisplayController) TypeTextReturnsOnCall(i int, result1 error)
- type FakeDisplayControllerCaptureScreenArgs
- type FakeDisplayControllerCaptureScreenBytesArgs
- type FakeDisplayControllerClickMouseArgs
- type FakeDisplayControllerGetCursorPositionArgs
- type FakeDisplayControllerGetScreenDimensionsArgs
- type FakeDisplayControllerMoveMouseArgs
- type FakeDisplayControllerPressMouseArgs
- type FakeDisplayControllerReleaseMouseArgs
- type FakeDisplayControllerScrollMouseArgs
- type FakeDisplayControllerSendKeyComboArgs
- type FakeDisplayControllerTypeTextArgs
- type FakeScreenControl
- func (fake *FakeScreenControl) CallOrder() []string
- func (fake *FakeScreenControl) Drive(arg1 context.Context, arg2 domain.ScreenInput) error
- func (fake *FakeScreenControl) DriveArgs() []FakeScreenControlDriveArgs
- func (fake *FakeScreenControl) DriveArgsForCall(i int) (context.Context, domain.ScreenInput)
- func (fake *FakeScreenControl) DriveCallCount() int
- func (fake *FakeScreenControl) DriveCalls(stub func(context.Context, domain.ScreenInput) error)
- func (fake *FakeScreenControl) DriveReturns(result1 error)
- func (fake *FakeScreenControl) DriveReturnsOnCall(i int, result1 error)
- func (fake *FakeScreenControl) Follow(arg1 domain.ScreenFollower)
- func (fake *FakeScreenControl) FollowArgs() []FakeScreenControlFollowArgs
- func (fake *FakeScreenControl) FollowArgsForCall(i int) domain.ScreenFollower
- func (fake *FakeScreenControl) FollowCallCount() int
- func (fake *FakeScreenControl) FollowCalls(stub func(domain.ScreenFollower))
- func (fake *FakeScreenControl) HandBack() bool
- func (fake *FakeScreenControl) HandBackCallCount() int
- func (fake *FakeScreenControl) HandBackCalls(stub func() bool)
- func (fake *FakeScreenControl) HandBackReturns(result1 bool)
- func (fake *FakeScreenControl) HandBackReturnsOnCall(i int, result1 bool)
- func (fake *FakeScreenControl) Held() bool
- func (fake *FakeScreenControl) HeldCallCount() int
- func (fake *FakeScreenControl) HeldCalls(stub func() bool)
- func (fake *FakeScreenControl) HeldReturns(result1 bool)
- func (fake *FakeScreenControl) HeldReturnsOnCall(i int, result1 bool)
- func (fake *FakeScreenControl) Invocations() map[string][][]interface{}
- func (fake *FakeScreenControl) TakeOver() error
- func (fake *FakeScreenControl) TakeOverCallCount() int
- func (fake *FakeScreenControl) TakeOverCalls(stub func() error)
- func (fake *FakeScreenControl) TakeOverReturns(result1 error)
- func (fake *FakeScreenControl) TakeOverReturnsOnCall(i int, result1 error)
- func (fake *FakeScreenControl) WaitRelease(arg1 context.Context) error
- func (fake *FakeScreenControl) WaitReleaseArgs() []FakeScreenControlWaitReleaseArgs
- func (fake *FakeScreenControl) WaitReleaseArgsForCall(i int) context.Context
- func (fake *FakeScreenControl) WaitReleaseCallCount() int
- func (fake *FakeScreenControl) WaitReleaseCalls(stub func(context.Context) error)
- func (fake *FakeScreenControl) WaitReleaseReturns(result1 error)
- func (fake *FakeScreenControl) WaitReleaseReturnsOnCall(i int, result1 error)
- type FakeScreenControlDriveArgs
- type FakeScreenControlFollowArgs
- type FakeScreenControlWaitReleaseArgs
- type FakeScreenFollower
- func (fake *FakeScreenFollower) CallOrder() []string
- func (fake *FakeScreenFollower) HoldChanged(arg1 bool)
- func (fake *FakeScreenFollower) HoldChangedArgs() []FakeScreenFollowerHoldChangedArgs
- func (fake *FakeScreenFollower) HoldChangedArgsForCall(i int) bool
- func (fake *FakeScreenFollower) HoldChangedCallCount() int
- func (fake *FakeScreenFollower) HoldChangedCalls(stub func(bool))
- func (fake *FakeScreenFollower) InputLanded()
- func (fake *FakeScreenFollower) InputLandedCallCount() int
- func (fake *FakeScreenFollower) InputLandedCalls(stub func())
- func (fake *FakeScreenFollower) Invocations() map[string][][]interface{}
- type FakeScreenFollowerHoldChangedArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDisplayController ¶ added in v0.253.0
type FakeDisplayController struct {
CaptureScreenStub func(context.Context, *display.Region) (image.Image, error)
CaptureScreenBytesStub func(context.Context, *display.Region) ([]byte, error)
ClickMouseStub func(context.Context, display.MouseButton, int) error
CloseStub func() error
GetCursorPositionStub func(context.Context) (int, int, error)
GetScreenDimensionsStub func(context.Context) (int, int, error)
MoveMouseStub func(context.Context, int, int) error
PressMouseStub func(context.Context, display.MouseButton) error
ReleaseMouseStub func(context.Context, display.MouseButton) error
ScrollMouseStub func(context.Context, int, string) error
SendKeyComboStub func(context.Context, string) error
TypeTextStub func(context.Context, string, int) error
// contains filtered or unexported fields
}
func (*FakeDisplayController) CallOrder ¶ added in v0.253.0
func (fake *FakeDisplayController) CallOrder() []string
func (*FakeDisplayController) CaptureScreen ¶ added in v0.253.0
func (*FakeDisplayController) CaptureScreenArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenArgs() []FakeDisplayControllerCaptureScreenArgs
func (*FakeDisplayController) CaptureScreenArgsForCall ¶ added in v0.253.0
func (*FakeDisplayController) CaptureScreenBytes ¶ added in v0.253.0
func (*FakeDisplayController) CaptureScreenBytesArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenBytesArgs() []FakeDisplayControllerCaptureScreenBytesArgs
func (*FakeDisplayController) CaptureScreenBytesArgsForCall ¶ added in v0.253.0
func (*FakeDisplayController) CaptureScreenBytesCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenBytesCallCount() int
func (*FakeDisplayController) CaptureScreenBytesCalls ¶ added in v0.253.0
func (*FakeDisplayController) CaptureScreenBytesReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenBytesReturns(result1 []byte, result2 error)
func (*FakeDisplayController) CaptureScreenBytesReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenBytesReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeDisplayController) CaptureScreenCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenCallCount() int
func (*FakeDisplayController) CaptureScreenCalls ¶ added in v0.253.0
func (*FakeDisplayController) CaptureScreenReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenReturns(result1 image.Image, result2 error)
func (*FakeDisplayController) CaptureScreenReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) CaptureScreenReturnsOnCall(i int, result1 image.Image, result2 error)
func (*FakeDisplayController) ClickMouse ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouse(arg1 context.Context, arg2 display.MouseButton, arg3 int) error
func (*FakeDisplayController) ClickMouseArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouseArgs() []FakeDisplayControllerClickMouseArgs
func (*FakeDisplayController) ClickMouseArgsForCall ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouseArgsForCall(i int) (context.Context, display.MouseButton, int)
func (*FakeDisplayController) ClickMouseCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouseCallCount() int
func (*FakeDisplayController) ClickMouseCalls ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouseCalls(stub func(context.Context, display.MouseButton, int) error)
func (*FakeDisplayController) ClickMouseReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouseReturns(result1 error)
func (*FakeDisplayController) ClickMouseReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) ClickMouseReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) Close ¶ added in v0.253.0
func (fake *FakeDisplayController) Close() error
func (*FakeDisplayController) CloseCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) CloseCallCount() int
func (*FakeDisplayController) CloseCalls ¶ added in v0.253.0
func (fake *FakeDisplayController) CloseCalls(stub func() error)
func (*FakeDisplayController) CloseReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) CloseReturns(result1 error)
func (*FakeDisplayController) CloseReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) CloseReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) GetCursorPosition ¶ added in v0.253.0
func (*FakeDisplayController) GetCursorPositionArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) GetCursorPositionArgs() []FakeDisplayControllerGetCursorPositionArgs
func (*FakeDisplayController) GetCursorPositionArgsForCall ¶ added in v0.253.0
func (fake *FakeDisplayController) GetCursorPositionArgsForCall(i int) context.Context
func (*FakeDisplayController) GetCursorPositionCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) GetCursorPositionCallCount() int
func (*FakeDisplayController) GetCursorPositionCalls ¶ added in v0.253.0
func (*FakeDisplayController) GetCursorPositionReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) GetCursorPositionReturns(result1 int, result2 int, result3 error)
func (*FakeDisplayController) GetCursorPositionReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) GetCursorPositionReturnsOnCall(i int, result1 int, result2 int, result3 error)
func (*FakeDisplayController) GetScreenDimensions ¶ added in v0.253.0
func (*FakeDisplayController) GetScreenDimensionsArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) GetScreenDimensionsArgs() []FakeDisplayControllerGetScreenDimensionsArgs
func (*FakeDisplayController) GetScreenDimensionsArgsForCall ¶ added in v0.253.0
func (fake *FakeDisplayController) GetScreenDimensionsArgsForCall(i int) context.Context
func (*FakeDisplayController) GetScreenDimensionsCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) GetScreenDimensionsCallCount() int
func (*FakeDisplayController) GetScreenDimensionsCalls ¶ added in v0.253.0
func (*FakeDisplayController) GetScreenDimensionsReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) GetScreenDimensionsReturns(result1 int, result2 int, result3 error)
func (*FakeDisplayController) GetScreenDimensionsReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) GetScreenDimensionsReturnsOnCall(i int, result1 int, result2 int, result3 error)
func (*FakeDisplayController) Invocations ¶ added in v0.253.0
func (fake *FakeDisplayController) Invocations() map[string][][]interface{}
func (*FakeDisplayController) MoveMouseArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) MoveMouseArgs() []FakeDisplayControllerMoveMouseArgs
func (*FakeDisplayController) MoveMouseArgsForCall ¶ added in v0.253.0
func (*FakeDisplayController) MoveMouseCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) MoveMouseCallCount() int
func (*FakeDisplayController) MoveMouseCalls ¶ added in v0.253.0
func (*FakeDisplayController) MoveMouseReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) MoveMouseReturns(result1 error)
func (*FakeDisplayController) MoveMouseReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) MoveMouseReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) PressMouse ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouse(arg1 context.Context, arg2 display.MouseButton) error
func (*FakeDisplayController) PressMouseArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouseArgs() []FakeDisplayControllerPressMouseArgs
func (*FakeDisplayController) PressMouseArgsForCall ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouseArgsForCall(i int) (context.Context, display.MouseButton)
func (*FakeDisplayController) PressMouseCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouseCallCount() int
func (*FakeDisplayController) PressMouseCalls ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouseCalls(stub func(context.Context, display.MouseButton) error)
func (*FakeDisplayController) PressMouseReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouseReturns(result1 error)
func (*FakeDisplayController) PressMouseReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) PressMouseReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) ReleaseMouse ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouse(arg1 context.Context, arg2 display.MouseButton) error
func (*FakeDisplayController) ReleaseMouseArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouseArgs() []FakeDisplayControllerReleaseMouseArgs
func (*FakeDisplayController) ReleaseMouseArgsForCall ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouseArgsForCall(i int) (context.Context, display.MouseButton)
func (*FakeDisplayController) ReleaseMouseCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouseCallCount() int
func (*FakeDisplayController) ReleaseMouseCalls ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouseCalls(stub func(context.Context, display.MouseButton) error)
func (*FakeDisplayController) ReleaseMouseReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouseReturns(result1 error)
func (*FakeDisplayController) ReleaseMouseReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) ReleaseMouseReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) ScrollMouse ¶ added in v0.253.0
func (*FakeDisplayController) ScrollMouseArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) ScrollMouseArgs() []FakeDisplayControllerScrollMouseArgs
func (*FakeDisplayController) ScrollMouseArgsForCall ¶ added in v0.253.0
func (*FakeDisplayController) ScrollMouseCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) ScrollMouseCallCount() int
func (*FakeDisplayController) ScrollMouseCalls ¶ added in v0.253.0
func (*FakeDisplayController) ScrollMouseReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) ScrollMouseReturns(result1 error)
func (*FakeDisplayController) ScrollMouseReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) ScrollMouseReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) SendKeyCombo ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyCombo(arg1 context.Context, arg2 string) error
func (*FakeDisplayController) SendKeyComboArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyComboArgs() []FakeDisplayControllerSendKeyComboArgs
func (*FakeDisplayController) SendKeyComboArgsForCall ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyComboArgsForCall(i int) (context.Context, string)
func (*FakeDisplayController) SendKeyComboCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyComboCallCount() int
func (*FakeDisplayController) SendKeyComboCalls ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyComboCalls(stub func(context.Context, string) error)
func (*FakeDisplayController) SendKeyComboReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyComboReturns(result1 error)
func (*FakeDisplayController) SendKeyComboReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) SendKeyComboReturnsOnCall(i int, result1 error)
func (*FakeDisplayController) TypeTextArgs ¶ added in v0.253.0
func (fake *FakeDisplayController) TypeTextArgs() []FakeDisplayControllerTypeTextArgs
func (*FakeDisplayController) TypeTextArgsForCall ¶ added in v0.253.0
func (*FakeDisplayController) TypeTextCallCount ¶ added in v0.253.0
func (fake *FakeDisplayController) TypeTextCallCount() int
func (*FakeDisplayController) TypeTextCalls ¶ added in v0.253.0
func (*FakeDisplayController) TypeTextReturns ¶ added in v0.253.0
func (fake *FakeDisplayController) TypeTextReturns(result1 error)
func (*FakeDisplayController) TypeTextReturnsOnCall ¶ added in v0.253.0
func (fake *FakeDisplayController) TypeTextReturnsOnCall(i int, result1 error)
type FakeDisplayControllerCaptureScreenArgs ¶ added in v0.253.0
FakeDisplayControllerCaptureScreenArgs holds the arguments of one call to CaptureScreen.
type FakeDisplayControllerCaptureScreenBytesArgs ¶ added in v0.253.0
type FakeDisplayControllerCaptureScreenBytesArgs struct {
Arg1 context.Context
Arg2 *display.Region
}
FakeDisplayControllerCaptureScreenBytesArgs holds the arguments of one call to CaptureScreenBytes.
type FakeDisplayControllerClickMouseArgs ¶ added in v0.253.0
type FakeDisplayControllerClickMouseArgs struct {
Arg1 context.Context
Arg2 display.MouseButton
Arg3 int
}
FakeDisplayControllerClickMouseArgs holds the arguments of one call to ClickMouse.
type FakeDisplayControllerGetCursorPositionArgs ¶ added in v0.253.0
FakeDisplayControllerGetCursorPositionArgs holds the arguments of one call to GetCursorPosition.
type FakeDisplayControllerGetScreenDimensionsArgs ¶ added in v0.253.0
FakeDisplayControllerGetScreenDimensionsArgs holds the arguments of one call to GetScreenDimensions.
type FakeDisplayControllerMoveMouseArgs ¶ added in v0.253.0
FakeDisplayControllerMoveMouseArgs holds the arguments of one call to MoveMouse.
type FakeDisplayControllerPressMouseArgs ¶ added in v0.253.0
type FakeDisplayControllerPressMouseArgs struct {
Arg1 context.Context
Arg2 display.MouseButton
}
FakeDisplayControllerPressMouseArgs holds the arguments of one call to PressMouse.
type FakeDisplayControllerReleaseMouseArgs ¶ added in v0.253.0
type FakeDisplayControllerReleaseMouseArgs struct {
Arg1 context.Context
Arg2 display.MouseButton
}
FakeDisplayControllerReleaseMouseArgs holds the arguments of one call to ReleaseMouse.
type FakeDisplayControllerScrollMouseArgs ¶ added in v0.253.0
FakeDisplayControllerScrollMouseArgs holds the arguments of one call to ScrollMouse.
type FakeDisplayControllerSendKeyComboArgs ¶ added in v0.253.0
FakeDisplayControllerSendKeyComboArgs holds the arguments of one call to SendKeyCombo.
type FakeDisplayControllerTypeTextArgs ¶ added in v0.253.0
FakeDisplayControllerTypeTextArgs holds the arguments of one call to TypeText.
type FakeScreenControl ¶
type FakeScreenControl struct {
DriveStub func(context.Context, domain.ScreenInput) error
FollowStub func(domain.ScreenFollower)
HandBackStub func() bool
HeldStub func() bool
TakeOverStub func() error
WaitReleaseStub func(context.Context) error
// contains filtered or unexported fields
}
func (*FakeScreenControl) CallOrder ¶ added in v0.246.1
func (fake *FakeScreenControl) CallOrder() []string
func (*FakeScreenControl) Drive ¶
func (fake *FakeScreenControl) Drive(arg1 context.Context, arg2 domain.ScreenInput) error
func (*FakeScreenControl) DriveArgs ¶ added in v0.246.1
func (fake *FakeScreenControl) DriveArgs() []FakeScreenControlDriveArgs
func (*FakeScreenControl) DriveArgsForCall ¶
func (fake *FakeScreenControl) DriveArgsForCall(i int) (context.Context, domain.ScreenInput)
func (*FakeScreenControl) DriveCallCount ¶
func (fake *FakeScreenControl) DriveCallCount() int
func (*FakeScreenControl) DriveCalls ¶
func (fake *FakeScreenControl) DriveCalls(stub func(context.Context, domain.ScreenInput) error)
func (*FakeScreenControl) DriveReturns ¶
func (fake *FakeScreenControl) DriveReturns(result1 error)
func (*FakeScreenControl) DriveReturnsOnCall ¶
func (fake *FakeScreenControl) DriveReturnsOnCall(i int, result1 error)
func (*FakeScreenControl) Follow ¶ added in v0.253.0
func (fake *FakeScreenControl) Follow(arg1 domain.ScreenFollower)
func (*FakeScreenControl) FollowArgs ¶ added in v0.253.0
func (fake *FakeScreenControl) FollowArgs() []FakeScreenControlFollowArgs
func (*FakeScreenControl) FollowArgsForCall ¶ added in v0.253.0
func (fake *FakeScreenControl) FollowArgsForCall(i int) domain.ScreenFollower
func (*FakeScreenControl) FollowCallCount ¶ added in v0.253.0
func (fake *FakeScreenControl) FollowCallCount() int
func (*FakeScreenControl) FollowCalls ¶ added in v0.253.0
func (fake *FakeScreenControl) FollowCalls(stub func(domain.ScreenFollower))
func (*FakeScreenControl) HandBack ¶
func (fake *FakeScreenControl) HandBack() bool
func (*FakeScreenControl) HandBackCallCount ¶
func (fake *FakeScreenControl) HandBackCallCount() int
func (*FakeScreenControl) HandBackCalls ¶
func (fake *FakeScreenControl) HandBackCalls(stub func() bool)
func (*FakeScreenControl) HandBackReturns ¶
func (fake *FakeScreenControl) HandBackReturns(result1 bool)
func (*FakeScreenControl) HandBackReturnsOnCall ¶
func (fake *FakeScreenControl) HandBackReturnsOnCall(i int, result1 bool)
func (*FakeScreenControl) Held ¶
func (fake *FakeScreenControl) Held() bool
func (*FakeScreenControl) HeldCallCount ¶
func (fake *FakeScreenControl) HeldCallCount() int
func (*FakeScreenControl) HeldCalls ¶
func (fake *FakeScreenControl) HeldCalls(stub func() bool)
func (*FakeScreenControl) HeldReturns ¶
func (fake *FakeScreenControl) HeldReturns(result1 bool)
func (*FakeScreenControl) HeldReturnsOnCall ¶
func (fake *FakeScreenControl) HeldReturnsOnCall(i int, result1 bool)
func (*FakeScreenControl) Invocations ¶
func (fake *FakeScreenControl) Invocations() map[string][][]interface{}
func (*FakeScreenControl) TakeOver ¶
func (fake *FakeScreenControl) TakeOver() error
func (*FakeScreenControl) TakeOverCallCount ¶
func (fake *FakeScreenControl) TakeOverCallCount() int
func (*FakeScreenControl) TakeOverCalls ¶
func (fake *FakeScreenControl) TakeOverCalls(stub func() error)
func (*FakeScreenControl) TakeOverReturns ¶
func (fake *FakeScreenControl) TakeOverReturns(result1 error)
func (*FakeScreenControl) TakeOverReturnsOnCall ¶
func (fake *FakeScreenControl) TakeOverReturnsOnCall(i int, result1 error)
func (*FakeScreenControl) WaitRelease ¶
func (fake *FakeScreenControl) WaitRelease(arg1 context.Context) error
func (*FakeScreenControl) WaitReleaseArgs ¶ added in v0.246.1
func (fake *FakeScreenControl) WaitReleaseArgs() []FakeScreenControlWaitReleaseArgs
func (*FakeScreenControl) WaitReleaseArgsForCall ¶
func (fake *FakeScreenControl) WaitReleaseArgsForCall(i int) context.Context
func (*FakeScreenControl) WaitReleaseCallCount ¶
func (fake *FakeScreenControl) WaitReleaseCallCount() int
func (*FakeScreenControl) WaitReleaseCalls ¶
func (fake *FakeScreenControl) WaitReleaseCalls(stub func(context.Context) error)
func (*FakeScreenControl) WaitReleaseReturns ¶
func (fake *FakeScreenControl) WaitReleaseReturns(result1 error)
func (*FakeScreenControl) WaitReleaseReturnsOnCall ¶
func (fake *FakeScreenControl) WaitReleaseReturnsOnCall(i int, result1 error)
type FakeScreenControlDriveArgs ¶ added in v0.246.1
type FakeScreenControlDriveArgs struct {
Arg1 context.Context
Arg2 domain.ScreenInput
}
FakeScreenControlDriveArgs holds the arguments of one call to Drive.
type FakeScreenControlFollowArgs ¶ added in v0.253.0
type FakeScreenControlFollowArgs struct {
Arg1 domain.ScreenFollower
}
FakeScreenControlFollowArgs holds the arguments of one call to Follow.
type FakeScreenControlWaitReleaseArgs ¶ added in v0.246.1
FakeScreenControlWaitReleaseArgs holds the arguments of one call to WaitRelease.
type FakeScreenFollower ¶ added in v0.253.0
type FakeScreenFollower struct {
HoldChangedStub func(bool)
InputLandedStub func()
// contains filtered or unexported fields
}
func (*FakeScreenFollower) CallOrder ¶ added in v0.253.0
func (fake *FakeScreenFollower) CallOrder() []string
func (*FakeScreenFollower) HoldChanged ¶ added in v0.253.0
func (fake *FakeScreenFollower) HoldChanged(arg1 bool)
func (*FakeScreenFollower) HoldChangedArgs ¶ added in v0.253.0
func (fake *FakeScreenFollower) HoldChangedArgs() []FakeScreenFollowerHoldChangedArgs
func (*FakeScreenFollower) HoldChangedArgsForCall ¶ added in v0.253.0
func (fake *FakeScreenFollower) HoldChangedArgsForCall(i int) bool
func (*FakeScreenFollower) HoldChangedCallCount ¶ added in v0.253.0
func (fake *FakeScreenFollower) HoldChangedCallCount() int
func (*FakeScreenFollower) HoldChangedCalls ¶ added in v0.253.0
func (fake *FakeScreenFollower) HoldChangedCalls(stub func(bool))
func (*FakeScreenFollower) InputLanded ¶ added in v0.253.0
func (fake *FakeScreenFollower) InputLanded()
func (*FakeScreenFollower) InputLandedCallCount ¶ added in v0.253.0
func (fake *FakeScreenFollower) InputLandedCallCount() int
func (*FakeScreenFollower) InputLandedCalls ¶ added in v0.253.0
func (fake *FakeScreenFollower) InputLandedCalls(stub func())
func (*FakeScreenFollower) Invocations ¶ added in v0.253.0
func (fake *FakeScreenFollower) Invocations() map[string][][]interface{}
type FakeScreenFollowerHoldChangedArgs ¶ added in v0.253.0
type FakeScreenFollowerHoldChangedArgs struct {
Arg1 bool
}
FakeScreenFollowerHoldChangedArgs holds the arguments of one call to HoldChanged.