#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "net/dns/record_rdata.h"
#include <algorithm>
#include <memory>
#include <optional>
#include <string_view>
#include <utility>
#include "base/big_endian.h"
#include "net/dns/dns_response.h"
#include "net/dns/dns_test_util.h"
#include "net/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
ElementsAreArray;
IsNull;
NotNull;
SizeIs;
std::string_view MakeStringPiece(const uint8_t* data, unsigned size) { … }
TEST(RecordRdataTest, ParseSrvRecord) { … }
TEST(RecordRdataTest, ParseARecord) { … }
TEST(RecordRdataTest, ParseAAAARecord) { … }
TEST(RecordRdataTest, ParseCnameRecord) { … }
TEST(RecordRdataTest, ParsePtrRecord) { … }
TEST(RecordRdataTest, ParseTxtRecord) { … }
TEST(RecordRdataTest, ParseNsecRecord) { … }
TEST(RecordRdataTest, CreateNsecRecordWithEmptyBitmapReturnsNull) { … }
TEST(RecordRdataTest, CreateNsecRecordWithOversizedBitmapReturnsNull) { … }
}
}