Home
last modified time | relevance | path

Searched refs:LibraryTest (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-init.cc55 TEST_F(LibraryTest, OptionsChannelInit) { in TEST_F() argument
125 TEST_F(LibraryTest, ChannelAllocFail) { in TEST_F() argument
141 TEST_F(LibraryTest, OptionsChannelAllocFail) { in TEST_F() argument
223 TEST_F(LibraryTest, FailChannelInit) { in TEST_F() argument
226 &LibraryTest::amalloc, in TEST_F()
227 &LibraryTest::afree, in TEST_F()
228 &LibraryTest::arealloc)); in TEST_F()
237 TEST_F(LibraryTest, EnvInit) { in TEST_F() argument
245 TEST_F(LibraryTest, EnvInitAllocFail) { in TEST_F() argument
334 CONTAINED_TEST_F(LibraryTest, ContainerChannelInit,
[all …]
Dares-test-parse.cc10 TEST_F(LibraryTest, ParseRootName) { in TEST_F() argument
29 TEST_F(LibraryTest, ParseIndirectRootName) { in TEST_F() argument
63 TEST_F(LibraryTest, ParseEscapedName) { in TEST_F() argument
109 TEST_F(LibraryTest, ParsePartialCompressedName) { in TEST_F() argument
146 TEST_F(LibraryTest, ParseFullyCompressedName) { in TEST_F() argument
182 TEST_F(LibraryTest, ParseFullyCompressedName2) { in TEST_F() argument
Dares-test-parse-txt.cc10 TEST_F(LibraryTest, ParseTxtReplyOK) { in TEST_F() argument
41 TEST_F(LibraryTest, ParseTxtExtReplyOK) { in TEST_F() argument
75 TEST_F(LibraryTest, ParseTxtMalformedReply1) { in TEST_F() argument
106 TEST_F(LibraryTest, ParseTxtMalformedReply2) { in TEST_F() argument
134 TEST_F(LibraryTest, ParseTxtMalformedReply3) { in TEST_F() argument
165 TEST_F(LibraryTest, ParseTxtMalformedReply4) { in TEST_F() argument
187 TEST_F(LibraryTest, ParseTxtReplyErrors) { in TEST_F() argument
243 TEST_F(LibraryTest, ParseTxtReplyAllocFail) { in TEST_F() argument
Dares-test-parse-a.cc10 TEST_F(LibraryTest, ParseAReplyOK) { in TEST_F() argument
65 TEST_F(LibraryTest, ParseMalformedAReply) { in TEST_F() argument
109 TEST_F(LibraryTest, ParseAReplyNoData) { in TEST_F() argument
130 TEST_F(LibraryTest, ParseAReplyVariantA) { in TEST_F() argument
151 TEST_F(LibraryTest, ParseAReplyJustCname) { in TEST_F() argument
170 TEST_F(LibraryTest, ParseAReplyVariantCname) { in TEST_F() argument
202 TEST_F(LibraryTest, ParseAReplyVariantCnameChain) { in TEST_F() argument
227 TEST_F(LibraryTest, DISABLED_ParseAReplyVariantCnameLast) { in TEST_F() argument
255 TEST_F(LibraryTest, ParseAReplyErrors) { in TEST_F() argument
340 TEST_F(LibraryTest, ParseAReplyAllocFail) { in TEST_F() argument
Dares-test.h60 class LibraryTest : public ::testing::Test {
62 LibraryTest() { in LibraryTest() function
65 &LibraryTest::amalloc, in LibraryTest()
66 &LibraryTest::afree, in LibraryTest()
67 &LibraryTest::arealloc)); in LibraryTest()
69 ~LibraryTest() { in ~LibraryTest()
91 class DefaultChannelTest : public LibraryTest {
112 : public LibraryTest,
176 class MockChannelOptsTest : public LibraryTest {
Dares-test-misc.cc177 TEST_F(LibraryTest, InetNtoP) { in TEST_F() argument
185 TEST_F(LibraryTest, Mkquery) { in TEST_F() argument
199 TEST_F(LibraryTest, CreateQuery) { in TEST_F() argument
215 TEST_F(LibraryTest, CreateQueryTrailingEscapedDot) { in TEST_F() argument
228 TEST_F(LibraryTest, CreateQueryNameTooLong) { in TEST_F() argument
240 TEST_F(LibraryTest, CreateQueryFailures) { in TEST_F() argument
278 TEST_F(LibraryTest, CreateQueryOnionDomain) { in TEST_F() argument
334 TEST_F(LibraryTest, ExpandName) { in TEST_F() argument
381 TEST_F(LibraryTest, ExpandNameFailure) { in TEST_F() argument
463 TEST_F(LibraryTest, CreateEDNSQuery) { in TEST_F() argument
[all …]
Dares-test-parse-ptr.cc10 TEST_F(LibraryTest, ParsePtrReplyOK) { in TEST_F() argument
28 TEST_F(LibraryTest, ParsePtrReplyCname) { in TEST_F() argument
62 TEST_F(LibraryTest, ParsePtrReplyMalformedCname) { in TEST_F() argument
77 TEST_F(LibraryTest, ParseManyPtrReply) { in TEST_F() argument
101 TEST_F(LibraryTest, ParsePtrReplyAdditional) { in TEST_F() argument
125 TEST_F(LibraryTest, ParsePtrReplyErrors) { in TEST_F() argument
196 TEST_F(LibraryTest, ParsePtrReplyAllocFailSome) { in TEST_F() argument
216 TEST_F(LibraryTest, ParsePtrReplyAllocFailMany) { in TEST_F() argument
Dares-test-parse-srv.cc10 TEST_F(LibraryTest, ParseSrvReplyOK) { in TEST_F() argument
38 TEST_F(LibraryTest, ParseSrvReplySingle) { in TEST_F() argument
65 TEST_F(LibraryTest, ParseSrvReplyMalformed) { in TEST_F() argument
96 TEST_F(LibraryTest, ParseSrvReplyMultiple) { in TEST_F() argument
142 TEST_F(LibraryTest, ParseSrvReplyCname) { in TEST_F() argument
170 TEST_F(LibraryTest, ParseSrvReplyCnameMultiple) { in TEST_F() argument
217 TEST_F(LibraryTest, ParseSrvReplyErrors) { in TEST_F() argument
271 TEST_F(LibraryTest, ParseSrvReplyAllocFail) { in TEST_F() argument
Dares-test-parse-naptr.cc10 TEST_F(LibraryTest, ParseNaptrReplyOK) { in TEST_F() argument
43 TEST_F(LibraryTest, ParseNaptrReplyErrors) { in TEST_F() argument
100 TEST_F(LibraryTest, ParseNaptrReplyTooShort) { in TEST_F() argument
129 TEST_F(LibraryTest, ParseNaptrReplyAllocFail) { in TEST_F() argument
Dares-test-parse-ns.cc10 TEST_F(LibraryTest, ParseNsReplyOK) { in TEST_F() argument
26 TEST_F(LibraryTest, ParseNsReplyMultiple) { in TEST_F() argument
49 TEST_F(LibraryTest, ParseNsReplyErrors) { in TEST_F() argument
101 TEST_F(LibraryTest, ParseNsReplyAllocFail) { in TEST_F() argument
Dares-test-parse-mx.cc10 TEST_F(LibraryTest, ParseMxReplyOK) { in TEST_F() argument
33 TEST_F(LibraryTest, ParseMxReplyMalformed) { in TEST_F() argument
65 TEST_F(LibraryTest, ParseMxReplyErrors) { in TEST_F() argument
124 TEST_F(LibraryTest, ParseMxReplyAllocFail) { in TEST_F() argument
Dares-test-internal.cc50 TEST_F(LibraryTest, InetPtoN) { in TEST_F() argument
166 TEST_F(LibraryTest, FreeCorruptData) { in TEST_F() argument
189 TEST_F(LibraryTest, FreeLongChain) { in TEST_F() argument
208 TEST_F(LibraryTest, StrdupFailures) { in TEST_F() argument
214 TEST_F(LibraryTest, MallocDataFail) { in TEST_F() argument
243 TEST_F(LibraryTest, Casts) { in TEST_F() argument
258 TEST_F(LibraryTest, ReadLine) { in TEST_F() argument
278 TEST_F(LibraryTest, ReadLineNoBuf) { in TEST_F() argument
343 TEST_F(LibraryTest, GetHostentAllocFail) { in TEST_F() argument
376 TEST_F(LibraryTest, Striendstr) { in TEST_F() argument
Dares-test-parse-aaaa.cc10 TEST_F(LibraryTest, ParseAaaaReplyOK) { in TEST_F() argument
39 TEST_F(LibraryTest, ParseAaaaReplyCname) { in TEST_F() argument
74 TEST_F(LibraryTest, ParseAaaaReplyNoData) { in TEST_F() argument
95 TEST_F(LibraryTest, ParseAaaaReplyErrors) { in TEST_F() argument
168 TEST_F(LibraryTest, ParseAaaaReplyAllocFail) { in TEST_F() argument
Dares-test-parse-soa.cc10 TEST_F(LibraryTest, ParseSoaReplyOK) { in TEST_F() argument
32 TEST_F(LibraryTest, ParseSoaReplyErrors) { in TEST_F() argument
90 TEST_F(LibraryTest, ParseSoaReplyAllocFail) { in TEST_F() argument
Dares-test.cc57 unsigned long long LibraryTest::fails_ = 0;
58 std::map<size_t, int> LibraryTest::size_fails_;
105 void LibraryTest::SetAllocFail(int nth) { in SetAllocFail()
112 void LibraryTest::SetAllocSizeFail(size_t size) { in SetAllocSizeFail()
117 void LibraryTest::ClearFails() { in ClearFails()
124 bool LibraryTest::ShouldAllocFail(size_t size) { in ShouldAllocFail()
135 void* LibraryTest::amalloc(size_t size) { in amalloc()
145 void* LibraryTest::arealloc(void *ptr, size_t size) { in arealloc()
155 void LibraryTest::afree(void *ptr) { in afree()
Dares-test-live.cc565 TEST_F(LibraryTest, GetTCPSock) { in TEST_F() argument