MCPcopy Index your code
hub / github.com/httprunner/httprunner / initAndroidDevice

Function initAndroidDevice

examples/worldcup/main.go:74–80  ·  view source on GitHub ↗
(uuid string)

Source from the content-addressed store, hash-verified

72}
73
74func initAndroidDevice(uuid string) uixt.Device {
75 device, err := uixt.NewAndroidDevice(uixt.WithSerialNumber(uuid))
76 if err != nil {
77 log.Fatal().Err(err).Msg("failed to init android device")
78 }
79 return device
80}
81
82type timeLog struct {
83 UTCTimeStr string `json:"utc_time_str"`

Callers 2

cli.goFile · 0.85
TestMainAndroidFunction · 0.85

Calls 3

NewAndroidDeviceFunction · 0.92
WithSerialNumberFunction · 0.92
ErrMethod · 0.80

Tested by 1

TestMainAndroidFunction · 0.68