mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 05:19:38 +08:00
refactor: split ai related logic to pkg/ai
This commit is contained in:
@@ -6,17 +6,16 @@ import (
|
||||
|
||||
// current implemeted device: IOSDevice, AndroidDevice, HarmonyDevice
|
||||
type IDevice interface {
|
||||
UUID() string // ios udid or android serial
|
||||
|
||||
Setup() error
|
||||
Teardown() error
|
||||
|
||||
UUID() string // ios udid or android serial
|
||||
LogEnabled() bool
|
||||
|
||||
// TODO: remove
|
||||
NewDriver(...option.DriverOption) (driverExt *DriverExt, err error)
|
||||
|
||||
Install(appPath string, opts ...option.InstallOption) error
|
||||
Uninstall(packageName string) error
|
||||
|
||||
GetPackageInfo(packageName string) (AppInfo, error)
|
||||
|
||||
// TODO: remove?
|
||||
LogEnabled() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user