mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
24 lines
519 B
Go
24 lines
519 B
Go
package uixt
|
|
|
|
import (
|
|
"github.com/httprunner/httprunner/v5/pkg/uixt/option"
|
|
"github.com/httprunner/httprunner/v5/pkg/uixt/types"
|
|
)
|
|
|
|
// current implemeted device: IOSDevice, AndroidDevice, HarmonyDevice
|
|
type IDevice interface {
|
|
UUID() string
|
|
NewDriver() (driver IDriver, err error)
|
|
|
|
Setup() error
|
|
Teardown() error
|
|
|
|
Install(appPath string, opts ...option.InstallOption) error
|
|
Uninstall(packageName string) error
|
|
|
|
GetPackageInfo(packageName string) (types.AppInfo, error)
|
|
|
|
// TODO: remove?
|
|
LogEnabled() bool
|
|
}
|