Debian Codegraph @

dns/DescribeDomainRecords_test.go

raw symbols SCIP
1 package dns
2
3 import (
4 "testing"
5 )
6
7 func TestDescribeDomainRecords(t *testing.T) {
8 //prepare
9 client := NewTestClient()
10 describeArgs := DescribeDomainRecordsArgs{
11 DomainName: TestDomainName,
12 }
13 describeArgs.PageSize = 100
14
15 describeResponse, err := client.DescribeDomainRecords(&describeArgs)
16 if err == nil {
17 t.Logf("DescribeDomainRecords success: TotalCount:%d ", describeResponse.TotalCount)
18 } else {
19 t.Errorf("Failed to DescribeDomainRecords: %s", describeArgs.DomainName)
20 }
21 }