Home
last modified time | relevance | path

Searched refs:srpClient (Results 1 – 2 of 2) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_srp_server.cpp371 Srp::Client *srpClient; in TestSrpServerBase() local
382 srpClient = &sInstance->Get<Srp::Client>(); in TestSrpServerBase()
408 srpClient->SetCallback(HandleSrpClientCallback, sInstance); in TestSrpServerBase()
410 srpClient->EnableAutoStartMode(nullptr, nullptr); in TestSrpServerBase()
411 VerifyOrQuit(srpClient->IsAutoStartModeEnabled()); in TestSrpServerBase()
414 VerifyOrQuit(srpClient->IsRunning()); in TestSrpServerBase()
416 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestSrpServerBase()
417 SuccessOrQuit(srpClient->EnableAutoHostAddress()); in TestSrpServerBase()
422 SuccessOrQuit(srpClient->AddService(service1)); in TestSrpServerBase()
440 SuccessOrQuit(srpClient->AddService(service2)); in TestSrpServerBase()
[all …]
Dtest_dns_client.cpp502 Srp::Client *srpClient; in TestDnsClient() local
531 srpClient = &sInstance->Get<Srp::Client>(); in TestDnsClient()
555 srpClient->EnableAutoStartMode(nullptr, nullptr); in TestDnsClient()
556 VerifyOrQuit(srpClient->IsAutoStartModeEnabled()); in TestDnsClient()
559 VerifyOrQuit(srpClient->IsRunning()); in TestDnsClient()
561 SuccessOrQuit(srpClient->SetHostName(kHostName)); in TestDnsClient()
562 SuccessOrQuit(srpClient->EnableAutoHostAddress()); in TestDnsClient()
567 SuccessOrQuit(srpClient->AddService(service1)); in TestDnsClient()
568 SuccessOrQuit(srpClient->AddService(service2)); in TestDnsClient()
943 Srp::Client *srpClient; in TestDnssdServerProxyCallback() local
[all …]