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

Function WithSerialNumber

hrp/pkg/uixt/android_device.go:32–36  ·  view source on GitHub ↗
(serial string)

Source from the content-addressed store, hash-verified

30type AndroidDeviceOption func(*AndroidDevice)
31
32func WithSerialNumber(serial string) AndroidDeviceOption {
33 return func(device *AndroidDevice) {
34 device.SerialNumber = serial
35 }
36}
37
38func WithUIA2(uia2On bool) AndroidDeviceOption {
39 return func(device *AndroidDevice) {

Callers 8

initUIClientMethod · 0.92
TestAndroidExpertTestFunction · 0.92
TestAndroidLiveSwipeTestFunction · 0.92
initAndroidDeviceFunction · 0.92
TestTapUIWithScreenshotFunction · 0.85
GetAndroidDeviceOptionsFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestAndroidExpertTestFunction · 0.74
TestAndroidLiveSwipeTestFunction · 0.74
TestTapUIWithScreenshotFunction · 0.68