Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@ -0,0 +1,32 @@
package service
import (
"testing"
"go-common/app/admin/main/mcn/model"
"github.com/smartystreets/goconvey/convey"
)
func TestServicesendMsg(t *testing.T) {
convey.Convey("sendMsg", t, func(ctx convey.C) {
var (
arg = &model.ArgMsg{}
)
ctx.Convey("When everything goes positive", func(ctx convey.C) {
s.sendMsg(arg)
ctx.Convey("No return values", func(ctx convey.C) {
})
})
})
}
func TestServicesetMsgTypeMap(t *testing.T) {
convey.Convey("setMsgTypeMap", t, func(ctx convey.C) {
ctx.Convey("When everything goes positive", func(ctx convey.C) {
s.setMsgTypeMap()
ctx.Convey("No return values", func(ctx convey.C) {
})
})
})
}