Documentation ¶
Index ¶
- type AccessToken
- type App
- type AppBinary
- type Company
- type ConnectionParameter
- type ConnectionType
- type Device
- type DeviceLog
- type DeviceParameter
- type DeviceType
- type Devices
- type ExecutionType
- type PlatformType
- type Project
- type ProtocolEntry
- type ProtocolPerformanceEntry
- type ScenarioStep
- type StepType
- type Test
- type TestConfig
- type TestConfigDevice
- type TestConfigScenario
- type TestConfigUnity
- type TestProtocol
- type TestResultState
- type TestRun
- type TestRunDeviceStatus
- type TestRunLogEntry
- type TestType
- type UnityTestFunction
- type User
- type UserAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AppBinary ¶
type ConnectionParameter ¶
type ConnectionType ¶
type ConnectionType int
const ( ConnectionTypeUSB ConnectionType = iota ConnectionTypeRemote )
type Device ¶
type Device struct { gorm.Model CompanyID uint DeviceIdentifier string DeviceType DeviceType Name string Manager string HardwareModel string RAM float32 SOC string DisplaySize string DPI float32 OS string OSVersion string OSInfos string GPU string ABI string OpenGLESVersion float32 Parameter []DeviceParameter StatusLog []DeviceLog ConnectionParameter ConnectionParameter IsAcknowledged bool Status device.State `gorm:"-"` Dev interface{} `gorm:"-"` Connection interface{} `gorm:"-"` }
func (*Device) GetAttribute ¶
type DeviceParameter ¶
type DeviceType ¶
type DeviceType int
const ( DeviceTypePhone DeviceType = iota DeviceTypeTablet DeviceTypeDesktop DeviceTypeUnityEditor )
type ExecutionType ¶
type ExecutionType uint
const ( ConcurrentExecutionType ExecutionType = iota // each test on a different free device ( faster results ) SimultaneouslyExecutionType // every test on every device ( more accuracy ) )
type PlatformType ¶
type PlatformType uint
const ( PlatformTypeiOS PlatformType = iota PlatformTypeAndroid PlatformTypeMac PlatformTypeWindows PlatformTypeLinux PlatformTypeWeb PlatformTypeEditor )
type ProtocolEntry ¶
type ScenarioStep ¶
type TestConfig ¶
type TestConfig struct { gorm.Model TestID uint ExecutionType ExecutionType Type TestType AllDevices bool Devices []TestConfigDevice Unity *TestConfigUnity // Cocos *CocosTestConfig // Serenity *SerenityTestConfig Scenario *TestConfigScenario }
func (*TestConfig) GetDeviceIds ¶
func (t *TestConfig) GetDeviceIds() []uint
type TestConfigDevice ¶
type TestConfigScenario ¶
type TestConfigScenario struct { gorm.Model TestConfigID uint Steps []ScenarioStep }
type TestConfigUnity ¶
type TestProtocol ¶
type TestProtocol struct { gorm.Model TestRunID uint DeviceID *uint Device *Device TestName string StartedAt time.Time EndedAt *time.Time Entries []ProtocolEntry TestResult TestResultState Performance []ProtocolPerformanceEntry AvgFPS float32 `sql:"type:decimal(10,2);"` AvgMEM float32 `sql:"type:decimal(10,2);"` AvgCPU float32 `sql:"type:decimal(10,2);"` // calculated fields HistAvgFPS float32 `db:"-" gorm:"-:all"` HistAvgMEM float32 `db:"-" gorm:"-:all"` HistAvgCPU float32 `db:"-" gorm:"-:all"` TestProtocolHistory []TestProtocol `db:"-" gorm:"-:all"` }
type TestResultState ¶
type TestResultState uint
const ( TestResultOpen TestResultState = iota TestResultUnstable TestResultFailed TestResultSuccess )
type TestRun ¶
type TestRun struct { gorm.Model TestID uint Test *Test AppBinaryID uint AppBinary *AppBinary SessionID string Parameter string Protocols []TestProtocol Log []TestRunLogEntry DeviceStatus []TestRunDeviceStatus }
type TestRunDeviceStatus ¶
type TestRunLogEntry ¶
type UnityTestFunction ¶
Source Files ¶
- access_token.go
- app.go
- app_binary.go
- company.go
- device.go
- device_log.go
- project.go
- protocol_entry.go
- protocol_performance_entry.go
- scenario_step.go
- test.go
- test_config.go
- test_config_device.go
- test_config_scenario.go
- test_config_unity.go
- test_protocol.go
- test_result.go
- test_run.go
- test_run_device_status.go
- test_run_log_entry.go
- unity_test_function.go
- user.go
- user_auth.go
Click to show internal directories.
Click to hide internal directories.