Versions in this module Expand all Collapse all v0 v0.1.2 Oct 6, 2022 v0.1.1 Oct 6, 2022 v0.1.0 Oct 5, 2022 Changes in this version + var ActionType_name = map[int32]string + var ActionType_value = map[string]int32 + var AppType_name = map[int32]string + var AppType_value = map[string]int32 + var ContentType_name = map[int32]string + var ContentType_value = map[string]int32 + var DeviceInteractionType_name = map[int32]string + var DeviceInteractionType_value = map[string]int32 + var File_action_proto protoreflect.FileDescriptor + var LogLevel_name = map[int32]string + var LogLevel_value = map[string]int32 + var LogType_name = map[int32]string + var LogType_value = map[string]int32 + type ActionHandler interface + OnActionResponse func(interface{}, *Response) + type ActionType int32 + const ActionType_Custom + const ActionType_DragAndDrop + const ActionType_ElementGetValue + const ActionType_ElementIsDisplayed + const ActionType_ElementSetValue + const ActionType_ElementTouch + const ActionType_ExecuteTest + const ActionType_ExecutionResult + const ActionType_GetSceneGraph + const ActionType_GetScreenshot + const ActionType_GetTests + const ActionType_Log + const ActionType_LongTouch + const ActionType_Move + const ActionType_NativeScript + const ActionType_Performance + const ActionType_TouchDown + const ActionType_TouchMove + const ActionType_TouchUp + const ActionType_UnityReset + func (ActionType) Descriptor() protoreflect.EnumDescriptor + func (ActionType) EnumDescriptor() ([]byte, []int) + func (ActionType) Type() protoreflect.EnumType + func (x ActionType) Enum() *ActionType + func (x ActionType) Number() protoreflect.EnumNumber + func (x ActionType) String() string + type AppType int32 + const AppType_Cocos + const AppType_Unity + func (AppType) Descriptor() protoreflect.EnumDescriptor + func (AppType) EnumDescriptor() ([]byte, []int) + func (AppType) Type() protoreflect.EnumType + func (x AppType) Enum() *AppType + func (x AppType) Number() protoreflect.EnumNumber + func (x AppType) String() string + type Connect struct + AppID string + AppType AppType + CustomerId string + DeviceID string + SessionID string + Version string + func (*Connect) Descriptor() ([]byte, []int) + func (*Connect) ProtoMessage() + func (x *Connect) GetAppID() string + func (x *Connect) GetAppType() AppType + func (x *Connect) GetCustomerId() string + func (x *Connect) GetDeviceID() string + func (x *Connect) GetSessionID() string + func (x *Connect) GetVersion() string + func (x *Connect) ProtoReflect() protoreflect.Message + func (x *Connect) Reset() + func (x *Connect) String() string + type ContentType int32 + const ContentType_Flatbuffer + const ContentType_Json + const ContentType_Xml + func (ContentType) Descriptor() protoreflect.EnumDescriptor + func (ContentType) EnumDescriptor() ([]byte, []int) + func (ContentType) Type() protoreflect.EnumType + func (x ContentType) Enum() *ContentType + func (x ContentType) Number() protoreflect.EnumNumber + func (x ContentType) String() string + type Custom struct + Content []byte + RequestData string + Success bool + func (a *Custom) GetActionType() ActionType + func (a *Custom) ProcessResponse(response *Response) error + func (a *Custom) Serialize() ([]byte, error) + type Device struct + DeviceId string + Manager string + Name string + OperationSystem string + Status string + SupportedArchitectures string + func (*Device) Descriptor() ([]byte, []int) + func (*Device) ProtoMessage() + func (x *Device) GetDeviceId() string + func (x *Device) GetManager() string + func (x *Device) GetName() string + func (x *Device) GetOperationSystem() string + func (x *Device) GetStatus() string + func (x *Device) GetSupportedArchitectures() string + func (x *Device) ProtoReflect() protoreflect.Message + func (x *Device) Reset() + func (x *Device) String() string + type DeviceInteractionType int32 + const DeviceInteractionType_ExecuteFeature + const DeviceInteractionType_GetDeviceState + const DeviceInteractionType_GetScreenShot + const DeviceInteractionType_HasFeature + const DeviceInteractionType_InstallApp + const DeviceInteractionType_IsAppConnected + const DeviceInteractionType_IsAppInstalled + const DeviceInteractionType_LockDevice + const DeviceInteractionType_StartApp + const DeviceInteractionType_StartRecording + const DeviceInteractionType_StopApp + const DeviceInteractionType_StopRecording + const DeviceInteractionType_UninstallApp + const DeviceInteractionType_UnlockDevice + func (DeviceInteractionType) Descriptor() protoreflect.EnumDescriptor + func (DeviceInteractionType) EnumDescriptor() ([]byte, []int) + func (DeviceInteractionType) Type() protoreflect.EnumType + func (x DeviceInteractionType) Enum() *DeviceInteractionType + func (x DeviceInteractionType) Number() protoreflect.EnumNumber + func (x DeviceInteractionType) String() string + type DeviceRequest struct + func (*DeviceRequest) Descriptor() ([]byte, []int) + func (*DeviceRequest) ProtoMessage() + func (x *DeviceRequest) ProtoReflect() protoreflect.Message + func (x *DeviceRequest) Reset() + func (x *DeviceRequest) String() string + type DeviceResponse struct + Devices []*Device + func (*DeviceResponse) Descriptor() ([]byte, []int) + func (*DeviceResponse) ProtoMessage() + func (x *DeviceResponse) GetDevices() []*Device + func (x *DeviceResponse) ProtoReflect() protoreflect.Message + func (x *DeviceResponse) Reset() + func (x *DeviceResponse) String() string + type DragAndDrop struct + From string + To string + func (a *DragAndDrop) GetActionType() ActionType + func (a *DragAndDrop) ProcessResponse(response *Response) error + func (a *DragAndDrop) Serialize() ([]byte, error) + type GetAttr struct + Attr string + Id string + func (*GetAttr) Descriptor() ([]byte, []int) + func (*GetAttr) ProtoMessage() + func (x *GetAttr) GetAttr() string + func (x *GetAttr) GetId() string + func (x *GetAttr) ProtoReflect() protoreflect.Message + func (x *GetAttr) Reset() + func (x *GetAttr) String() string + type GetSceenGraph struct + func (a *GetSceenGraph) Content() string + func (a *GetSceenGraph) GetActionType() ActionType + func (a *GetSceenGraph) ProcessResponse(response *Response) error + func (a *GetSceenGraph) Serialize() ([]byte, error) + func (a *GetSceenGraph) XML() (*xmlquery.Node, error) + type GetScreenshot struct + Success bool + func (a *GetScreenshot) GetActionType() ActionType + func (a *GetScreenshot) Height() int + func (a *GetScreenshot) ProcessResponse(response *Response) error + func (a *GetScreenshot) SceengraphXML() []byte + func (a *GetScreenshot) ScreenshotData() []byte + func (a *GetScreenshot) Serialize() ([]byte, error) + func (a *GetScreenshot) Width() int + type GetValue struct + Attr string + ElementID string + Success bool + Value string + func (a *GetValue) GetActionType() ActionType + func (a *GetValue) ProcessResponse(response *Response) error + func (a *GetValue) Serialize() ([]byte, error) + type InteractionRequest struct + DeviceID string + Type DeviceInteractionType + func (*InteractionRequest) Descriptor() ([]byte, []int) + func (*InteractionRequest) ProtoMessage() + func (x *InteractionRequest) GetDeviceID() string + func (x *InteractionRequest) GetType() DeviceInteractionType + func (x *InteractionRequest) ProtoReflect() protoreflect.Message + func (x *InteractionRequest) Reset() + func (x *InteractionRequest) String() string + type InteractionResponse struct + func (*InteractionResponse) Descriptor() ([]byte, []int) + func (*InteractionResponse) ProtoMessage() + func (x *InteractionResponse) ProtoReflect() protoreflect.Message + func (x *InteractionResponse) Reset() + func (x *InteractionResponse) String() string + type Interface interface + GetActionType func() ActionType + ProcessResponse func(response *Response) error + Serialize func() ([]byte, error) + type IsDisplayed struct + ElementID string + IsDisplayed bool + Success bool + func (a *IsDisplayed) GetActionType() ActionType + func (a *IsDisplayed) ProcessResponse(response *Response) error + func (a *IsDisplayed) Serialize() ([]byte, error) + type LogData struct + Level LogLevel + Message string + Type LogType + func (*LogData) Descriptor() ([]byte, []int) + func (*LogData) ProtoMessage() + func (x *LogData) GetLevel() LogLevel + func (x *LogData) GetMessage() string + func (x *LogData) GetType() LogType + func (x *LogData) ProtoReflect() protoreflect.Message + func (x *LogData) Reset() + func (x *LogData) String() string + type LogLevel int32 + const LogLevel_Debug + const LogLevel_Error + const LogLevel_Exception + const LogLevel_Info + const LogLevel_Warning + func (LogLevel) Descriptor() protoreflect.EnumDescriptor + func (LogLevel) EnumDescriptor() ([]byte, []int) + func (LogLevel) Type() protoreflect.EnumType + func (x LogLevel) Enum() *LogLevel + func (x LogLevel) Number() protoreflect.EnumNumber + func (x LogLevel) String() string + type LogType int32 + const LogType_CheckpointLog + const LogType_DeviceLog + const LogType_PerformanceLog + const LogType_StatusLog + const LogType_StepLog + func (LogType) Descriptor() protoreflect.EnumDescriptor + func (LogType) EnumDescriptor() ([]byte, []int) + func (LogType) Type() protoreflect.EnumType + func (x LogType) Enum() *LogType + func (x LogType) Number() protoreflect.EnumNumber + func (x LogType) String() string + type LongTouchElement struct + ElementID string + Success bool + func (a *LongTouchElement) GetActionType() ActionType + func (a *LongTouchElement) ProcessResponse(response *Response) error + func (a *LongTouchElement) Serialize() ([]byte, error) + type MoveElement struct + From string + To string + func (*MoveElement) Descriptor() ([]byte, []int) + func (*MoveElement) ProtoMessage() + func (x *MoveElement) GetFrom() string + func (x *MoveElement) GetTo() string + func (x *MoveElement) ProtoReflect() protoreflect.Message + func (x *MoveElement) Reset() + func (x *MoveElement) String() string + type MoveOffset struct + From int64 + To int64 + func (*MoveOffset) Descriptor() ([]byte, []int) + func (*MoveOffset) ProtoMessage() + func (x *MoveOffset) GetFrom() int64 + func (x *MoveOffset) GetTo() int64 + func (x *MoveOffset) ProtoReflect() protoreflect.Message + func (x *MoveOffset) Reset() + func (x *MoveOffset) String() string + type Node struct + CSS string + Children []Node + Class string + Id int32 + IsVisible byte + LabelText string + Name string + RectangleX int32 + RectangleY int32 + X int32 + XMLName xml.Name + Y int32 + type PerformanceData struct + Checkpoint string + Cpu float32 + Fps float32 + Memory float32 + func (*PerformanceData) Descriptor() ([]byte, []int) + func (*PerformanceData) ProtoMessage() + func (x *PerformanceData) GetCheckpoint() string + func (x *PerformanceData) GetCpu() float32 + func (x *PerformanceData) GetFps() float32 + func (x *PerformanceData) GetMemory() float32 + func (x *PerformanceData) ProtoReflect() protoreflect.Message + func (x *PerformanceData) Reset() + func (x *PerformanceData) String() string + type Request struct + ActionID string + ActionType ActionType + Payload isRequest_Payload + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetPayload() isRequest_Payload + func (x *Request) GetActionID() string + func (x *Request) GetActionType() ActionType + func (x *Request) GetData() string + func (x *Request) GetGetAttr() *GetAttr + func (x *Request) GetId() string + func (x *Request) GetMoveElement() *MoveElement + func (x *Request) GetMoveOffset() *MoveOffset + func (x *Request) GetSetAttr() *SetAttr + func (x *Request) GetTest() *Test + func (x *Request) GetTouch() *Touch + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type Request_Data struct + Data string + type Request_GetAttr struct + GetAttr *GetAttr + type Request_Id struct + Id string + type Request_MoveElement struct + MoveElement *MoveElement + type Request_MoveOffset struct + MoveOffset *MoveOffset + type Request_SetAttr struct + SetAttr *SetAttr + type Request_Test struct + Test *Test + type Request_Touch struct + Touch *Touch + type Response struct + ActionID string + ActionType ActionType + Payload isResponse_Payload + Success bool + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetPayload() isResponse_Payload + func (x *Response) GetActionID() string + func (x *Response) GetActionType() ActionType + func (x *Response) GetConnect() *Connect + func (x *Response) GetData() []byte + func (x *Response) GetLog() *LogData + func (x *Response) GetPerformance() *PerformanceData + func (x *Response) GetScreenshot() *Screenshot + func (x *Response) GetSuccess() bool + func (x *Response) GetTestDetails() *TestDetails + func (x *Response) GetTests() *Tests + func (x *Response) GetValue() string + func (x *Response) GetVisible() bool + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type Response_Connect struct + Connect *Connect + type Response_Data struct + Data []byte + type Response_Log struct + Log *LogData + type Response_Performance struct + Performance *PerformanceData + type Response_Screenshot struct + Screenshot *Screenshot + type Response_TestDetails struct + TestDetails *TestDetails + type Response_Tests struct + Tests *Tests + type Response_Value struct + Value string + type Response_Visible struct + Visible bool + type Screenshot struct + ContentType ContentType + Sceengraph []byte + Screenshot []byte + func (*Screenshot) Descriptor() ([]byte, []int) + func (*Screenshot) ProtoMessage() + func (x *Screenshot) GetContentType() ContentType + func (x *Screenshot) GetSceengraph() []byte + func (x *Screenshot) GetScreenshot() []byte + func (x *Screenshot) ProtoReflect() protoreflect.Message + func (x *Screenshot) Reset() + func (x *Screenshot) String() string + type Scroll struct + OffsetX int64 + OffsetY int64 + func (a *Scroll) GetActionType() ActionType + func (a *Scroll) ProcessResponse(response *Response) error + func (a *Scroll) Serialize() ([]byte, error) + type SetAttr struct + Attr string + Id string + Val string + func (*SetAttr) Descriptor() ([]byte, []int) + func (*SetAttr) ProtoMessage() + func (x *SetAttr) GetAttr() string + func (x *SetAttr) GetId() string + func (x *SetAttr) GetVal() string + func (x *SetAttr) ProtoReflect() protoreflect.Message + func (x *SetAttr) Reset() + func (x *SetAttr) String() string + type SetValue struct + Attr string + ElementID string + Success bool + Value string + func (a *SetValue) GetActionType() ActionType + func (a *SetValue) ProcessResponse(response *Response) error + func (a *SetValue) Serialize() ([]byte, error) + type Test struct + Assembly string + Categories []string + Class string + Method string + Parameter map[string]string + func (*Test) Descriptor() ([]byte, []int) + func (*Test) ProtoMessage() + func (x *Test) GetAssembly() string + func (x *Test) GetCategories() []string + func (x *Test) GetClass() string + func (x *Test) GetMethod() string + func (x *Test) GetParameter() map[string]string + func (x *Test) ProtoReflect() protoreflect.Message + func (x *Test) Reset() + func (x *Test) String() string + type TestDetails struct + Categories []string + Timeout int32 + func (*TestDetails) Descriptor() ([]byte, []int) + func (*TestDetails) ProtoMessage() + func (x *TestDetails) GetCategories() []string + func (x *TestDetails) GetTimeout() int32 + func (x *TestDetails) ProtoReflect() protoreflect.Message + func (x *TestDetails) Reset() + func (x *TestDetails) String() string + type TestStart struct + Assembly string + Class string + Env map[string]string + Method string + Success bool + func (a *TestStart) GetActionType() ActionType + func (a *TestStart) ProcessResponse(response *Response) error + func (a *TestStart) Serialize() ([]byte, error) + type Tests struct + Tests []*Test + func (*Tests) Descriptor() ([]byte, []int) + func (*Tests) ProtoMessage() + func (x *Tests) GetTests() []*Test + func (x *Tests) ProtoReflect() protoreflect.Message + func (x *Tests) Reset() + func (x *Tests) String() string + type TestsGet struct + Success bool + Tests []*Test + func (a *TestsGet) GetActionType() ActionType + func (a *TestsGet) ProcessResponse(response *Response) error + func (a *TestsGet) Serialize() ([]byte, error) + type Touch struct + Id string + Xoffset int64 + Yoffset int64 + func (*Touch) Descriptor() ([]byte, []int) + func (*Touch) ProtoMessage() + func (x *Touch) GetId() string + func (x *Touch) GetXoffset() int64 + func (x *Touch) GetYoffset() int64 + func (x *Touch) ProtoReflect() protoreflect.Message + func (x *Touch) Reset() + func (x *Touch) String() string + type TouchDownPosition struct + PosX int64 + PosY int64 + Success bool + func (a *TouchDownPosition) GetActionType() ActionType + func (a *TouchDownPosition) ProcessResponse(response *Response) error + func (a *TouchDownPosition) Serialize() ([]byte, error) + type TouchElement struct + ElementID string + Success bool + func (a *TouchElement) GetActionType() ActionType + func (a *TouchElement) ProcessResponse(response *Response) error + func (a *TouchElement) Serialize() ([]byte, error) + type TouchMovePosition struct + PosX int64 + PosY int64 + Success bool + func (a *TouchMovePosition) GetActionType() ActionType + func (a *TouchMovePosition) ProcessResponse(response *Response) error + func (a *TouchMovePosition) Serialize() ([]byte, error) + type TouchUpPosition struct + PosX int64 + PosY int64 + Success bool + func (a *TouchUpPosition) GetActionType() ActionType + func (a *TouchUpPosition) ProcessResponse(response *Response) error + func (a *TouchUpPosition) Serialize() ([]byte, error) + type UnityReset struct + Assembly string + Class string + Method string + Success bool + func (a *UnityReset) GetActionType() ActionType + func (a *UnityReset) ProcessResponse(response *Response) error + func (a *UnityReset) Serialize() ([]byte, error)