refactor: restructure

This commit is contained in:
debugtalk
2022-09-23 21:19:12 +08:00
parent 7a94afaf7e
commit 642a74e5ea
18 changed files with 624 additions and 511 deletions
+2 -2
View File
@@ -164,8 +164,8 @@ func (r *SessionRunner) GetSummary() *TestCaseSummary {
caseSummary.InOut.ConfigVars = r.parsedConfig.Variables
logs := make(map[string]string)
for udid, client := range r.hrpRunner.wdaClients {
log, err := client.GetWDALog()
for udid, client := range r.hrpRunner.uiClients {
log, err := client.GetLogs()
if err != nil {
logs[udid] = err.Error()
} else {