chromium/net/ntlm/ntlm_buffer_writer_unittest.cc

// Copyright 2017 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/ntlm/ntlm_buffer_writer.h"

#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net::ntlm {

namespace {

// Helper method to get a raw pointer to the buffer.
const uint8_t* GetBufferPtr(const NtlmBufferWriter& writer) {}

// Helper method to get a byte at a specific index in the buffer.
uint8_t GetByteFromBuffer(const NtlmBufferWriter& writer, size_t index) {}

}  // namespace

TEST(NtlmBufferWriterTest, Initialization) {}

TEST(NtlmBufferWriterTest, EmptyWrite) {}

TEST(NtlmBufferWriterTest, Write16) {}

TEST(NtlmBufferWriterTest, Write16PastEob) {}

TEST(NtlmBufferWriterTest, Write32) {}

TEST(NtlmBufferWriterTest, Write32PastEob) {}

TEST(NtlmBufferWriterTest, Write64) {}

TEST(NtlmBufferWriterTest, Write64PastEob) {}

TEST(NtlmBufferWriterTest, WriteBytes) {}

TEST(NtlmBufferWriterTest, WriteBytesPastEob) {}

TEST(NtlmBufferWriterTest, WriteSecurityBuffer) {}

TEST(NtlmBufferWriterTest, WriteSecurityBufferPastEob) {}

TEST(NtlmBufferWriterTest, WriteNarrowString) {}

TEST(NtlmBufferWriterTest, WriteAsciiStringPastEob) {}

TEST(NtlmBufferWriterTest, WriteUtf16String) {}

TEST(NtlmBufferWriterTest, WriteUtf16StringPastEob) {}

TEST(NtlmBufferWriterTest, WriteUtf8AsUtf16String) {}

TEST(NtlmBufferWriterTest, WriteSignature) {}

TEST(NtlmBufferWriterTest, WriteSignaturePastEob) {}

TEST(NtlmBufferWriterTest, WriteMessageType) {}

TEST(NtlmBufferWriterTest, WriteMessageTypePastEob) {}

TEST(NtlmBufferWriterTest, WriteAvPairHeader) {}

TEST(NtlmBufferWriterTest, WriteAvPairHeaderPastEob) {}

}  // namespace net::ntlm