Lines Matching refs:NameserverStats

124 struct NameserverStats {  struct
125 NameserverStats() = delete;
126 NameserverStats(const std::string server) : server(server) {} in NameserverStats() function
127 NameserverStats& setSuccesses(int val) { in setSuccesses() argument
131 NameserverStats& setErrors(int val) { in setErrors() argument
135 NameserverStats& setTimeouts(int val) { in setTimeouts() argument
139 NameserverStats& setInternalErrors(int val) { in setInternalErrors() argument
268 bool expectStatsNotGreaterThan(const std::vector<NameserverStats>& nameserversStats) { in expectStatsNotGreaterThan()
272 bool expectStatsEqualTo(const std::vector<NameserverStats>& nameserversStats) { in expectStatsEqualTo()
276 bool expectStatsFromGetResolverInfo(const std::vector<NameserverStats>& nameserversStats, in expectStatsFromGetResolverInfo()
1110 const std::vector<NameserverStats> targetStats = { in TEST_F()
1111 NameserverStats(listen_addr1).setInternalErrors(5), in TEST_F()
1112 NameserverStats(listen_addr2).setInternalErrors(5), in TEST_F()
1113 NameserverStats(listen_addr3).setSuccesses(setupParams.maxSamples), in TEST_F()
1163 const std::vector<NameserverStats> targetStats = { in TEST_F()
1164 NameserverStats(listen_addr1).setTimeouts(5), in TEST_F()
1165 NameserverStats(listen_addr2).setSuccesses(setupParams.maxSamples), in TEST_F()
1560 const std::vector<NameserverStats> expectedCleartextDnsStats = { in TEST_F()
1561 NameserverStats(listen_addr1).setTimeouts(1), in TEST_F()
1562 NameserverStats(listen_addr2).setErrors(1), in TEST_F()
1563 NameserverStats(listen_addr3).setSuccesses(1), in TEST_F()
1618 const std::vector<NameserverStats> expectedCleartextDnsStats = { in TEST_F()
1619 NameserverStats(listen_addr1), in TEST_F()
1620 NameserverStats(listen_addr2), in TEST_F()
1621 NameserverStats(listen_addr3).setSuccesses(1), in TEST_F()
4481 const std::vector<NameserverStats> expectedCleartextDnsStats = { in TEST_F()
4482 NameserverStats(unusable_listen_addr).setInternalErrors(1), in TEST_F()
4483 NameserverStats(listen_addr).setSuccesses(1), in TEST_F()
5174 const std::vector<NameserverStats> expectedEmptyDnsStats = { in TEST_F()
5175 NameserverStats(listen_addr1), in TEST_F()
5176 NameserverStats(listen_addr2), in TEST_F()