Lines Matching refs:soa
22 struct ares_soa_reply* soa = nullptr; in TEST_F() local
23 EXPECT_EQ(ARES_SUCCESS, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
24 ASSERT_NE(nullptr, soa); in TEST_F()
25 EXPECT_EQ("soa1.example.com", std::string(soa->nsname)); in TEST_F()
26 EXPECT_EQ("fred.example.com", std::string(soa->hostmaster)); in TEST_F()
27 EXPECT_EQ(1, soa->serial); in TEST_F()
28 EXPECT_EQ(2, soa->refresh); in TEST_F()
29 EXPECT_EQ(3, soa->retry); in TEST_F()
30 EXPECT_EQ(4, soa->expire); in TEST_F()
31 EXPECT_EQ(5, soa->minttl); in TEST_F()
32 ares_free_data(soa); in TEST_F()
43 struct ares_soa_reply* soa = nullptr; in TEST_F() local
48 EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
56 EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
64 EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
72 EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
81 EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
89 EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), len, &soa)); in TEST_F()
101 struct ares_soa_reply* soa = nullptr; in TEST_F() local
106 EXPECT_EQ(ARES_ENOMEM, ares_parse_soa_reply(data.data(), data.size(), &soa)) << ii; in TEST_F()