Typedefs | |
using | AddrInfo = std::unique_ptr< ares_addrinfo, AddrInfoDeleter > |
Functions | |
ACTION_P2 (CancelChannel, mockserver, channel) | |
ACTION_P2 (SetReply, mockserver, reply) | |
ACTION_P2 (SetReplyData, mockserver, data) | |
ACTION_P2 (SetReplyQID, mockserver, qid) | |
void | AddrInfoCallback (void *data, int status, int timeouts, struct ares_addrinfo *ai) |
void | CheckPtoN4 (int size, unsigned int value, const char *input) |
static int | configure_socket (ares_socket_t s) |
std::string | ExpandName (const std::vector< byte > &data, int offset, long *enclen) |
std::vector< std::string > | GetNameServers (ares_channel channel) |
void | HostCallback (void *data, int status, int timeouts, struct hostent *hostent) |
INSTANTIATE_TEST_CASE_P (AddressFamilies, MockChannelTest, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamilies, MockEDNSChannelTest, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamilies, MockExtraOptsTest, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamilies, MockNoCheckRespChannelTest, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamilies, MockTCPChannelTest, ::testing::ValuesIn(ares::test::families)) | |
INSTANTIATE_TEST_CASE_P (AddressFamilies, MockUDPChannelTest, ::testing::ValuesIn(ares::test::families)) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockChannelTestAI, ::testing::Values(std::make_pair< int, bool >(AF_INET, false))) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockEDNSChannelTestAI, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockExtraOptsNDots5TestAI, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockExtraOptsTestAI, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockNoCheckRespChannelTestAI, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockTCPChannelTestAI, ::testing::ValuesIn(ares::test::families)) | |
INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockUDPChannelTestAI, ::testing::ValuesIn(ares::test::families)) | |
INSTANTIATE_TEST_CASE_P (Modes, DefaultChannelModeTest, ::testing::Values("f", "b", "fb", "bf")) | |
INSTANTIATE_TEST_CASE_P (TransportModes, NoRotateMultiMockTest, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (TransportModes, RotateMultiMockTest, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (TransportModesAI, NoRotateMultiMockTestAI, ::testing::ValuesIn(ares::test::families_modes)) | |
INSTANTIATE_TEST_CASE_P (TransportModesAI, RotateMultiMockTestAI, ::testing::ValuesIn(ares::test::families_modes)) | |
MATCHER_P (IncludesAddrType, addrtype, "") | |
MATCHER_P (IncludesAtLeastNumAddresses, n, "") | |
MATCHER_P (IncludesNumAddresses, n, "") | |
MATCHER_P (IncludesV4Address, address, "") | |
MATCHER_P (IncludesV6Address, address, "") | |
MATCHER_P (OnlyIncludesAddrType, addrtype, "") | |
void | NameInfoCallback (void *data, int status, int timeouts, char *node, char *service) |
std::set< int > | NoExtraFDs () |
std::ostream & | operator<< (std::ostream &os, const AddrInfo &ai) |
std::ostream & | operator<< (std::ostream &os, const AddrInfoResult &result) |
std::ostream & | operator<< (std::ostream &os, const HostEnt &host) |
std::ostream & | operator<< (std::ostream &os, const HostResult &result) |
std::ostream & | operator<< (std::ostream &os, const NameInfoResult &result) |
std::ostream & | operator<< (std::ostream &os, const SearchResult &result) |
void | ProcessWork (ares_channel channel, std::function< std::set< int >()> get_extrafds, std::function< void(int)> process_extra) |
void | SearchCallback (void *data, int status, int timeouts, unsigned char *abuf, int alen) |
static int | SocketConfigureCallback (ares_socket_t fd, int type, void *data) |
static int | SocketConnectCallback (ares_socket_t fd, int type, void *data) |
std::string | TempNam (const char *dir, const char *prefix) |
TEST (DNSProto, EncodeAddressAnswers) | |
TEST (DNSProto, EncodeQuestions) | |
TEST (DNSProto, EncodeSingleNameAnswers) | |
TEST (LibraryInit, Basic) | |
TEST (LibraryInit, BasicChannelInit) | |
TEST (LibraryInit, DISABLED_InvalidParam) | |
TEST (LibraryInit, Nested) | |
TEST (LibraryInit, StrdupFailures) | |
TEST (LibraryInit, UnexpectedCleanup) | |
TEST (Misc, Bitncmp) | |
TEST (Misc, GetHostent) | |
TEST (Misc, OnionDomain) | |
TEST_F (DefaultChannelTest, GetAddrInfoHostsByALias) | |
TEST_F (DefaultChannelTest, GetAddrInfoHostsIPV6) | |
TEST_F (DefaultChannelTest, GetAddrInfoHostsPositive) | |
TEST_F (DefaultChannelTest, GetAddrInfoHostsSpaces) | |
TEST_F (DefaultChannelTest, GetAddrinfoOnionDomain) | |
TEST_F (DefaultChannelTest, GetServers) | |
TEST_F (DefaultChannelTest, GetServersFailures) | |
TEST_F (DefaultChannelTest, HostByNameFileOnionDomain) | |
TEST_F (DefaultChannelTest, HostByNameOnionDomain) | |
TEST_F (DefaultChannelTest, LiveSetServers) | |
TEST_F (DefaultChannelTest, LiveSetServersCSV) | |
TEST_F (DefaultChannelTest, LiveSetServersPorts) | |
TEST_F (DefaultChannelTest, SaveInvalidChannel) | |
TEST_F (DefaultChannelTest, SearchOnionDomain) | |
TEST_F (DefaultChannelTest, SendFailure) | |
TEST_F (DefaultChannelTest, SetAddresses) | |
TEST_F (DefaultChannelTest, SetServers) | |
TEST_F (DefaultChannelTest, SetServersCSV) | |
TEST_F (DefaultChannelTest, SetServersPorts) | |
TEST_F (DefaultChannelTest, SetSortlistAllocFail) | |
TEST_F (DefaultChannelTest, SetSortlistFailures) | |
TEST_F (DefaultChannelTest, SetSortlistVariants) | |
TEST_F (DefaultChannelTest, TimeoutValue) | |
TEST_F (DefaultChannelTest, VerifySocketFunctionCallback) | |
TEST_F (LibraryTest, Casts) | |
TEST_F (LibraryTest, ChannelAllocFail) | |
TEST_F (LibraryTest, CreateEDNSQuery) | |
TEST_F (LibraryTest, CreateQuery) | |
TEST_F (LibraryTest, CreateQueryFailures) | |
TEST_F (LibraryTest, CreateQueryNameTooLong) | |
TEST_F (LibraryTest, CreateQueryOnionDomain) | |
TEST_F (LibraryTest, CreateQueryTrailingEscapedDot) | |
TEST_F (LibraryTest, CreateRootQuery) | |
TEST_F (LibraryTest, DISABLED_ParseAReplyVariantCnameLast) | |
TEST_F (LibraryTest, EnvInit) | |
TEST_F (LibraryTest, EnvInitAllocFail) | |
TEST_F (LibraryTest, ExpandName) | |
TEST_F (LibraryTest, ExpandNameFailure) | |
TEST_F (LibraryTest, ExpandString) | |
TEST_F (LibraryTest, FailChannelInit) | |
TEST_F (LibraryTest, FreeCorruptData) | |
TEST_F (LibraryTest, FreeLongChain) | |
TEST_F (LibraryTest, GetAddrInfoAllocFail) | |
TEST_F (LibraryTest, GetHostentAllocFail) | |
TEST_F (LibraryTest, GetTCPSock) | |
TEST_F (LibraryTest, InetNtoP) | |
TEST_F (LibraryTest, InetPtoN) | |
TEST_F (LibraryTest, MallocDataFail) | |
TEST_F (LibraryTest, Mkquery) | |
TEST_F (LibraryTest, OptionsChannelAllocFail) | |
TEST_F (LibraryTest, OptionsChannelInit) | |
TEST_F (LibraryTest, ParseAaaaReplyAllocFail) | |
TEST_F (LibraryTest, ParseAaaaReplyCname) | |
TEST_F (LibraryTest, ParseAaaaReplyErrors) | |
TEST_F (LibraryTest, ParseAaaaReplyNoData) | |
TEST_F (LibraryTest, ParseAaaaReplyOK) | |
TEST_F (LibraryTest, ParseAReplyAllocFail) | |
TEST_F (LibraryTest, ParseAReplyErrors) | |
TEST_F (LibraryTest, ParseAReplyJustCname) | |
TEST_F (LibraryTest, ParseAReplyNoData) | |
TEST_F (LibraryTest, ParseAReplyOK) | |
TEST_F (LibraryTest, ParseAReplyVariantA) | |
TEST_F (LibraryTest, ParseAReplyVariantCname) | |
TEST_F (LibraryTest, ParseAReplyVariantCnameChain) | |
TEST_F (LibraryTest, ParseCaaBogusReply1) | |
TEST_F (LibraryTest, ParseCaaBogusReply2) | |
TEST_F (LibraryTest, ParseCaaBogusReply3) | |
TEST_F (LibraryTest, ParseCaaEmptyReply) | |
TEST_F (LibraryTest, ParseCaaReplyMultipleOK) | |
TEST_F (LibraryTest, ParseCaaReplySingleOK) | |
TEST_F (LibraryTest, ParseFullyCompressedName) | |
TEST_F (LibraryTest, ParseFullyCompressedName2) | |
TEST_F (LibraryTest, ParseIndirectRootName) | |
TEST_F (LibraryTest, ParseMalformedAReply) | |
TEST_F (LibraryTest, ParseManyPtrReply) | |
TEST_F (LibraryTest, ParseMxReplyAllocFail) | |
TEST_F (LibraryTest, ParseMxReplyErrors) | |
TEST_F (LibraryTest, ParseMxReplyMalformed) | |
TEST_F (LibraryTest, ParseMxReplyOK) | |
TEST_F (LibraryTest, ParseNaptrReplyAllocFail) | |
TEST_F (LibraryTest, ParseNaptrReplyErrors) | |
TEST_F (LibraryTest, ParseNaptrReplyOK) | |
TEST_F (LibraryTest, ParseNaptrReplyTooShort) | |
TEST_F (LibraryTest, ParseNsReplyAllocFail) | |
TEST_F (LibraryTest, ParseNsReplyErrors) | |
TEST_F (LibraryTest, ParseNsReplyMultiple) | |
TEST_F (LibraryTest, ParseNsReplyOK) | |
TEST_F (LibraryTest, ParsePartialCompressedName) | |
TEST_F (LibraryTest, ParsePtrReplyAdditional) | |
TEST_F (LibraryTest, ParsePtrReplyAllocFailMany) | |
TEST_F (LibraryTest, ParsePtrReplyAllocFailSome) | |
TEST_F (LibraryTest, ParsePtrReplyCname) | |
TEST_F (LibraryTest, ParsePtrReplyErrors) | |
TEST_F (LibraryTest, ParsePtrReplyMalformedCname) | |
TEST_F (LibraryTest, ParsePtrReplyOK) | |
TEST_F (LibraryTest, ParseRootName) | |
TEST_F (LibraryTest, ParseSoaAnyReplyAllocFail) | |
TEST_F (LibraryTest, ParseSoaAnyReplyErrors) | |
TEST_F (LibraryTest, ParseSoaAnyReplyOK) | |
TEST_F (LibraryTest, ParseSoaReplyAllocFail) | |
TEST_F (LibraryTest, ParseSoaReplyErrors) | |
TEST_F (LibraryTest, ParseSoaReplyOK) | |
TEST_F (LibraryTest, ParseSrvReplyAllocFail) | |
TEST_F (LibraryTest, ParseSrvReplyCname) | |
TEST_F (LibraryTest, ParseSrvReplyCnameMultiple) | |
TEST_F (LibraryTest, ParseSrvReplyErrors) | |
TEST_F (LibraryTest, ParseSrvReplyMalformed) | |
TEST_F (LibraryTest, ParseSrvReplyMultiple) | |
TEST_F (LibraryTest, ParseSrvReplyOK) | |
TEST_F (LibraryTest, ParseSrvReplySingle) | |
TEST_F (LibraryTest, ParseTxtExtReplyOK) | |
TEST_F (LibraryTest, ParseTxtMalformedReply1) | |
TEST_F (LibraryTest, ParseTxtMalformedReply2) | |
TEST_F (LibraryTest, ParseTxtMalformedReply3) | |
TEST_F (LibraryTest, ParseTxtMalformedReply4) | |
TEST_F (LibraryTest, ParseTxtReplyAllocFail) | |
TEST_F (LibraryTest, ParseTxtReplyErrors) | |
TEST_F (LibraryTest, ParseTxtReplyOK) | |
TEST_F (LibraryTest, ReadLine) | |
TEST_F (LibraryTest, ReadLineNoBuf) | |
TEST_F (LibraryTest, StrdupFailures) | |
TEST_F (LibraryTest, Strerror) | |
TEST_F (LibraryTest, Version) | |
TEST_P (DefaultChannelModeTest, LiveGetHostByAddrFailAddrSize) | |
TEST_P (DefaultChannelModeTest, LiveGetHostByAddrFailAlloc) | |
TEST_P (DefaultChannelModeTest, LiveGetHostByAddrFailFamily) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostByAddrV4) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostByAddrV6) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameIPV4) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameIPV6) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameV4) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameV6) | |
TEST_P (DefaultChannelModeTest, LiveGetLocalhostFailFamily) | |
TEST_P (MockChannelTest, Basic) | |
TEST_P (MockChannelTest, CancelImmediate) | |
TEST_P (MockChannelTest, CancelImmediateGetHostByAddr) | |
TEST_P (MockChannelTest, ExplicitIP) | |
TEST_P (MockChannelTest, ExplicitIPAllocFail) | |
TEST_P (MockChannelTest, GetHostByAddrDestroy) | |
TEST_P (MockChannelTest, GetHostByNameCNAMENoData) | |
TEST_P (MockChannelTest, GetHostByNameDestroyAbsolute) | |
TEST_P (MockChannelTest, GetHostByNameDestroyRelative) | |
TEST_P (MockChannelTest, HostAlias) | |
TEST_P (MockChannelTest, HostAliasMissing) | |
TEST_P (MockChannelTest, HostAliasMissingFile) | |
TEST_P (MockChannelTest, HostAliasUnreadable) | |
TEST_P (MockChannelTest, SearchAllocFailure) | |
TEST_P (MockChannelTest, SearchDomains) | |
TEST_P (MockChannelTest, SearchDomainsBare) | |
TEST_P (MockChannelTest, SearchHighNdots) | |
TEST_P (MockChannelTest, SearchNoDataThenFail) | |
TEST_P (MockChannelTest, SearchNoDataThenNoDataBare) | |
TEST_P (MockChannelTest, SearchNoDataThenSuccess) | |
TEST_P (MockChannelTest, SockCallback) | |
TEST_P (MockChannelTest, SockConfigureCallback) | |
TEST_P (MockChannelTest, SockConfigureFailCallback) | |
TEST_P (MockChannelTest, SockFailCallback) | |
TEST_P (MockChannelTest, SortListV4) | |
TEST_P (MockChannelTest, SortListV6) | |
TEST_P (MockChannelTest, UnspecifiedFamilyCname6A4) | |
TEST_P (MockChannelTest, UnspecifiedFamilyNoData) | |
TEST_P (MockChannelTest, UnspecifiedFamilyV4) | |
TEST_P (MockChannelTest, UnspecifiedFamilyV6) | |
TEST_P (MockChannelTestAI, FamilyUnspecified) | |
TEST_P (MockChannelTestAI, FamilyV4) | |
TEST_P (MockChannelTestAI, FamilyV4_MultipleAddresses) | |
TEST_P (MockChannelTestAI, FamilyV4ServiceName) | |
TEST_P (MockChannelTestAI, FamilyV6) | |
TEST_P (MockChannelTestAI, SearchDomains) | |
TEST_P (MockChannelTestAI, SearchDomainsServFailOnAAAA) | |
TEST_P (MockEDNSChannelTest, RetryWithoutEDNS) | |
TEST_P (MockEDNSChannelTestAI, RetryWithoutEDNS) | |
TEST_P (MockExtraOptsNDots5TestAI, SimpleQuery) | |
TEST_P (MockExtraOptsTest, SimpleQuery) | |
TEST_P (MockExtraOptsTestAI, SimpleQuery) | |
TEST_P (MockNoCheckRespChannelTest, NotImplResponse) | |
TEST_P (MockNoCheckRespChannelTest, RefusedResponse) | |
TEST_P (MockNoCheckRespChannelTest, ServFailResponse) | |
TEST_P (MockNoCheckRespChannelTestAI, NotImplResponse) | |
TEST_P (MockNoCheckRespChannelTestAI, RefusedResponse) | |
TEST_P (MockNoCheckRespChannelTestAI, ServFailResponse) | |
TEST_P (MockTCPChannelTest, FormErrResponse) | |
TEST_P (MockTCPChannelTest, MalformedResponse) | |
TEST_P (MockTCPChannelTest, NotImplResponse) | |
TEST_P (MockTCPChannelTest, RefusedResponse) | |
TEST_P (MockTCPChannelTest, ServFailResponse) | |
TEST_P (MockTCPChannelTest, YXDomainResponse) | |
TEST_P (MockTCPChannelTestAI, FormErrResponse) | |
TEST_P (MockTCPChannelTestAI, MalformedResponse) | |
TEST_P (MockTCPChannelTestAI, NotImplResponse) | |
TEST_P (MockTCPChannelTestAI, RefusedResponse) | |
TEST_P (MockTCPChannelTestAI, ServFailResponse) | |
TEST_P (MockTCPChannelTestAI, YXDomainResponse) | |
TEST_P (MockUDPChannelTest, CancelLater) | |
TEST_P (MockUDPChannelTest, GetHostByNameParallelLookups) | |
TEST_P (MockUDPChannelTest, Resend) | |
TEST_P (MockUDPChannelTest, SearchDomainsAllocFail) | |
TEST_P (MockUDPChannelTest, SearchDomainsWithResentReply) | |
TEST_P (MockUDPChannelTest, TruncationRetry) | |
TEST_P (MockUDPChannelTestAI, GetAddrInfoParallelLookups) | |
TEST_P (MockUDPChannelTestAI, TruncationRetry) | |
TEST_P (NoRotateMultiMockTest, ThirdServer) | |
TEST_P (NoRotateMultiMockTestAI, ThirdServer) | |
TEST_P (RotateMultiMockTest, ThirdServer) | |
TEST_P (RotateMultiMockTestAI, ThirdServer) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, GetSock) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByAddrV4) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByAddrV6) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByNameFile) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByNameV4) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByNameV6) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoAllocFail) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4NoPort) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4NotFound) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4NotFoundFail) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4Numeric) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4UnassignedPort) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6Both) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6LinkLocal) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6Neither) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6NotFound) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6Numeric) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInvalidFamily) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInvalidFlags) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetServiceInfo) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetServiceInfoNumeric) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchA) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchANY) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchEmptyA) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchMX) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchNS) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchSOA) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchSRV) | |
VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchTXT) | |
Variables | |
const std::vector< int > | both_families = {AF_INET, AF_INET6} |
const std::vector< std::pair< int, bool > > | both_families_both_modes |
static constexpr int | dynamic_port = 0 |
std::vector< int > | families = both_families |
std::vector< std::pair< int, bool > > | families_modes = both_families_both_modes |
unsigned char | gdns_addr4 [4] = {0x08, 0x08, 0x08, 0x08} |
unsigned char | gdns_addr6 [16] |
const std::vector< int > | ipv4_family = {AF_INET} |
const std::vector< std::pair< int, bool > > | ipv4_family_both_modes |
const std::vector< int > | ipv6_family = {AF_INET6} |
const std::vector< std::pair< int, bool > > | ipv6_family_both_modes |
int | mock_port = dynamic_port |
static int | sock_cb_count = 0 |
static int | sock_config_cb_count = 0 |
bool | verbose = false |
using ares::test::AddrInfo = typedef std::unique_ptr<ares_addrinfo, AddrInfoDeleter> |
Definition at line 289 of file ares-test.h.
ares::test::ACTION_P2 | ( | CancelChannel | , |
mockserver | , | ||
channel | |||
) |
Definition at line 232 of file ares-test.h.
ares::test::ACTION_P2 | ( | SetReply | , |
mockserver | , | ||
reply | |||
) |
Definition at line 225 of file ares-test.h.
ares::test::ACTION_P2 | ( | SetReplyData | , |
mockserver | , | ||
data | |||
) |
Definition at line 222 of file ares-test.h.
ares::test::ACTION_P2 | ( | SetReplyQID | , |
mockserver | , | ||
qid | |||
) |
Definition at line 228 of file ares-test.h.
void ares::test::AddrInfoCallback | ( | void * | data, |
int | status, | ||
int | timeouts, | ||
struct ares_addrinfo * | ai | ||
) |
Definition at line 664 of file ares-test.cc.
Definition at line 40 of file ares-test-internal.cc.
|
static |
Definition at line 519 of file ares-test-internal.cc.
Definition at line 308 of file ares-test-misc.cc.
std::vector< std::string > ares::test::GetNameServers | ( | ares_channel | channel | ) |
Definition at line 720 of file ares-test.cc.
Definition at line 591 of file ares-test.cc.
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamilies | , |
MockChannelTest | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamilies | , |
MockEDNSChannelTest | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamilies | , |
MockExtraOptsTest | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamilies | , |
MockNoCheckRespChannelTest | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamilies | , |
MockTCPChannelTest | , | ||
::testing::ValuesIn(ares::test::families) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamilies | , |
MockUDPChannelTest | , | ||
::testing::ValuesIn(ares::test::families) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockChannelTestAI | , | ||
::testing::Values(std::make_pair< int, bool >(AF_INET, false)) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockEDNSChannelTestAI | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockExtraOptsNDots5TestAI | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockExtraOptsTestAI | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockNoCheckRespChannelTestAI | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockTCPChannelTestAI | , | ||
::testing::ValuesIn(ares::test::families) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | AddressFamiliesAI | , |
MockUDPChannelTestAI | , | ||
::testing::ValuesIn(ares::test::families) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | Modes | , |
DefaultChannelModeTest | , | ||
::testing::Values("f", "b", "fb", "bf") | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | TransportModes | , |
NoRotateMultiMockTest | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | TransportModes | , |
RotateMultiMockTest | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | TransportModesAI | , |
NoRotateMultiMockTestAI | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::INSTANTIATE_TEST_CASE_P | ( | TransportModesAI | , |
RotateMultiMockTestAI | , | ||
::testing::ValuesIn(ares::test::families_modes) | |||
) |
ares::test::MATCHER_P | ( | IncludesAddrType | , |
addrtype | , | ||
"" | |||
) |
Definition at line 39 of file ares-test-live.cc.
ares::test::MATCHER_P | ( | IncludesAtLeastNumAddresses | , |
n | , | ||
"" | |||
) |
Definition at line 21 of file ares-test-live.cc.
ares::test::MATCHER_P | ( | IncludesNumAddresses | , |
n | , | ||
"" | |||
) |
Definition at line 17 of file ares-test-mock-ai.cc.
ares::test::MATCHER_P | ( | IncludesV4Address | , |
address | , | ||
"" | |||
) |
Definition at line 26 of file ares-test-mock-ai.cc.
ares::test::MATCHER_P | ( | IncludesV6Address | , |
address | , | ||
"" | |||
) |
Definition at line 42 of file ares-test-mock-ai.cc.
ares::test::MATCHER_P | ( | OnlyIncludesAddrType | , |
addrtype | , | ||
"" | |||
) |
Definition at line 30 of file ares-test-live.cc.
void ares::test::NameInfoCallback | ( | void * | data, |
int | status, | ||
int | timeouts, | ||
char * | node, | ||
char * | service | ||
) |
Definition at line 708 of file ares-test.cc.
std::set< int > ares::test::NoExtraFDs | ( | ) |
Definition at line 163 of file ares-test.cc.
Definition at line 613 of file ares-test.cc.
std::ostream & ares::test::operator<< | ( | std::ostream & | os, |
const AddrInfoResult & | result | ||
) |
Definition at line 602 of file ares-test.cc.
Definition at line 572 of file ares-test.cc.
std::ostream & ares::test::operator<< | ( | std::ostream & | os, |
const HostResult & | result | ||
) |
Definition at line 538 of file ares-test.cc.
std::ostream & ares::test::operator<< | ( | std::ostream & | os, |
const NameInfoResult & | result | ||
) |
Definition at line 697 of file ares-test.cc.
std::ostream & ares::test::operator<< | ( | std::ostream & | os, |
const SearchResult & | result | ||
) |
Definition at line 675 of file ares-test.cc.
void ares::test::ProcessWork | ( | ares_channel | channel, |
std::function< std::set< int >()> | get_extrafds, | ||
std::function< void(int)> | process_extra | ||
) |
Definition at line 64 of file ares-test.cc.
void ares::test::SearchCallback | ( | void * | data, |
int | status, | ||
int | timeouts, | ||
unsigned char * | abuf, | ||
int | alen | ||
) |
Definition at line 686 of file ares-test.cc.
|
static |
Definition at line 156 of file ares-test-mock.cc.
|
static |
Definition at line 111 of file ares-test-mock.cc.
Definition at line 783 of file ares-test.cc.
ares::test::TEST | ( | DNSProto | , |
EncodeAddressAnswers | |||
) |
Definition at line 85 of file dns-proto-test.cc.
ares::test::TEST | ( | DNSProto | , |
EncodeQuestions | |||
) |
Definition at line 9 of file dns-proto-test.cc.
ares::test::TEST | ( | DNSProto | , |
EncodeSingleNameAnswers | |||
) |
Definition at line 40 of file dns-proto-test.cc.
ares::test::TEST | ( | LibraryInit | , |
Basic | |||
) |
Definition at line 13 of file ares-test-init.cc.
ares::test::TEST | ( | LibraryInit | , |
BasicChannelInit | |||
) |
Definition at line 46 of file ares-test-init.cc.
ares::test::TEST | ( | LibraryInit | , |
DISABLED_InvalidParam | |||
) |
Definition at line 27 of file ares-test-init.cc.
ares::test::TEST | ( | LibraryInit | , |
Nested | |||
) |
Definition at line 34 of file ares-test-init.cc.
ares::test::TEST | ( | LibraryInit | , |
StrdupFailures | |||
) |
Definition at line 200 of file ares-test-internal.cc.
ares::test::TEST | ( | LibraryInit | , |
UnexpectedCleanup | |||
) |
Definition at line 21 of file ares-test-init.cc.
ares::test::TEST | ( | Misc | , |
Bitncmp | |||
) |
Definition at line 220 of file ares-test-internal.cc.
ares::test::TEST | ( | Misc | , |
GetHostent | |||
) |
Definition at line 300 of file ares-test-internal.cc.
ares::test::TEST | ( | Misc | , |
OnionDomain | |||
) |
Definition at line 460 of file ares-test-internal.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetAddrInfoHostsByALias | |||
) |
Definition at line 399 of file ares-test-internal.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetAddrInfoHostsIPV6 | |||
) |
Definition at line 419 of file ares-test-internal.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetAddrInfoHostsPositive | |||
) |
Definition at line 359 of file ares-test-internal.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetAddrInfoHostsSpaces | |||
) |
Definition at line 379 of file ares-test-internal.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetAddrinfoOnionDomain | |||
) |
Definition at line 280 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetServers | |||
) |
Definition at line 10 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
GetServersFailures | |||
) |
Definition at line 19 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
HostByNameFileOnionDomain | |||
) |
Definition at line 274 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
HostByNameOnionDomain | |||
) |
Definition at line 267 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
LiveSetServers | |||
) |
Definition at line 699 of file ares-test-live.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
LiveSetServersCSV | |||
) |
Definition at line 738 of file ares-test-live.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
LiveSetServersPorts | |||
) |
Definition at line 716 of file ares-test-live.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SaveInvalidChannel | |||
) |
Definition at line 508 of file ares-test-internal.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SearchOnionDomain | |||
) |
Definition at line 292 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SendFailure | |||
) |
Definition at line 300 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetAddresses | |||
) |
Definition at line 263 of file ares-test-init.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetServers | |||
) |
Definition at line 30 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetServersCSV | |||
) |
Definition at line 74 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetServersPorts | |||
) |
Definition at line 50 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetSortlistAllocFail | |||
) |
Definition at line 286 of file ares-test-init.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetSortlistFailures | |||
) |
Definition at line 271 of file ares-test-init.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
SetSortlistVariants | |||
) |
Definition at line 277 of file ares-test-init.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
TimeoutValue | |||
) |
Definition at line 121 of file ares-test-misc.cc.
ares::test::TEST_F | ( | DefaultChannelTest | , |
VerifySocketFunctionCallback | |||
) |
Definition at line 661 of file ares-test-live.cc.
ares::test::TEST_F | ( | LibraryTest | , |
Casts | |||
) |
Definition at line 243 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ChannelAllocFail | |||
) |
Definition at line 125 of file ares-test-init.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateEDNSQuery | |||
) |
Definition at line 453 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateQuery | |||
) |
Definition at line 180 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateQueryFailures | |||
) |
Definition at line 221 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateQueryNameTooLong | |||
) |
Definition at line 209 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateQueryOnionDomain | |||
) |
Definition at line 259 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateQueryTrailingEscapedDot | |||
) |
Definition at line 196 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
CreateRootQuery | |||
) |
Definition at line 470 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
DISABLED_ParseAReplyVariantCnameLast | |||
) |
Definition at line 243 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
EnvInit | |||
) |
Definition at line 237 of file ares-test-init.cc.
ares::test::TEST_F | ( | LibraryTest | , |
EnvInitAllocFail | |||
) |
Definition at line 245 of file ares-test-init.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ExpandName | |||
) |
Definition at line 324 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ExpandNameFailure | |||
) |
Definition at line 371 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ExpandString | |||
) |
Definition at line 502 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
FailChannelInit | |||
) |
Definition at line 223 of file ares-test-init.cc.
ares::test::TEST_F | ( | LibraryTest | , |
FreeCorruptData | |||
) |
Definition at line 166 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
FreeLongChain | |||
) |
Definition at line 189 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
GetAddrInfoAllocFail | |||
) |
Definition at line 439 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
GetHostentAllocFail | |||
) |
Definition at line 343 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
GetTCPSock | |||
) |
Definition at line 633 of file ares-test-live.cc.
ares::test::TEST_F | ( | LibraryTest | , |
InetNtoP | |||
) |
Definition at line 158 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
InetPtoN | |||
) |
Definition at line 50 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
MallocDataFail | |||
) |
Definition at line 214 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
Mkquery | |||
) |
Definition at line 166 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
OptionsChannelAllocFail | |||
) |
Definition at line 141 of file ares-test-init.cc.
ares::test::TEST_F | ( | LibraryTest | , |
OptionsChannelInit | |||
) |
Definition at line 55 of file ares-test-init.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAaaaReplyAllocFail | |||
) |
Definition at line 169 of file ares-test-parse-aaaa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAaaaReplyCname | |||
) |
Definition at line 40 of file ares-test-parse-aaaa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAaaaReplyErrors | |||
) |
Definition at line 96 of file ares-test-parse-aaaa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAaaaReplyNoData | |||
) |
Definition at line 75 of file ares-test-parse-aaaa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAaaaReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-aaaa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyAllocFail | |||
) |
Definition at line 356 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyErrors | |||
) |
Definition at line 271 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyJustCname | |||
) |
Definition at line 167 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyNoData | |||
) |
Definition at line 119 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyVariantA | |||
) |
Definition at line 146 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyVariantCname | |||
) |
Definition at line 186 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseAReplyVariantCnameChain | |||
) |
Definition at line 218 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseCaaBogusReply1 | |||
) |
Definition at line 57 of file ares-test-parse-caa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseCaaBogusReply2 | |||
) |
Definition at line 70 of file ares-test-parse-caa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseCaaBogusReply3 | |||
) |
Definition at line 83 of file ares-test-parse-caa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseCaaEmptyReply | |||
) |
Definition at line 96 of file ares-test-parse-caa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseCaaReplyMultipleOK | |||
) |
Definition at line 10 of file ares-test-parse-caa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseCaaReplySingleOK | |||
) |
Definition at line 36 of file ares-test-parse-caa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseFullyCompressedName | |||
) |
Definition at line 149 of file ares-test-parse.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseFullyCompressedName2 | |||
) |
Definition at line 185 of file ares-test-parse.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseIndirectRootName | |||
) |
Definition at line 29 of file ares-test-parse.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseMalformedAReply | |||
) |
Definition at line 75 of file ares-test-parse-a.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseManyPtrReply | |||
) |
Definition at line 77 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseMxReplyAllocFail | |||
) |
Definition at line 124 of file ares-test-parse-mx.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseMxReplyErrors | |||
) |
Definition at line 65 of file ares-test-parse-mx.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseMxReplyMalformed | |||
) |
Definition at line 33 of file ares-test-parse-mx.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseMxReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-mx.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNaptrReplyAllocFail | |||
) |
Definition at line 129 of file ares-test-parse-naptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNaptrReplyErrors | |||
) |
Definition at line 43 of file ares-test-parse-naptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNaptrReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-naptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNaptrReplyTooShort | |||
) |
Definition at line 100 of file ares-test-parse-naptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNsReplyAllocFail | |||
) |
Definition at line 101 of file ares-test-parse-ns.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNsReplyErrors | |||
) |
Definition at line 49 of file ares-test-parse-ns.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNsReplyMultiple | |||
) |
Definition at line 26 of file ares-test-parse-ns.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseNsReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-ns.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePartialCompressedName | |||
) |
Definition at line 112 of file ares-test-parse.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyAdditional | |||
) |
Definition at line 101 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyAllocFailMany | |||
) |
Definition at line 216 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyAllocFailSome | |||
) |
Definition at line 196 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyCname | |||
) |
Definition at line 28 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyErrors | |||
) |
Definition at line 125 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyMalformedCname | |||
) |
Definition at line 62 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParsePtrReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-ptr.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseRootName | |||
) |
Definition at line 10 of file ares-test-parse.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSoaAnyReplyAllocFail | |||
) |
Definition at line 93 of file ares-test-parse-soa-any.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSoaAnyReplyErrors | |||
) |
Definition at line 35 of file ares-test-parse-soa-any.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSoaAnyReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-soa-any.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSoaReplyAllocFail | |||
) |
Definition at line 90 of file ares-test-parse-soa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSoaReplyErrors | |||
) |
Definition at line 32 of file ares-test-parse-soa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSoaReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-soa.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyAllocFail | |||
) |
Definition at line 271 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyCname | |||
) |
Definition at line 142 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyCnameMultiple | |||
) |
Definition at line 170 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyErrors | |||
) |
Definition at line 217 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyMalformed | |||
) |
Definition at line 65 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyMultiple | |||
) |
Definition at line 96 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseSrvReplySingle | |||
) |
Definition at line 38 of file ares-test-parse-srv.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtExtReplyOK | |||
) |
Definition at line 41 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtMalformedReply1 | |||
) |
Definition at line 75 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtMalformedReply2 | |||
) |
Definition at line 106 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtMalformedReply3 | |||
) |
Definition at line 134 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtMalformedReply4 | |||
) |
Definition at line 165 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtReplyAllocFail | |||
) |
Definition at line 243 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtReplyErrors | |||
) |
Definition at line 187 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ParseTxtReplyOK | |||
) |
Definition at line 10 of file ares-test-parse-txt.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ReadLine | |||
) |
Definition at line 258 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
ReadLineNoBuf | |||
) |
Definition at line 278 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
StrdupFailures | |||
) |
Definition at line 208 of file ares-test-internal.cc.
ares::test::TEST_F | ( | LibraryTest | , |
Strerror | |||
) |
Definition at line 493 of file ares-test-misc.cc.
ares::test::TEST_F | ( | LibraryTest | , |
Version | |||
) |
Definition at line 484 of file ares-test-misc.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetHostByAddrFailAddrSize | |||
) |
Definition at line 252 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetHostByAddrFailAlloc | |||
) |
Definition at line 261 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetHostByAddrFailFamily | |||
) |
Definition at line 243 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostByAddrV4 | |||
) |
Definition at line 206 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostByAddrV6 | |||
) |
Definition at line 225 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostByNameIPV4 | |||
) |
Definition at line 170 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostByNameIPV6 | |||
) |
Definition at line 183 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostByNameV4 | |||
) |
Definition at line 143 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostByNameV6 | |||
) |
Definition at line 156 of file ares-test-live.cc.
ares::test::TEST_P | ( | DefaultChannelModeTest | , |
LiveGetLocalhostFailFamily | |||
) |
Definition at line 198 of file ares-test-live.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
Basic | |||
) |
Definition at line 13 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
CancelImmediate | |||
) |
Definition at line 877 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
CancelImmediateGetHostByAddr | |||
) |
Definition at line 886 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
ExplicitIP | |||
) |
Definition at line 716 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
ExplicitIPAllocFail | |||
) |
Definition at line 726 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
GetHostByAddrDestroy | |||
) |
Definition at line 954 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
GetHostByNameCNAMENoData | |||
) |
Definition at line 939 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
GetHostByNameDestroyAbsolute | |||
) |
Definition at line 915 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
GetHostByNameDestroyRelative | |||
) |
Definition at line 927 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
HostAlias | |||
) |
Definition at line 968 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
HostAliasMissing | |||
) |
Definition at line 988 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
HostAliasMissingFile | |||
) |
Definition at line 1007 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
HostAliasUnreadable | |||
) |
Definition at line 1025 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchAllocFailure | |||
) |
Definition at line 595 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchDomains | |||
) |
Definition at line 416 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchDomainsBare | |||
) |
Definition at line 475 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchHighNdots | |||
) |
Definition at line 604 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchNoDataThenFail | |||
) |
Definition at line 565 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchNoDataThenNoDataBare | |||
) |
Definition at line 535 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SearchNoDataThenSuccess | |||
) |
Definition at line 507 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SockCallback | |||
) |
Definition at line 118 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SockConfigureCallback | |||
) |
Definition at line 163 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SockConfigureFailCallback | |||
) |
Definition at line 186 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SockFailCallback | |||
) |
Definition at line 141 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SortListV4 | |||
) |
Definition at line 734 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
SortListV6 | |||
) |
Definition at line 772 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
UnspecifiedFamilyCname6A4 | |||
) |
Definition at line 693 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
UnspecifiedFamilyNoData | |||
) |
Definition at line 671 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
UnspecifiedFamilyV4 | |||
) |
Definition at line 649 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTest | , |
UnspecifiedFamilyV6 | |||
) |
Definition at line 629 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
FamilyUnspecified | |||
) |
Definition at line 468 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
FamilyV4 | |||
) |
Definition at line 428 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
FamilyV4_MultipleAddresses | |||
) |
Definition at line 447 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
FamilyV4ServiceName | |||
) |
Definition at line 720 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
FamilyV6 | |||
) |
Definition at line 407 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
SearchDomains | |||
) |
Definition at line 524 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockChannelTestAI | , |
SearchDomainsServFailOnAAAA | |||
) |
Definition at line 553 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockEDNSChannelTest | , |
RetryWithoutEDNS | |||
) |
Definition at line 396 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockEDNSChannelTestAI | , |
RetryWithoutEDNS | |||
) |
Definition at line 501 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockExtraOptsNDots5TestAI | , |
SimpleQuery | |||
) |
Definition at line 306 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockExtraOptsTest | , |
SimpleQuery | |||
) |
Definition at line 305 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockExtraOptsTestAI | , |
SimpleQuery | |||
) |
Definition at line 255 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockNoCheckRespChannelTest | , |
NotImplResponse | |||
) |
Definition at line 363 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockNoCheckRespChannelTest | , |
RefusedResponse | |||
) |
Definition at line 377 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockNoCheckRespChannelTest | , |
ServFailResponse | |||
) |
Definition at line 349 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockNoCheckRespChannelTestAI | , |
NotImplResponse | |||
) |
Definition at line 371 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockNoCheckRespChannelTestAI | , |
RefusedResponse | |||
) |
Definition at line 389 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockNoCheckRespChannelTestAI | , |
ServFailResponse | |||
) |
Definition at line 353 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockTCPChannelTest | , |
FormErrResponse | |||
) |
Definition at line 213 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockTCPChannelTest | , |
MalformedResponse | |||
) |
Definition at line 201 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockTCPChannelTest | , |
NotImplResponse | |||
) |
Definition at line 242 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockTCPChannelTest | , |
RefusedResponse | |||
) |
Definition at line 257 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockTCPChannelTest | , |
ServFailResponse | |||
) |
Definition at line 227 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockTCPChannelTest | , |
YXDomainResponse | |||
) |
Definition at line 272 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockTCPChannelTestAI | , |
FormErrResponse | |||
) |
Definition at line 143 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockTCPChannelTestAI | , |
MalformedResponse | |||
) |
Definition at line 128 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockTCPChannelTestAI | , |
NotImplResponse | |||
) |
Definition at line 180 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockTCPChannelTestAI | , |
RefusedResponse | |||
) |
Definition at line 199 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockTCPChannelTestAI | , |
ServFailResponse | |||
) |
Definition at line 161 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockTCPChannelTestAI | , |
YXDomainResponse | |||
) |
Definition at line 218 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockUDPChannelTest | , |
CancelLater | |||
) |
Definition at line 899 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockUDPChannelTest | , |
GetHostByNameParallelLookups | |||
) |
Definition at line 54 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockUDPChannelTest | , |
Resend | |||
) |
Definition at line 855 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockUDPChannelTest | , |
SearchDomainsAllocFail | |||
) |
Definition at line 810 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockUDPChannelTest | , |
SearchDomainsWithResentReply | |||
) |
Definition at line 444 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockUDPChannelTest | , |
TruncationRetry | |||
) |
Definition at line 90 of file ares-test-mock.cc.
ares::test::TEST_P | ( | MockUDPChannelTestAI | , |
GetAddrInfoParallelLookups | |||
) |
Definition at line 61 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | MockUDPChannelTestAI | , |
TruncationRetry | |||
) |
Definition at line 103 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | NoRotateMultiMockTest | , |
ThirdServer | |||
) |
Definition at line 1111 of file ares-test-mock.cc.
ares::test::TEST_P | ( | NoRotateMultiMockTestAI | , |
ThirdServer | |||
) |
Definition at line 675 of file ares-test-mock-ai.cc.
ares::test::TEST_P | ( | RotateMultiMockTest | , |
ThirdServer | |||
) |
Definition at line 1066 of file ares-test-mock.cc.
ares::test::TEST_P | ( | RotateMultiMockTestAI | , |
ThirdServer | |||
) |
Definition at line 630 of file ares-test-mock-ai.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
GetSock | |||
) |
Definition at line 615 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetHostByAddrV4 | |||
) |
Definition at line 105 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetHostByAddrV6 | |||
) |
Definition at line 115 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetHostByNameFile | |||
) |
Definition at line 125 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetHostByNameV4 | |||
) |
Definition at line 85 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetHostByNameV6 | |||
) |
Definition at line 95 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoAllocFail | |||
) |
Definition at line 599 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV4 | |||
) |
Definition at line 346 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV4NoPort | |||
) |
Definition at line 362 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV4NotFound | |||
) |
Definition at line 479 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV4NotFoundFail | |||
) |
Definition at line 497 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV4Numeric | |||
) |
Definition at line 426 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV4UnassignedPort | |||
) |
Definition at line 378 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV6Both | |||
) |
Definition at line 394 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV6LinkLocal | |||
) |
Definition at line 460 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV6Neither | |||
) |
Definition at line 410 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV6NotFound | |||
) |
Definition at line 513 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInfoV6Numeric | |||
) |
Definition at line 443 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInvalidFamily | |||
) |
Definition at line 533 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetNameInvalidFlags | |||
) |
Definition at line 548 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetServiceInfo | |||
) |
Definition at line 564 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveGetServiceInfoNumeric | |||
) |
Definition at line 581 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchA | |||
) |
Definition at line 274 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchANY | |||
) |
Definition at line 337 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchEmptyA | |||
) |
Definition at line 283 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchMX | |||
) |
Definition at line 301 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchNS | |||
) |
Definition at line 292 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchSOA | |||
) |
Definition at line 319 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchSRV | |||
) |
Definition at line 328 of file ares-test-live.cc.
ares::test::VIRT_NONVIRT_TEST_F | ( | DefaultChannelTest | , |
LiveSearchTXT | |||
) |
Definition at line 310 of file ares-test-live.cc.
Definition at line 38 of file ares-test.cc.
Definition at line 42 of file ares-test.cc.
|
staticconstexpr |
Definition at line 35 of file ares-test.cc.
std::vector< int > ares::test::families = both_families |
Definition at line 58 of file ares-test.cc.
std::vector< std::pair< int, bool > > ares::test::families_modes = both_families_both_modes |
Definition at line 59 of file ares-test.cc.
unsigned char ares::test::gdns_addr4[4] = {0x08, 0x08, 0x08, 0x08} |
Definition at line 17 of file ares-test-live.cc.
unsigned char ares::test::gdns_addr6[16] |
Definition at line 18 of file ares-test-live.cc.
Definition at line 39 of file ares-test.cc.
Definition at line 48 of file ares-test.cc.
Definition at line 40 of file ares-test.cc.
Definition at line 52 of file ares-test.cc.
int ares::test::mock_port = dynamic_port |
Definition at line 36 of file ares-test.cc.
|
static |
Definition at line 110 of file ares-test-mock.cc.
|
static |
Definition at line 155 of file ares-test-mock.cc.
Definition at line 34 of file ares-test.cc.