change model code.xbase.vip/biao/go-mobile-automation

This commit is contained in:
bw.z@foxmail.com 2024-10-21 16:51:04 +08:00
parent 8e591a49d1
commit a43772ef10
13 changed files with 22 additions and 16 deletions

View File

@ -7,7 +7,7 @@ import (
"strings"
"time"
m "github.com/fantonglang/go-mobile-automation"
m "code.xbase.vip/biao/go-mobile-automation"
)
type CvMixIn struct {

View File

@ -20,8 +20,8 @@ import (
"strings"
"time"
m "github.com/fantonglang/go-mobile-automation"
"github.com/fantonglang/go-mobile-automation/models"
m "code.xbase.vip/biao/go-mobile-automation"
"code.xbase.vip/biao/go-mobile-automation/models"
"github.com/antchfx/xmlquery"
)

View File

@ -6,7 +6,7 @@ import (
"testing"
"time"
openatxclientgo "github.com/fantonglang/go-mobile-automation"
openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
)
func TestSetNewCommandTimeout(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
m "github.com/fantonglang/go-mobile-automation"
m "code.xbase.vip/biao/go-mobile-automation"
)
type InputMethodMixIn struct {

View File

@ -5,7 +5,7 @@ import (
"testing"
"time"
openatxclientgo "github.com/fantonglang/go-mobile-automation"
openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
)
func Test_current_ime(t *testing.T) {

View File

@ -1,6 +1,6 @@
package apis
import openatxclientgo "github.com/fantonglang/go-mobile-automation"
import openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
func NewHostDevice(deviceId string) (*Device, error) {
o, err := openatxclientgo.NewHostOperation(deviceId)

View File

@ -3,7 +3,7 @@ package apis
import (
"encoding/json"
m "github.com/fantonglang/go-mobile-automation"
m "code.xbase.vip/biao/go-mobile-automation"
)
type Service struct {

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
openatxclientgo "github.com/fantonglang/go-mobile-automation"
openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
)
func TestServiceRunning(t *testing.T) {

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
openatxclientgo "github.com/fantonglang/go-mobile-automation"
openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
)
func Test_kill_process_uiautomator(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"testing"
"time"
openatxclientgo "github.com/fantonglang/go-mobile-automation"
openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
)
func TestUiObjectChild(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"testing"
"time"
openatxclientgo "github.com/fantonglang/go-mobile-automation"
openatxclientgo "code.xbase.vip/biao/go-mobile-automation"
)
func TestXPathAll(t *testing.T) {

11
go.mod
View File

@ -1,14 +1,17 @@
module github.com/fantonglang/go-mobile-automation
module code.xbase.vip/biao/go-mobile-automation
go 1.17
require (
github.com/antchfx/xmlquery v1.3.9 // indirect
github.com/antchfx/xmlquery v1.3.9
github.com/fantonglang/adbutils-go v0.0.0-20211229042000-4a10b0d4726b
github.com/openatx/androidutils v1.0.0
)
require (
github.com/antchfx/xpath v1.2.0 // indirect
github.com/fantonglang/adbutils-go v0.0.0-20211229042000-4a10b0d4726b // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/openatx/androidutils v1.0.0 // indirect
golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc // indirect
golang.org/x/text v0.3.0 // indirect
)

3
go.sum
View File

@ -2,6 +2,7 @@ github.com/antchfx/xmlquery v1.3.9 h1:Y+zyMdiUZ4fasTQTkDb3DflOXP7+obcYEh80SISBmn
github.com/antchfx/xmlquery v1.3.9/go.mod h1:wojC/BxjEkjJt6dPiAqUzoXO5nIMWtxHS8PD8TmN4ks=
github.com/antchfx/xpath v1.2.0 h1:mbwv7co+x0RwgeGAOHdrKy89GvHaGvxxBtPK0uF9Zr8=
github.com/antchfx/xpath v1.2.0/go.mod h1:i54GszH55fYfBmoZXapTHN8T8tkcHfRgLyVwwqzXNcs=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fantonglang/adbutils-go v0.0.0-20211229042000-4a10b0d4726b h1:9q2DmGuabH/hiGfrAAkuZfweHWlDP9+RTalp9ZFKbW0=
github.com/fantonglang/adbutils-go v0.0.0-20211229042000-4a10b0d4726b/go.mod h1:Ght6gx2cUVRvrRP3g2+jW9Gn4YUUsV7AlkxHU689cwA=
@ -11,7 +12,9 @@ github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNU
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
github.com/openatx/androidutils v1.0.0 h1:gYKFX/LqOf4LxyO7dZrNfGtPNaCaSNrniUHL06MPATQ=
github.com/openatx/androidutils v1.0.0/go.mod h1:Pbja6rsE71OHQMhrK/tZm86fqB9Go8sXToi9CylrXEU=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=