llvm/llvm/unittests/Support/ConvertUTFTest.cpp

//===- llvm/unittest/Support/ConvertUTFTest.cpp - ConvertUTF tests --------===//
//
// 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 "llvm/Support/ConvertUTF.h"
#include "llvm/ADT/ArrayRef.h"
#include "gtest/gtest.h"
#include <string>
#include <vector>

usingnamespacellvm;

TEST(ConvertUTFTest, ConvertUTF16LittleEndianToUTF8String) {}

TEST(ConvertUTFTest, ConvertUTF32LittleEndianToUTF8String) {}

TEST(ConvertUTFTest, ConvertUTF16BigEndianToUTF8String) {}

TEST(ConvertUTFTest, ConvertUTF32BigEndianToUTF8String) {}

TEST(ConvertUTFTest, ConvertUTF8ToUTF16String) {}

TEST(ConvertUTFTest, OddLengthInput) {}

TEST(ConvertUTFTest, Empty) {}

TEST(ConvertUTFTest, HasUTF16BOM) {}

TEST(ConvertUTFTest, UTF16WrappersForConvertUTF16ToUTF8String) {}

TEST(ConvertUTFTest, ConvertUTF8toWide) {}

TEST(ConvertUTFTest, convertWideToUTF8) {}

struct ConvertUTFResultContainer {};

std::pair<ConversionResult, std::vector<unsigned>>
ConvertUTF8ToUnicodeScalarsLenient(StringRef S) {}

std::pair<ConversionResult, std::vector<unsigned>>
ConvertUTF8ToUnicodeScalarsPartialLenient(StringRef S) {}

::testing::AssertionResult
CheckConvertUTF8ToUnicodeScalars(ConvertUTFResultContainer Expected,
                                 StringRef S, bool Partial = false) {}

TEST(ConvertUTFTest, UTF8ToUTF32Lenient) {}

TEST(ConvertUTFTest, UTF8ToUTF32PartialLenient) {}