MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / TEST_F

Function TEST_F

src/tests/unit/dns-settings-manager-test.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118TEST_F(DNSSettingsManager_SingleSetup, BackendInfo)
119{
120 // Sanity checks
121 std::string expect = std::string("TestBackend: DNS configuration tester");
122 std::string be = test_backend->GetBackendInfo();
123 ASSERT_EQ(be, expect);
124
125 std::string mgr(dnsmgr->GetBackendInfo());
126 ASSERT_STREQ(mgr.c_str(), be.c_str());
127}
128
129
130TEST_F(DNSSettingsManager_SingleSetup, SingleServerDomain)

Callers

nothing calls this directly

Calls 12

NewResolverSettingsMethod · 0.80
AddNameServerMethod · 0.80
AddSearchDomainMethod · 0.80
EnableMethod · 0.80
ApplySettingsMethod · 0.80
ServerListMethod · 0.80
DomainListMethod · 0.80
PrepareRemovalMethod · 0.80
sizeMethod · 0.80
GetBackendInfoMethod · 0.45
GetNameServersMethod · 0.45
GetSearchDomainsMethod · 0.45

Tested by

no test coverage detected