Home
last modified time | relevance | path

Searched refs:kHostName (Results 1 – 3 of 3) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_srp_server.cpp292 static const char kHostName[] = "myhost"; variable
416 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestSrpServerBase()
435 ValidateHost(*srpServer, kHostName); in TestSrpServerBase()
539 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestSrpServerReject()
651 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestSrpServerIgnore()
765 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestSrpServerClientRemove()
786 ValidateHost(*srpServer, kHostName); in TestSrpServerClientRemove()
808 ValidateHost(*srpServer, kHostName); in TestSrpServerClientRemove()
898 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestUpdateLeaseShortVariant()
929 ValidateHost(*srpServer, kHostName); in TestUpdateLeaseShortVariant()
[all …]
Dtest_dns.cpp1065 const char kHostName[] = "host.example.com."; in TestHeaderAndResourceRecords() local
1165 SuccessOrQuit(Dns::Name::AppendName(kHostName, *message)); in TestHeaderAndResourceRecords()
1306 VerifyOrQuit(strcmp(name, kHostName) == 0); in TestHeaderAndResourceRecords()
1331 SuccessOrQuit(Dns::Name::CompareName(*message, offset, kHostName)); in TestHeaderAndResourceRecords()
1335 printf(" \"%s\" AAAA %u %d \"%s\"\n", kHostName, aaaaRecord.GetTtl(), aaaaRecord.GetLength(), in TestHeaderAndResourceRecords()
1372 …SuccessOrQuit(Dns::ResourceRecord::FindRecord(*message, offset, numRecords, Dns::Name(kHostName))); in TestHeaderAndResourceRecords()
Dtest_dns_client.cpp238 static const char kHostName[] = "elden"; variable
561 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestDnsClient()
574 ValidateHost(*srpServer, kHostName); in TestDnsClient()