(t *testing.T)
| 309 | } |
| 310 | |
| 311 | func TestCreateGroup(t *testing.T) { |
| 312 | for i := 0; i < 5; i++ { |
| 313 | gname := fmt.Sprintf("群组%v_%v", i, time.Now().Unix()) |
| 314 | gid, err := client.CreateGroup(gname) |
| 315 | if err != nil { |
| 316 | t.Fatalf("CreateGroup error:%v", err) |
| 317 | } |
| 318 | |
| 319 | t.Logf("CreateGroup success, gid:%v", gid) |
| 320 | } |
| 321 | |
| 322 | t.Logf("CreateGroup All success") |
| 323 | } |
| 324 | |
| 325 | func TestLoadGroupList(t *testing.T) { |
| 326 | data, err := client.LoadGroupList() |
nothing calls this directly
no test coverage detected