test
This commit is contained in:
snoop 2017-06-30 17:48:27 +09:00
parent 05ab84b516
commit 8980fd18bc

View File

@ -7,6 +7,20 @@ import (
"io/ioutil" "io/ioutil"
) )
func TestMemberS_read(t *testing.T) {
si := &ServerInput{}
si.Target = "MemberService"
si.Method = "read"
si.Params = append(si.Params, "{\"id\":1}")
callRPC(t, si)
}
func TestTarDis_saveAllTarget(t *testing.T) { func TestTarDis_saveAllTarget(t *testing.T) {
contents,_ := ioutil.ReadFile("../dh.json") contents,_ := ioutil.ReadFile("../dh.json")