Lines Matching defs:TestConfig
1568 struct TestConfig { in TEST_F() struct
1569 const std::string name; in TEST_F()
1570 const std::vector<aidl::android::net::ResolverHostsParcel> customizedHosts; in TEST_F()
1571 const std::vector<DnsRecord> dnsserverHosts; in TEST_F()
1572 const std::vector<std::string> queryResult; in TEST_F()
1573 std::string asParameters() const { in TEST_F()
2289 struct TestConfig { in TEST_F() struct
2290 const std::string mode; in TEST_F()
2291 const bool withWorkingTLS; in TEST_F()
2292 const std::string method; in TEST_F()
2294 std::string asHostName() const { in TEST_F()
3059 static const struct TestConfig { in TEST_F() struct
3060 std::string mode; in TEST_F()
3061 std::string method; in TEST_F()
3062 Edns edns; in TEST_F()
3063 ExpectResult expectResult; in TEST_F()
3065 std::string asHostName() const { in TEST_F()
3357 static const struct TestConfig { in TEST_F() struct
3358 int family; in TEST_F()
3359 int flags; in TEST_F()
3360 std::vector<std::string> expectedAddresses; in TEST_F()
3361 const char* expectedCanonname; in TEST_F()
3363 std::string asParameters() const { in TEST_F()
3486 static const struct TestConfig { in TEST_F() struct
3487 std::string name; in TEST_F()
3488 std::string addr; in TEST_F()
3490 std::string asHostName() const { return fmt::format("{}.example.com.", name); } in TEST_F()
3586 static const struct TestConfig { in TEST_F() struct
3587 int flag; in TEST_F()
3588 std::string addr_v4; in TEST_F()
3589 std::string addr_v6; in TEST_F()
3591 std::string asParameters() const { in TEST_F()
3809 static const struct TestConfig { in TEST_F() struct
3810 int flag; in TEST_F()
3811 int family; in TEST_F()
3812 std::string addr; in TEST_F()
3813 std::string host; in TEST_F()
3815 std::string asParameters() const { in TEST_F()
3885 static const struct TestConfig { in TEST_F() struct
3886 bool hasSynthesizedPtrRecord; in TEST_F()
3887 int flag; in TEST_F()
3888 std::string addr; in TEST_F()
3889 std::string host; in TEST_F()
3891 std::string asParameters() const { in TEST_F()
4076 static const struct TestConfig { in TEST_F() struct
4077 std::string name; in TEST_F()
4078 std::string addr; in TEST_F()
4080 std::string asHostName() const { in TEST_F()
4637 static const struct TestConfig { in TEST_F() struct
4638 bool asyncHandshake; in TEST_F()
4639 int maxRetries; in TEST_F()
4645 int expectedTimeout; in TEST_F()
4736 static const struct TestConfig { in TEST_F() struct
4737 bool asyncHandshake; in TEST_F()
4738 int dotConnectTimeoutMs; in TEST_F()
4739 int dotQueryTimeoutMs; in TEST_F()
4740 int maxRetries; in TEST_F()
4741 int concurrency; in TEST_F()
4747 int expectedTimeout; in TEST_F()
4848 static const struct TestConfig { in TEST_F() struct
4849 std::string dnsMode; in TEST_F()
4850 int queryTimeoutMs; in TEST_F()
4851 int expectResultTimedOut; in TEST_F()
4852 int expectedTimeTakenMs; in TEST_F()
4916 static const struct TestConfig { in TEST_F() struct
4917 int dotXportUnusableThreshold; in TEST_F()
4918 int queries; in TEST_F()
4919 int expectedQueriesSentToDot1; in TEST_F()
4920 int expectedQueriesSentToDot2; in TEST_F()
5006 static const struct TestConfig { in TEST_F() struct
5007 std::string dnsMode; in TEST_F()
5008 int validationThreshold; in TEST_F()
5009 int queries; in TEST_F()
5012 bool expectRevalidationHappen; in TEST_F()
5013 bool expectDotUnusable; in TEST_F()
5155 static const struct TestConfig { in TEST_F() struct
5156 int latencyFactor; in TEST_F()
5157 int latencyOffsetMs; in TEST_F()
5158 bool udpProbeLost; in TEST_F()
5159 size_t expectedUdpProbes; in TEST_F()
5160 bool expectedValidationPass; in TEST_F()
5242 static const struct TestConfig { in TEST_F() struct
5243 std::string privateDnsMode; in TEST_F()
5244 int dotQuickFallbackFlag; in TEST_F()
5462 const struct TestConfig { in TEST_F() struct
5463 const std::optional<int32_t> tcMode; in TEST_F()
5464 const bool ret; in TEST_F()
5465 const unsigned numQueries; in TEST_F()
5466 std::string asParameters() const { in TEST_F()
5561 static const struct TestConfig { in TEST_F() struct
5562 std::vector<std::string> servers; in TEST_F()
5563 std::vector<std::string> tlsServers; in TEST_F()
5564 std::string tlsName; in TEST_F()
5647 static const struct TestConfig { in TEST_F() struct
5648 std::vector<std::string> tlsServers; in TEST_F()
5649 std::string tlsName; in TEST_F()
5756 static const struct TestConfig { in TEST_F() struct
5757 std::string tlsServer; in TEST_F()
5758 std::string tlsName; in TEST_F()
5759 bool expectNothingHappenWhenServerUnsupported; in TEST_F()
5760 bool expectNothingHappenWhenServerUnresponsive; in TEST_F()
5761 std::string asTestName() const { in TEST_F()
6140 const struct TestConfig { in TEST_F() struct
6141 int retryCount; in TEST_F()
6142 int delayTimeMs; in TEST_F()
6143 int expectedDns1Successes; in TEST_F()
6144 int expectedDns1Timeouts; in TEST_F()
6145 int expectedDns2Timeouts; in TEST_F()
6462 static const struct TestConfig { in TEST_F() struct
6463 int ai_family; in TEST_F()
6464 const std::string expected_addr; in TEST_F()
6561 static const struct TestConfig { in TEST_F() struct
6562 int ai_family; in TEST_F()
6563 const std::string expected_addr; in TEST_F()
6624 static const struct TestConfig { in TEST_F() struct
6625 int ai_family; in TEST_F()
6626 const std::string expected_addr; in TEST_F()
6711 static const struct TestConfig { in TEST_F() struct
6712 int ai_family; in TEST_F()
6713 const std::vector<std::string> expected_addr; in TEST_F()
6787 static const struct TestConfig { in TEST_F() struct
6788 int ai_family; in TEST_F()
6789 const std::vector<std::string> expected_addr; in TEST_F()
6882 static const struct TestConfig { in TEST_F() struct
6883 int ai_family; in TEST_F()
6884 const std::vector<std::string> expected_addr; in TEST_F()
6972 static const struct TestConfig { in TEST_F() struct
6973 int ai_family; in TEST_F()
6974 const std::vector<std::string> expected_addr; in TEST_F()
7609 const struct TestConfig { in TEST_F() struct
7610 ScopedNetwork* selectedNetwork; in TEST_F()
7611 unsigned expectedDnsNetId; in TEST_F()
7612 std::shared_ptr<test::DNSResponder> expectedDnsServer; in TEST_F()
7741 const struct TestConfig { in TEST_F() struct
7742 ScopedNetwork* selectedNetwork; in TEST_F()
7743 unsigned expectedDnsNetId; in TEST_F()
7744 std::shared_ptr<test::DNSResponder> expectedDnsServer; in TEST_F()
7870 const struct TestConfig { in TEST_F() struct
7871 int retryCount; in TEST_F()
7872 int baseTimeoutMsec; in TEST_F()
7873 int expectedRetryCount; in TEST_F()
7874 int expectedBaseTimeoutMsec; in TEST_F()
7996 struct TestConfig { in TEST_F() struct
7997 int uid; in TEST_F()
7998 const ScopedNetwork& selectedNetwork; in TEST_F()
7999 bool expectedSuccess; in TEST_F()