Documentation ¶
Index ¶
- Variables
- type ActionHandler
- type ActionType
- type AppType
- type Connect
- func (*Connect) Descriptor() ([]byte, []int)deprecated
- 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 (*Connect) ProtoMessage()
- func (x *Connect) ProtoReflect() protoreflect.Message
- func (x *Connect) Reset()
- func (x *Connect) String() string
- type ContentType
- func (ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x ContentType) Enum() *ContentType
- func (ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentType) Number() protoreflect.EnumNumber
- func (x ContentType) String() string
- func (ContentType) Type() protoreflect.EnumType
- type Custom
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- 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 (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type DeviceInteractionType
- func (DeviceInteractionType) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceInteractionType) Enum() *DeviceInteractionType
- func (DeviceInteractionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceInteractionType) Number() protoreflect.EnumNumber
- func (x DeviceInteractionType) String() string
- func (DeviceInteractionType) Type() protoreflect.EnumType
- type DeviceRequest
- type DeviceResponse
- type DragAndDrop
- type GetAttr
- type GetSceenGraph
- type GetScreenshot
- 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
- type InteractionRequest
- func (*InteractionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InteractionRequest) GetDeviceID() string
- func (x *InteractionRequest) GetType() DeviceInteractionType
- func (*InteractionRequest) ProtoMessage()
- func (x *InteractionRequest) ProtoReflect() protoreflect.Message
- func (x *InteractionRequest) Reset()
- func (x *InteractionRequest) String() string
- type InteractionResponse
- type Interface
- type IsDisplayed
- type LogData
- func (*LogData) Descriptor() ([]byte, []int)deprecated
- func (x *LogData) GetLevel() LogLevel
- func (x *LogData) GetMessage() string
- func (x *LogData) GetType() LogType
- func (*LogData) ProtoMessage()
- func (x *LogData) ProtoReflect() protoreflect.Message
- func (x *LogData) Reset()
- func (x *LogData) String() string
- type LogLevel
- type LogType
- type LongTouchElement
- type MoveElement
- type MoveOffset
- type Node
- type PerformanceData
- func (*PerformanceData) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceData) GetCheckpoint() string
- func (x *PerformanceData) GetCpu() float32
- func (x *PerformanceData) GetFps() float32
- func (x *PerformanceData) GetMemory() float32
- func (*PerformanceData) ProtoMessage()
- func (x *PerformanceData) ProtoReflect() protoreflect.Message
- func (x *PerformanceData) Reset()
- func (x *PerformanceData) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- 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 (m *Request) GetPayload() isRequest_Payload
- func (x *Request) GetSetAttr() *SetAttr
- func (x *Request) GetTest() *Test
- func (x *Request) GetTouch() *Touch
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Data
- type Request_GetAttr
- type Request_Id
- type Request_MoveElement
- type Request_MoveOffset
- type Request_SetAttr
- type Request_Test
- type Request_Touch
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- 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 (m *Response) GetPayload() isResponse_Payload
- 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 (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_Connect
- type Response_Data
- type Response_Log
- type Response_Performance
- type Response_Screenshot
- type Response_TestDetails
- type Response_Tests
- type Response_Value
- type Response_Visible
- type Screenshot
- func (*Screenshot) Descriptor() ([]byte, []int)deprecated
- func (x *Screenshot) GetContentType() ContentType
- func (x *Screenshot) GetSceengraph() []byte
- func (x *Screenshot) GetScreenshot() []byte
- func (*Screenshot) ProtoMessage()
- func (x *Screenshot) ProtoReflect() protoreflect.Message
- func (x *Screenshot) Reset()
- func (x *Screenshot) String() string
- type Scroll
- type SetAttr
- func (*SetAttr) Descriptor() ([]byte, []int)deprecated
- func (x *SetAttr) GetAttr() string
- func (x *SetAttr) GetId() string
- func (x *SetAttr) GetVal() string
- func (*SetAttr) ProtoMessage()
- func (x *SetAttr) ProtoReflect() protoreflect.Message
- func (x *SetAttr) Reset()
- func (x *SetAttr) String() string
- type SetValue
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- 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 (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
- type TestDetails
- func (*TestDetails) Descriptor() ([]byte, []int)deprecated
- func (x *TestDetails) GetCategories() []string
- func (x *TestDetails) GetTimeout() int32
- func (*TestDetails) ProtoMessage()
- func (x *TestDetails) ProtoReflect() protoreflect.Message
- func (x *TestDetails) Reset()
- func (x *TestDetails) String() string
- type TestStart
- type Tests
- type TestsGet
- type Touch
- type TouchDownPosition
- type TouchElement
- type TouchMovePosition
- type TouchUpPosition
- type UnityReset
Constants ¶
This section is empty.
Variables ¶
var ( DeviceInteractionType_name = map[int32]string{ 0: "LockDevice", 1: "UnlockDevice", 2: "GetDeviceState", 3: "IsAppInstalled", 4: "InstallApp", 5: "UninstallApp", 6: "StartApp", 7: "StopApp", 8: "IsAppConnected", 9: "StartRecording", 10: "StopRecording", 11: "HasFeature", 12: "ExecuteFeature", 13: "GetScreenShot", } DeviceInteractionType_value = map[string]int32{ "LockDevice": 0, "UnlockDevice": 1, "GetDeviceState": 2, "IsAppInstalled": 3, "InstallApp": 4, "UninstallApp": 5, "StartApp": 6, "StopApp": 7, "IsAppConnected": 8, "StartRecording": 9, "StopRecording": 10, "HasFeature": 11, "ExecuteFeature": 12, "GetScreenShot": 13, } )
Enum value maps for DeviceInteractionType.
var ( ActionType_name = map[int32]string{ 0: "Custom", 1: "GetSceneGraph", 2: "ElementIsDisplayed", 3: "ElementSetValue", 4: "ElementGetValue", 5: "Move", 6: "TouchDown", 7: "TouchMove", 8: "TouchUp", 9: "DragAndDrop", 10: "LongTouch", 11: "ElementTouch", 12: "GetScreenshot", 13: "GetTests", 14: "ExecuteTest", 15: "ExecutionResult", 16: "Log", 17: "UnityReset", 18: "Performance", 19: "NativeScript", } ActionType_value = map[string]int32{ "Custom": 0, "GetSceneGraph": 1, "ElementIsDisplayed": 2, "ElementSetValue": 3, "ElementGetValue": 4, "Move": 5, "TouchDown": 6, "TouchMove": 7, "TouchUp": 8, "DragAndDrop": 9, "LongTouch": 10, "ElementTouch": 11, "GetScreenshot": 12, "GetTests": 13, "ExecuteTest": 14, "ExecutionResult": 15, "Log": 16, "UnityReset": 17, "Performance": 18, "NativeScript": 19, } )
Enum value maps for ActionType.
var ( LogType_name = map[int32]string{ 0: "DeviceLog", 1: "StepLog", 2: "StatusLog", 3: "CheckpointLog", 4: "PerformanceLog", } LogType_value = map[string]int32{ "DeviceLog": 0, "StepLog": 1, "StatusLog": 2, "CheckpointLog": 3, "PerformanceLog": 4, } )
Enum value maps for LogType.
var ( LogLevel_name = map[int32]string{ 0: "Debug", 1: "Info", 2: "Warning", 3: "Error", 4: "Exception", } LogLevel_value = map[string]int32{ "Debug": 0, "Info": 1, "Warning": 2, "Error": 3, "Exception": 4, } )
Enum value maps for LogLevel.
var ( ContentType_name = map[int32]string{ 0: "Flatbuffer", 1: "Json", 2: "Xml", } ContentType_value = map[string]int32{ "Flatbuffer": 0, "Json": 1, "Xml": 2, } )
Enum value maps for ContentType.
var ( AppType_name = map[int32]string{ 0: "Cocos", 1: "Unity", } AppType_value = map[string]int32{ "Cocos": 0, "Unity": 1, } )
Enum value maps for AppType.
var File_action_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActionHandler ¶
type ActionHandler interface {
OnActionResponse(interface{}, *Response)
}
type ActionType ¶
type ActionType int32
const ( ActionType_Custom ActionType = 0 ActionType_GetSceneGraph ActionType = 1 ActionType_ElementIsDisplayed ActionType = 2 ActionType_ElementSetValue ActionType = 3 ActionType_ElementGetValue ActionType = 4 ActionType_Move ActionType = 5 ActionType_TouchDown ActionType = 6 ActionType_TouchMove ActionType = 7 ActionType_TouchUp ActionType = 8 ActionType_DragAndDrop ActionType = 9 ActionType_LongTouch ActionType = 10 ActionType_ElementTouch ActionType = 11 ActionType_GetScreenshot ActionType = 12 ActionType_GetTests ActionType = 13 ActionType_ExecuteTest ActionType = 14 ActionType_ExecutionResult ActionType = 15 ActionType_Log ActionType = 16 ActionType_UnityReset ActionType = 17 ActionType_Performance ActionType = 18 ActionType_NativeScript ActionType = 19 )
func (ActionType) Descriptor ¶
func (ActionType) Descriptor() protoreflect.EnumDescriptor
func (ActionType) Enum ¶
func (x ActionType) Enum() *ActionType
func (ActionType) EnumDescriptor
deprecated
func (ActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionType.Descriptor instead.
func (ActionType) Number ¶
func (x ActionType) Number() protoreflect.EnumNumber
func (ActionType) String ¶
func (x ActionType) String() string
func (ActionType) Type ¶
func (ActionType) Type() protoreflect.EnumType
type AppType ¶
type AppType int32
func (AppType) Descriptor ¶
func (AppType) Descriptor() protoreflect.EnumDescriptor
func (AppType) EnumDescriptor
deprecated
func (AppType) Number ¶
func (x AppType) Number() protoreflect.EnumNumber
func (AppType) Type ¶
func (AppType) Type() protoreflect.EnumType
type Connect ¶
type Connect struct { CustomerId string `protobuf:"bytes,1,opt,name=customerId,proto3" json:"customerId,omitempty"` AppID string `protobuf:"bytes,2,opt,name=appID,proto3" json:"appID,omitempty"` AppType AppType `protobuf:"varint,3,opt,name=appType,proto3,enum=action.AppType" json:"appType,omitempty"` DeviceID string `protobuf:"bytes,4,opt,name=deviceID,proto3" json:"deviceID,omitempty"` SessionID string `protobuf:"bytes,5,opt,name=sessionID,proto3" json:"sessionID,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Connect) Descriptor
deprecated
func (*Connect) GetAppType ¶
func (*Connect) GetCustomerId ¶
func (*Connect) GetDeviceID ¶
func (*Connect) GetSessionID ¶
func (*Connect) GetVersion ¶
func (*Connect) ProtoMessage ¶
func (*Connect) ProtoMessage()
func (*Connect) ProtoReflect ¶
func (x *Connect) ProtoReflect() protoreflect.Message
type ContentType ¶
type ContentType int32
const ( ContentType_Flatbuffer ContentType = 0 ContentType_Json ContentType = 1 ContentType_Xml ContentType = 2 )
func (ContentType) Descriptor ¶
func (ContentType) Descriptor() protoreflect.EnumDescriptor
func (ContentType) Enum ¶
func (x ContentType) Enum() *ContentType
func (ContentType) EnumDescriptor
deprecated
func (ContentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentType.Descriptor instead.
func (ContentType) Number ¶
func (x ContentType) Number() protoreflect.EnumNumber
func (ContentType) String ¶
func (x ContentType) String() string
func (ContentType) Type ¶
func (ContentType) Type() protoreflect.EnumType
type Custom ¶
func (*Custom) GetActionType ¶
func (a *Custom) GetActionType() ActionType
func (*Custom) ProcessResponse ¶
type Device ¶
type Device struct { Manager string `protobuf:"bytes,1,opt,name=manager,proto3" json:"manager,omitempty"` DeviceId string `protobuf:"bytes,2,opt,name=deviceId,proto3" json:"deviceId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` OperationSystem string `protobuf:"bytes,4,opt,name=OperationSystem,proto3" json:"OperationSystem,omitempty"` SupportedArchitectures string `protobuf:"bytes,5,opt,name=SupportedArchitectures,proto3" json:"SupportedArchitectures,omitempty"` Status string `protobuf:"bytes,6,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetDeviceId ¶
func (*Device) GetManager ¶
func (*Device) GetOperationSystem ¶
func (*Device) GetSupportedArchitectures ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type DeviceInteractionType ¶
type DeviceInteractionType int32
const ( DeviceInteractionType_LockDevice DeviceInteractionType = 0 DeviceInteractionType_UnlockDevice DeviceInteractionType = 1 DeviceInteractionType_GetDeviceState DeviceInteractionType = 2 DeviceInteractionType_IsAppInstalled DeviceInteractionType = 3 DeviceInteractionType_InstallApp DeviceInteractionType = 4 DeviceInteractionType_UninstallApp DeviceInteractionType = 5 DeviceInteractionType_StartApp DeviceInteractionType = 6 DeviceInteractionType_StopApp DeviceInteractionType = 7 DeviceInteractionType_IsAppConnected DeviceInteractionType = 8 DeviceInteractionType_StartRecording DeviceInteractionType = 9 DeviceInteractionType_StopRecording DeviceInteractionType = 10 DeviceInteractionType_HasFeature DeviceInteractionType = 11 DeviceInteractionType_ExecuteFeature DeviceInteractionType = 12 DeviceInteractionType_GetScreenShot DeviceInteractionType = 13 )
func (DeviceInteractionType) Descriptor ¶
func (DeviceInteractionType) Descriptor() protoreflect.EnumDescriptor
func (DeviceInteractionType) Enum ¶
func (x DeviceInteractionType) Enum() *DeviceInteractionType
func (DeviceInteractionType) EnumDescriptor
deprecated
func (DeviceInteractionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceInteractionType.Descriptor instead.
func (DeviceInteractionType) Number ¶
func (x DeviceInteractionType) Number() protoreflect.EnumNumber
func (DeviceInteractionType) String ¶
func (x DeviceInteractionType) String() string
func (DeviceInteractionType) Type ¶
func (DeviceInteractionType) Type() protoreflect.EnumType
type DeviceRequest ¶
type DeviceRequest struct {
// contains filtered or unexported fields
}
func (*DeviceRequest) Descriptor
deprecated
func (*DeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead.
func (*DeviceRequest) ProtoMessage ¶
func (*DeviceRequest) ProtoMessage()
func (*DeviceRequest) ProtoReflect ¶
func (x *DeviceRequest) ProtoReflect() protoreflect.Message
func (*DeviceRequest) Reset ¶
func (x *DeviceRequest) Reset()
func (*DeviceRequest) String ¶
func (x *DeviceRequest) String() string
type DeviceResponse ¶
type DeviceResponse struct { Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` // contains filtered or unexported fields }
func (*DeviceResponse) Descriptor
deprecated
func (*DeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceResponse.ProtoReflect.Descriptor instead.
func (*DeviceResponse) GetDevices ¶
func (x *DeviceResponse) GetDevices() []*Device
func (*DeviceResponse) ProtoMessage ¶
func (*DeviceResponse) ProtoMessage()
func (*DeviceResponse) ProtoReflect ¶
func (x *DeviceResponse) ProtoReflect() protoreflect.Message
func (*DeviceResponse) Reset ¶
func (x *DeviceResponse) Reset()
func (*DeviceResponse) String ¶
func (x *DeviceResponse) String() string
type DragAndDrop ¶
func (*DragAndDrop) GetActionType ¶
func (a *DragAndDrop) GetActionType() ActionType
func (*DragAndDrop) ProcessResponse ¶
func (a *DragAndDrop) ProcessResponse(response *Response) error
func (*DragAndDrop) Serialize ¶
func (a *DragAndDrop) Serialize() ([]byte, error)
type GetAttr ¶
type GetAttr struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Attr string `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"` // contains filtered or unexported fields }
func (*GetAttr) Descriptor
deprecated
func (*GetAttr) ProtoMessage ¶
func (*GetAttr) ProtoMessage()
func (*GetAttr) ProtoReflect ¶
func (x *GetAttr) ProtoReflect() protoreflect.Message
type GetSceenGraph ¶
type GetSceenGraph struct {
// contains filtered or unexported fields
}
func (*GetSceenGraph) Content ¶
func (a *GetSceenGraph) Content() string
func (*GetSceenGraph) GetActionType ¶
func (a *GetSceenGraph) GetActionType() ActionType
func (*GetSceenGraph) ProcessResponse ¶
func (a *GetSceenGraph) ProcessResponse(response *Response) error
func (*GetSceenGraph) Serialize ¶
func (a *GetSceenGraph) Serialize() ([]byte, error)
type GetScreenshot ¶
type GetScreenshot struct { Success bool // contains filtered or unexported fields }
func (*GetScreenshot) GetActionType ¶
func (a *GetScreenshot) GetActionType() ActionType
func (*GetScreenshot) Height ¶
func (a *GetScreenshot) Height() int
func (*GetScreenshot) ProcessResponse ¶
func (a *GetScreenshot) ProcessResponse(response *Response) error
func (*GetScreenshot) SceengraphXML ¶
func (a *GetScreenshot) SceengraphXML() []byte
func (*GetScreenshot) ScreenshotData ¶
func (a *GetScreenshot) ScreenshotData() []byte
func (*GetScreenshot) Serialize ¶
func (a *GetScreenshot) Serialize() ([]byte, error)
func (*GetScreenshot) Width ¶
func (a *GetScreenshot) Width() int
type GetValue ¶
func (*GetValue) GetActionType ¶
func (a *GetValue) GetActionType() ActionType
func (*GetValue) ProcessResponse ¶
type InteractionRequest ¶
type InteractionRequest struct { DeviceID string `protobuf:"bytes,1,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"` Type DeviceInteractionType `protobuf:"varint,2,opt,name=type,proto3,enum=action.DeviceInteractionType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*InteractionRequest) Descriptor
deprecated
func (*InteractionRequest) Descriptor() ([]byte, []int)
Deprecated: Use InteractionRequest.ProtoReflect.Descriptor instead.
func (*InteractionRequest) GetDeviceID ¶
func (x *InteractionRequest) GetDeviceID() string
func (*InteractionRequest) GetType ¶
func (x *InteractionRequest) GetType() DeviceInteractionType
func (*InteractionRequest) ProtoMessage ¶
func (*InteractionRequest) ProtoMessage()
func (*InteractionRequest) ProtoReflect ¶
func (x *InteractionRequest) ProtoReflect() protoreflect.Message
func (*InteractionRequest) Reset ¶
func (x *InteractionRequest) Reset()
func (*InteractionRequest) String ¶
func (x *InteractionRequest) String() string
type InteractionResponse ¶
type InteractionResponse struct {
// contains filtered or unexported fields
}
func (*InteractionResponse) Descriptor
deprecated
func (*InteractionResponse) Descriptor() ([]byte, []int)
Deprecated: Use InteractionResponse.ProtoReflect.Descriptor instead.
func (*InteractionResponse) ProtoMessage ¶
func (*InteractionResponse) ProtoMessage()
func (*InteractionResponse) ProtoReflect ¶
func (x *InteractionResponse) ProtoReflect() protoreflect.Message
func (*InteractionResponse) Reset ¶
func (x *InteractionResponse) Reset()
func (*InteractionResponse) String ¶
func (x *InteractionResponse) String() string
type Interface ¶
type Interface interface { GetActionType() ActionType Serialize() ([]byte, error) ProcessResponse(response *Response) error }
type IsDisplayed ¶
func (*IsDisplayed) GetActionType ¶
func (a *IsDisplayed) GetActionType() ActionType
func (*IsDisplayed) ProcessResponse ¶
func (a *IsDisplayed) ProcessResponse(response *Response) error
func (*IsDisplayed) Serialize ¶
func (a *IsDisplayed) Serialize() ([]byte, error)
type LogData ¶
type LogData struct { Type LogType `protobuf:"varint,1,opt,name=type,proto3,enum=action.LogType" json:"type,omitempty"` Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=action.LogLevel" json:"level,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*LogData) Descriptor
deprecated
func (*LogData) GetMessage ¶
func (*LogData) ProtoMessage ¶
func (*LogData) ProtoMessage()
func (*LogData) ProtoReflect ¶
func (x *LogData) ProtoReflect() protoreflect.Message
type LogLevel ¶
type LogLevel int32
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type LogType ¶
type LogType int32
func (LogType) Descriptor ¶
func (LogType) Descriptor() protoreflect.EnumDescriptor
func (LogType) EnumDescriptor
deprecated
func (LogType) Number ¶
func (x LogType) Number() protoreflect.EnumNumber
func (LogType) Type ¶
func (LogType) Type() protoreflect.EnumType
type LongTouchElement ¶
func (*LongTouchElement) GetActionType ¶
func (a *LongTouchElement) GetActionType() ActionType
func (*LongTouchElement) ProcessResponse ¶
func (a *LongTouchElement) ProcessResponse(response *Response) error
func (*LongTouchElement) Serialize ¶
func (a *LongTouchElement) Serialize() ([]byte, error)
type MoveElement ¶
type MoveElement struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*MoveElement) Descriptor
deprecated
func (*MoveElement) Descriptor() ([]byte, []int)
Deprecated: Use MoveElement.ProtoReflect.Descriptor instead.
func (*MoveElement) GetFrom ¶
func (x *MoveElement) GetFrom() string
func (*MoveElement) GetTo ¶
func (x *MoveElement) GetTo() string
func (*MoveElement) ProtoMessage ¶
func (*MoveElement) ProtoMessage()
func (*MoveElement) ProtoReflect ¶
func (x *MoveElement) ProtoReflect() protoreflect.Message
func (*MoveElement) Reset ¶
func (x *MoveElement) Reset()
func (*MoveElement) String ¶
func (x *MoveElement) String() string
type MoveOffset ¶
type MoveOffset struct { From int64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` To int64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*MoveOffset) Descriptor
deprecated
func (*MoveOffset) Descriptor() ([]byte, []int)
Deprecated: Use MoveOffset.ProtoReflect.Descriptor instead.
func (*MoveOffset) GetFrom ¶
func (x *MoveOffset) GetFrom() int64
func (*MoveOffset) GetTo ¶
func (x *MoveOffset) GetTo() int64
func (*MoveOffset) ProtoMessage ¶
func (*MoveOffset) ProtoMessage()
func (*MoveOffset) ProtoReflect ¶
func (x *MoveOffset) ProtoReflect() protoreflect.Message
func (*MoveOffset) Reset ¶
func (x *MoveOffset) Reset()
func (*MoveOffset) String ¶
func (x *MoveOffset) String() string
type Node ¶
type Node struct { XMLName xml.Name `xml:""` Class string `xml:"Class,attr"` Id int32 `xml:"ID,attr"` Name string `xml:"Name,attr"` CSS string `xml:"CSS,attr"` X int32 `xml:"X,attr"` Y int32 `xml:"Y,attr"` RectangleX int32 `xml:"RectangleX,attr"` RectangleY int32 `xml:"RectangleY,attr"` IsVisible byte `xml:"isVisible,attr"` LabelText string `xml:"LabelText,attr"` Children []Node `xml:""` }
type PerformanceData ¶
type PerformanceData struct { Checkpoint string `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` Cpu float32 `protobuf:"fixed32,2,opt,name=cpu,proto3" json:"cpu,omitempty"` Memory float32 `protobuf:"fixed32,3,opt,name=memory,proto3" json:"memory,omitempty"` Fps float32 `protobuf:"fixed32,4,opt,name=fps,proto3" json:"fps,omitempty"` // contains filtered or unexported fields }
func (*PerformanceData) Descriptor
deprecated
func (*PerformanceData) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceData.ProtoReflect.Descriptor instead.
func (*PerformanceData) GetCheckpoint ¶
func (x *PerformanceData) GetCheckpoint() string
func (*PerformanceData) GetCpu ¶
func (x *PerformanceData) GetCpu() float32
func (*PerformanceData) GetFps ¶
func (x *PerformanceData) GetFps() float32
func (*PerformanceData) GetMemory ¶
func (x *PerformanceData) GetMemory() float32
func (*PerformanceData) ProtoMessage ¶
func (*PerformanceData) ProtoMessage()
func (*PerformanceData) ProtoReflect ¶
func (x *PerformanceData) ProtoReflect() protoreflect.Message
func (*PerformanceData) Reset ¶
func (x *PerformanceData) Reset()
func (*PerformanceData) String ¶
func (x *PerformanceData) String() string
type Request ¶
type Request struct { ActionID string `protobuf:"bytes,1,opt,name=actionID,proto3" json:"actionID,omitempty"` ActionType ActionType `protobuf:"varint,2,opt,name=actionType,proto3,enum=action.ActionType" json:"actionType,omitempty"` // Types that are assignable to Payload: // *Request_Id // *Request_Data // *Request_SetAttr // *Request_GetAttr // *Request_MoveOffset // *Request_Touch // *Request_MoveElement // *Request_Test Payload isRequest_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetActionID ¶
func (*Request) GetActionType ¶
func (x *Request) GetActionType() ActionType
func (*Request) GetGetAttr ¶
func (*Request) GetMoveElement ¶
func (x *Request) GetMoveElement() *MoveElement
func (*Request) GetMoveOffset ¶
func (x *Request) GetMoveOffset() *MoveOffset
func (*Request) GetPayload ¶
func (m *Request) GetPayload() isRequest_Payload
func (*Request) GetSetAttr ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Data ¶
type Request_Data struct {
Data string `protobuf:"bytes,4,opt,name=data,proto3,oneof"`
}
type Request_GetAttr ¶
type Request_GetAttr struct {
GetAttr *GetAttr `protobuf:"bytes,6,opt,name=getAttr,proto3,oneof"`
}
type Request_Id ¶
type Request_Id struct {
Id string `protobuf:"bytes,3,opt,name=id,proto3,oneof"`
}
type Request_MoveElement ¶
type Request_MoveElement struct {
MoveElement *MoveElement `protobuf:"bytes,9,opt,name=moveElement,proto3,oneof"`
}
type Request_MoveOffset ¶
type Request_MoveOffset struct {
MoveOffset *MoveOffset `protobuf:"bytes,7,opt,name=moveOffset,proto3,oneof"`
}
type Request_SetAttr ¶
type Request_SetAttr struct {
SetAttr *SetAttr `protobuf:"bytes,5,opt,name=setAttr,proto3,oneof"`
}
type Request_Test ¶
type Request_Test struct {
Test *Test `protobuf:"bytes,10,opt,name=test,proto3,oneof"`
}
type Request_Touch ¶
type Request_Touch struct {
Touch *Touch `protobuf:"bytes,8,opt,name=touch,proto3,oneof"`
}
type Response ¶
type Response struct { ActionID string `protobuf:"bytes,1,opt,name=actionID,proto3" json:"actionID,omitempty"` ActionType ActionType `protobuf:"varint,2,opt,name=actionType,proto3,enum=action.ActionType" json:"actionType,omitempty"` Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` // Types that are assignable to Payload: // *Response_Visible // *Response_Data // *Response_Value // *Response_Screenshot // *Response_Connect // *Response_Tests // *Response_Log // *Response_TestDetails // *Response_Performance Payload isResponse_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetActionID ¶
func (*Response) GetActionType ¶
func (x *Response) GetActionType() ActionType
func (*Response) GetConnect ¶
func (*Response) GetPayload ¶
func (m *Response) GetPayload() isResponse_Payload
func (*Response) GetPerformance ¶
func (x *Response) GetPerformance() *PerformanceData
func (*Response) GetScreenshot ¶
func (x *Response) GetScreenshot() *Screenshot
func (*Response) GetSuccess ¶
func (*Response) GetTestDetails ¶
func (x *Response) GetTestDetails() *TestDetails
func (*Response) GetVisible ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Response_Connect ¶
type Response_Connect struct {
Connect *Connect `protobuf:"bytes,8,opt,name=connect,proto3,oneof"`
}
type Response_Data ¶
type Response_Data struct {
Data []byte `protobuf:"bytes,5,opt,name=data,proto3,oneof"`
}
type Response_Log ¶
type Response_Log struct {
Log *LogData `protobuf:"bytes,10,opt,name=log,proto3,oneof"`
}
type Response_Performance ¶
type Response_Performance struct {
Performance *PerformanceData `protobuf:"bytes,12,opt,name=performance,proto3,oneof"`
}
type Response_Screenshot ¶
type Response_Screenshot struct {
Screenshot *Screenshot `protobuf:"bytes,7,opt,name=screenshot,proto3,oneof"`
}
type Response_TestDetails ¶
type Response_TestDetails struct {
TestDetails *TestDetails `protobuf:"bytes,11,opt,name=testDetails,proto3,oneof"`
}
type Response_Tests ¶
type Response_Tests struct {
Tests *Tests `protobuf:"bytes,9,opt,name=tests,proto3,oneof"`
}
type Response_Value ¶
type Response_Value struct {
Value string `protobuf:"bytes,6,opt,name=value,proto3,oneof"`
}
type Response_Visible ¶
type Response_Visible struct {
Visible bool `protobuf:"varint,4,opt,name=visible,proto3,oneof"`
}
type Screenshot ¶
type Screenshot struct { Sceengraph []byte `protobuf:"bytes,1,opt,name=sceengraph,proto3" json:"sceengraph,omitempty"` Screenshot []byte `protobuf:"bytes,2,opt,name=screenshot,proto3" json:"screenshot,omitempty"` ContentType ContentType `protobuf:"varint,3,opt,name=contentType,proto3,enum=action.ContentType" json:"contentType,omitempty"` // contains filtered or unexported fields }
func (*Screenshot) Descriptor
deprecated
func (*Screenshot) Descriptor() ([]byte, []int)
Deprecated: Use Screenshot.ProtoReflect.Descriptor instead.
func (*Screenshot) GetContentType ¶
func (x *Screenshot) GetContentType() ContentType
func (*Screenshot) GetSceengraph ¶
func (x *Screenshot) GetSceengraph() []byte
func (*Screenshot) GetScreenshot ¶
func (x *Screenshot) GetScreenshot() []byte
func (*Screenshot) ProtoMessage ¶
func (*Screenshot) ProtoMessage()
func (*Screenshot) ProtoReflect ¶
func (x *Screenshot) ProtoReflect() protoreflect.Message
func (*Screenshot) Reset ¶
func (x *Screenshot) Reset()
func (*Screenshot) String ¶
func (x *Screenshot) String() string
type Scroll ¶
func (*Scroll) GetActionType ¶
func (a *Scroll) GetActionType() ActionType
func (*Scroll) ProcessResponse ¶
type SetAttr ¶
type SetAttr struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Attr string `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"` Val string `protobuf:"bytes,3,opt,name=val,proto3" json:"val,omitempty"` // contains filtered or unexported fields }
func (*SetAttr) Descriptor
deprecated
func (*SetAttr) ProtoMessage ¶
func (*SetAttr) ProtoMessage()
func (*SetAttr) ProtoReflect ¶
func (x *SetAttr) ProtoReflect() protoreflect.Message
type SetValue ¶
func (*SetValue) GetActionType ¶
func (a *SetValue) GetActionType() ActionType
func (*SetValue) ProcessResponse ¶
type Test ¶
type Test struct { Assembly string `protobuf:"bytes,1,opt,name=assembly,proto3" json:"assembly,omitempty"` Class string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Parameter map[string]string `` /* 159-byte string literal not displayed */ Categories []string `protobuf:"bytes,5,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) GetAssembly ¶
func (*Test) GetCategories ¶
func (*Test) GetParameter ¶
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
type TestDetails ¶
type TestDetails struct { Timeout int32 `protobuf:"varint,1,opt,name=timeout,proto3" json:"timeout,omitempty"` Categories []string `protobuf:"bytes,2,rep,name=categories,proto3" json:"categories,omitempty"` // contains filtered or unexported fields }
func (*TestDetails) Descriptor
deprecated
func (*TestDetails) Descriptor() ([]byte, []int)
Deprecated: Use TestDetails.ProtoReflect.Descriptor instead.
func (*TestDetails) GetCategories ¶
func (x *TestDetails) GetCategories() []string
func (*TestDetails) GetTimeout ¶
func (x *TestDetails) GetTimeout() int32
func (*TestDetails) ProtoMessage ¶
func (*TestDetails) ProtoMessage()
func (*TestDetails) ProtoReflect ¶
func (x *TestDetails) ProtoReflect() protoreflect.Message
func (*TestDetails) Reset ¶
func (x *TestDetails) Reset()
func (*TestDetails) String ¶
func (x *TestDetails) String() string
type TestStart ¶
type TestStart struct { Assembly string Class string Method string Env map[string]string Success bool }
func (*TestStart) GetActionType ¶
func (a *TestStart) GetActionType() ActionType
func (*TestStart) ProcessResponse ¶
type Tests ¶
type Tests struct { Tests []*Test `protobuf:"bytes,1,rep,name=tests,proto3" json:"tests,omitempty"` // contains filtered or unexported fields }
func (*Tests) Descriptor
deprecated
func (*Tests) ProtoMessage ¶
func (*Tests) ProtoMessage()
func (*Tests) ProtoReflect ¶
func (x *Tests) ProtoReflect() protoreflect.Message
type TestsGet ¶
func (*TestsGet) GetActionType ¶
func (a *TestsGet) GetActionType() ActionType
func (*TestsGet) ProcessResponse ¶
type Touch ¶
type Touch struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Xoffset int64 `protobuf:"varint,2,opt,name=xoffset,proto3" json:"xoffset,omitempty"` Yoffset int64 `protobuf:"varint,3,opt,name=yoffset,proto3" json:"yoffset,omitempty"` // contains filtered or unexported fields }
func (*Touch) Descriptor
deprecated
func (*Touch) GetXoffset ¶
func (*Touch) GetYoffset ¶
func (*Touch) ProtoMessage ¶
func (*Touch) ProtoMessage()
func (*Touch) ProtoReflect ¶
func (x *Touch) ProtoReflect() protoreflect.Message
type TouchDownPosition ¶
func (*TouchDownPosition) GetActionType ¶
func (a *TouchDownPosition) GetActionType() ActionType
func (*TouchDownPosition) ProcessResponse ¶
func (a *TouchDownPosition) ProcessResponse(response *Response) error
func (*TouchDownPosition) Serialize ¶
func (a *TouchDownPosition) Serialize() ([]byte, error)
type TouchElement ¶
func (*TouchElement) GetActionType ¶
func (a *TouchElement) GetActionType() ActionType
func (*TouchElement) ProcessResponse ¶
func (a *TouchElement) ProcessResponse(response *Response) error
func (*TouchElement) Serialize ¶
func (a *TouchElement) Serialize() ([]byte, error)
type TouchMovePosition ¶
func (*TouchMovePosition) GetActionType ¶
func (a *TouchMovePosition) GetActionType() ActionType
func (*TouchMovePosition) ProcessResponse ¶
func (a *TouchMovePosition) ProcessResponse(response *Response) error
func (*TouchMovePosition) Serialize ¶
func (a *TouchMovePosition) Serialize() ([]byte, error)
type TouchUpPosition ¶
func (*TouchUpPosition) GetActionType ¶
func (a *TouchUpPosition) GetActionType() ActionType
func (*TouchUpPosition) ProcessResponse ¶
func (a *TouchUpPosition) ProcessResponse(response *Response) error
func (*TouchUpPosition) Serialize ¶
func (a *TouchUpPosition) Serialize() ([]byte, error)
type UnityReset ¶
func (*UnityReset) GetActionType ¶
func (a *UnityReset) GetActionType() ActionType
func (*UnityReset) ProcessResponse ¶
func (a *UnityReset) ProcessResponse(response *Response) error
func (*UnityReset) Serialize ¶
func (a *UnityReset) Serialize() ([]byte, error)