//===- unittests/Support/ConvertEBCDICTest.cpp - EBCDIC/UTF8 conversion 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/ConvertEBCDIC.h" #include "llvm/ADT/SmallString.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { // String "Hello World!" static const char HelloA[] = …; static const char HelloE[] = …; // String "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" static const char ABCStrA[] = …; static const char ABCStrE[] = …; // String "¡¢£AÄÅÆEÈÉÊaàáâãäeèéêë" static const char AccentUTF[] = …; static const char AccentE[] = …; // String with Cyrillic character ya. static const char CyrillicUTF[] = …; TEST(CharSet, FromUTF8) { … } TEST(CharSet, ToUTF8) { … } } // namespace