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