refactor: add tests

This commit is contained in:
lilong.129
2025-02-12 15:16:01 +08:00
parent 43cb610c4c
commit 17292cb112
8 changed files with 45 additions and 37 deletions

View File

@@ -171,26 +171,6 @@ func (dev *AndroidDevice) NewDriver() (driver IDriver, err error) {
return driver, nil
}
func (dev *AndroidDevice) StartPerf() error {
// TODO
return nil
}
func (dev *AndroidDevice) StopPerf() string {
// TODO
return ""
}
func (dev *AndroidDevice) StartPcap() error {
// TODO
return nil
}
func (dev *AndroidDevice) StopPcap() string {
// TODO
return ""
}
func (dev *AndroidDevice) Install(apkPath string, opts ...option.InstallOption) error {
installOpts := option.NewInstallOptions(opts...)
brand, err := dev.Device.Brand()