mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-06 07:57:27 +08:00
change: replace gadb log
This commit is contained in:
@@ -7,8 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func TestClient_ServerVersion(t *testing.T) {
|
||||
SetDebug(true)
|
||||
|
||||
adbClient, err := NewClient()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -23,8 +21,6 @@ func TestClient_ServerVersion(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestClient_DeviceSerialList(t *testing.T) {
|
||||
SetDebug(true)
|
||||
|
||||
adbClient, err := NewClient()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -41,8 +37,6 @@ func TestClient_DeviceSerialList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestClient_DeviceList(t *testing.T) {
|
||||
SetDebug(true)
|
||||
|
||||
adbClient, err := NewClient()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -59,8 +53,6 @@ func TestClient_DeviceList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestClient_ForwardList(t *testing.T) {
|
||||
SetDebug(true)
|
||||
|
||||
adbClient, err := NewClient()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -77,8 +69,6 @@ func TestClient_ForwardList(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestClient_ForwardKillAll(t *testing.T) {
|
||||
SetDebug(true)
|
||||
|
||||
adbClient, err := NewClient()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -96,8 +86,6 @@ func TestClient_Connect(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
SetDebug(true)
|
||||
|
||||
err = adbClient.Connect("192.168.1.28")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -110,8 +98,6 @@ func TestClient_Disconnect(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
SetDebug(true)
|
||||
|
||||
err = adbClient.Disconnect("192.168.1.28")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -124,8 +110,6 @@ func TestClient_DisconnectAll(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
SetDebug(true)
|
||||
|
||||
err = adbClient.DisconnectAll()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -133,8 +117,6 @@ func TestClient_DisconnectAll(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestClient_KillServer(t *testing.T) {
|
||||
SetDebug(true)
|
||||
|
||||
adbClient, err := NewClient()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user