chenshijun
2020-07-20 87f75858e8c19a7711a69ca9e076f326376081d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package hikvoice
 
import(
    "testing"
    "fmt"
)
 
func TestMain(m *testing.M) {
    fmt.Println("begin")
    var ip,usrname,passwd,filepath string
    ip = "192.168.5.35"
    usrname = "admin"
    passwd = "a1234567"
    filepath = "8k_1_16.g711a"
    r := SendVoice(ip, usrname, passwd, filepath)
    fmt.Println("end ", r)
}