MCPcopy
hub / github.com/httprunner/httprunner / TestDriver_Source

Function TestDriver_Source

hrp/pkg/uixt/android_test.go:121–133  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

119}
120
121func TestDriver_Source(t *testing.T) {
122 driver, err := NewUIADriver(nil, uiaServerURL)
123 if err != nil {
124 t.Fatal(err)
125 }
126
127 source, err := driver.Source()
128 if err != nil {
129 t.Fatal(err)
130 }
131
132 t.Log(source)
133}
134
135func TestDriver_BatteryInfo(t *testing.T) {
136 driver, err := NewUIADriver(nil, uiaServerURL)

Callers

nothing calls this directly

Calls 2

NewUIADriverFunction · 0.85
SourceMethod · 0.65

Tested by

no test coverage detected