chromium/net/dns/record_rdata_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#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) {}

}  // namespace
}  // namespace net