mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 09:49:33 +08:00
refactor: rename IDevice, IWebDriver
This commit is contained in:
@@ -25,16 +25,10 @@ type DriverSession struct {
|
||||
}
|
||||
|
||||
func (d *DriverSession) addScreenResult(screenResult *ScreenResult) {
|
||||
if screenResult == nil {
|
||||
return
|
||||
}
|
||||
d.screenResults[screenResult.imagePath] = screenResult
|
||||
}
|
||||
|
||||
func (d *DriverSession) addRequestResult(driverResult *DriverResult) {
|
||||
if driverResult == nil {
|
||||
return
|
||||
}
|
||||
d.requests = append(d.requests, driverResult)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user