123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- package region
- import (
- "testing"
- "time"
- "go-common/app/interface/main/app-feed/model/tag"
- )
- func TestService_TagsInfoc(t *testing.T) {
- type args struct {
- mid int64
- plat int8
- build int
- buvid string
- disid string
- ip string
- api string
- tags []*tag.Tag
- now time.Time
- }
- tests := []struct {
- name string
- s *Service
- args args
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- tt.s.TagsInfoc(tt.args.mid, tt.args.plat, tt.args.build, tt.args.buvid, tt.args.disid, tt.args.ip, tt.args.api, tt.args.tags, tt.args.now)
- })
- }
- }
- func TestService_ChangeTagsInfoc(t *testing.T) {
- type args struct {
- mid int64
- plat int8
- build int
- buvid string
- disid string
- ip string
- api string
- tags []*tag.Tag
- now time.Time
- }
- tests := []struct {
- name string
- s *Service
- args args
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- tt.s.ChangeTagsInfoc(tt.args.mid, tt.args.plat, tt.args.build, tt.args.buvid, tt.args.disid, tt.args.ip, tt.args.api, tt.args.tags, tt.args.now)
- })
- }
- }
- func TestService_AddTagInfoc(t *testing.T) {
- type args struct {
- mid int64
- plat int8
- build int
- buvid string
- disid string
- ip string
- api string
- rid int
- tid int64
- now time.Time
- }
- tests := []struct {
- name string
- s *Service
- args args
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- tt.s.AddTagInfoc(tt.args.mid, tt.args.plat, tt.args.build, tt.args.buvid, tt.args.disid, tt.args.ip, tt.args.api, tt.args.rid, tt.args.tid, tt.args.now)
- })
- }
- }
- func TestService_CancelTagInfoc(t *testing.T) {
- type args struct {
- mid int64
- plat int8
- build int
- buvid string
- disid string
- ip string
- api string
- rid int
- tid int64
- now time.Time
- }
- tests := []struct {
- name string
- s *Service
- args args
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- tt.s.CancelTagInfoc(tt.args.mid, tt.args.plat, tt.args.build, tt.args.buvid, tt.args.disid, tt.args.ip, tt.args.api, tt.args.rid, tt.args.tid, tt.args.now)
- })
- }
- }
- func TestService_infocproc(t *testing.T) {
- tests := []struct {
- name string
- s *Service
- }{
- // TODO: Add test cases.
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- tt.s.infocproc()
- })
- }
- }
|