#include "net/dns/mdns_cache.h"
#include <algorithm>
#include <utility>
#include "base/functional/bind.h"
#include "base/time/time.h"
#include "net/dns/dns_response.h"
#include "net/dns/dns_test_util.h"
#include "net/dns/record_parsed.h"
#include "net/dns/record_rdata.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Return;
StrictMock;
namespace net {
static const uint8_t kTestResponsesDifferentAnswers[] = …;
static const uint8_t kTestResponsesSameAnswers[] = …;
static const uint8_t kTestResponseTwoRecords[] = …;
static const uint8_t kTestResponsesGoodbyePacket[] = …;
static const uint8_t kTestResponsesDifferentCapitalization[] = …;
class RecordRemovalMock { … };
class MDnsCacheTest : public ::testing::Test { … };
TEST_F(MDnsCacheTest, InsertLookupSingle) { … }
TEST_F(MDnsCacheTest, Expiration) { … }
TEST_F(MDnsCacheTest, RecordChange) { … }
TEST_F(MDnsCacheTest, RecordNoChange) { … }
TEST_F(MDnsCacheTest, RecordPreemptExpirationTime) { … }
TEST_F(MDnsCacheTest, GoodbyePacket) { … }
TEST_F(MDnsCacheTest, AnyRRType) { … }
TEST_F(MDnsCacheTest, RemoveRecord) { … }
TEST_F(MDnsCacheTest, IsCacheOverfilled) { … }
TEST_F(MDnsCacheTest, ClearOnOverfilledCleanup) { … }
TEST_F(MDnsCacheTest, CaseInsensitive) { … }
}