llvm/libc/test/src/stdio/printf_core/writer_test.cpp

//===-- Unittests for the printf String Writer ----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "src/__support/CPP/string_view.h"
#include "src/stdio/printf_core/writer.h"

#include "src/string/memory_utils/inline_memcpy.h"

#include "test/UnitTest/Test.h"

string_view;
WriteBuffer;
Writer;

TEST(LlvmLibcPrintfWriterTest, Constructor) {}

TEST(LlvmLibcPrintfWriterTest, Write) {}

TEST(LlvmLibcPrintfWriterTest, WriteMultipleTimes) {}

TEST(LlvmLibcPrintfWriterTest, WriteChars) {}

TEST(LlvmLibcPrintfWriterTest, WriteCharsMultipleTimes) {}

TEST(LlvmLibcPrintfWriterTest, WriteManyChars) {}

TEST(LlvmLibcPrintfWriterTest, MixedWrites) {}

TEST(LlvmLibcPrintfWriterTest, WriteWithMaxLength) {}

TEST(LlvmLibcPrintfWriterTest, WriteCharsWithMaxLength) {}

TEST(LlvmLibcPrintfWriterTest, MixedWriteWithMaxLength) {}

TEST(LlvmLibcPrintfWriterTest, StringWithMaxLengthOne) {}

TEST(LlvmLibcPrintfWriterTest, NullStringWithZeroMaxLength) {}

struct OutBuff {};

int copy_to_out(string_view new_str, void *raw_out_buff) {}

TEST(LlvmLibcPrintfWriterTest, WriteWithMaxLengthWithCallback) {}

TEST(LlvmLibcPrintfWriterTest, WriteCharsWithMaxLengthWithCallback) {}

TEST(LlvmLibcPrintfWriterTest, MixedWriteWithMaxLengthWithCallback) {}

TEST(LlvmLibcPrintfWriterTest, ZeroLengthBufferWithCallback) {}

TEST(LlvmLibcPrintfWriterTest, NullStringWithZeroMaxLengthWithCallback) {}