mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-08 01:09:44 +08:00
refactor: move gidevice to hrp pkg
This commit is contained in:
27
hrp/step.go
27
hrp/step.go
@@ -1,8 +1,7 @@
|
||||
package hrp
|
||||
|
||||
import (
|
||||
giDevice "github.com/electricbubble/gidevice"
|
||||
|
||||
"github.com/httprunner/httprunner/v4/hrp/pkg/gidevice"
|
||||
"github.com/httprunner/httprunner/v4/hrp/pkg/uixt"
|
||||
)
|
||||
|
||||
@@ -36,18 +35,18 @@ var (
|
||||
)
|
||||
|
||||
var (
|
||||
WithPerfSystemCPU = giDevice.WithPerfSystemCPU
|
||||
WithPerfSystemMem = giDevice.WithPerfSystemMem
|
||||
WithPerfSystemDisk = giDevice.WithPerfSystemDisk
|
||||
WithPerfSystemNetwork = giDevice.WithPerfSystemNetwork
|
||||
WithPerfGPU = giDevice.WithPerfGPU
|
||||
WithPerfFPS = giDevice.WithPerfFPS
|
||||
WithPerfNetwork = giDevice.WithPerfNetwork
|
||||
WithPerfBundleID = giDevice.WithPerfBundleID
|
||||
WithPerfPID = giDevice.WithPerfPID
|
||||
WithPerfOutputInterval = giDevice.WithPerfOutputInterval
|
||||
WithPerfProcessAttributes = giDevice.WithPerfProcessAttributes
|
||||
WithPerfSystemAttributes = giDevice.WithPerfSystemAttributes
|
||||
WithPerfSystemCPU = gidevice.WithPerfSystemCPU
|
||||
WithPerfSystemMem = gidevice.WithPerfSystemMem
|
||||
WithPerfSystemDisk = gidevice.WithPerfSystemDisk
|
||||
WithPerfSystemNetwork = gidevice.WithPerfSystemNetwork
|
||||
WithPerfGPU = gidevice.WithPerfGPU
|
||||
WithPerfFPS = gidevice.WithPerfFPS
|
||||
WithPerfNetwork = gidevice.WithPerfNetwork
|
||||
WithPerfBundleID = gidevice.WithPerfBundleID
|
||||
WithPerfPID = gidevice.WithPerfPID
|
||||
WithPerfOutputInterval = gidevice.WithPerfOutputInterval
|
||||
WithPerfProcessAttributes = gidevice.WithPerfProcessAttributes
|
||||
WithPerfSystemAttributes = gidevice.WithPerfSystemAttributes
|
||||
)
|
||||
|
||||
type StepResult struct {
|
||||
|
||||
Reference in New Issue
Block a user