#include <stddef.h>
#include <string>
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_locale.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#ifdef WCHAR_T_IS_32_BIT
static const std::wstring kSysWideOldItalicLetterA = …;
#else
static const std::wstring kSysWideOldItalicLetterA = L"\xd800\xdf00";
#endif
namespace base {
TEST(SysStrings, SysWideToUTF8) { … }
TEST(SysStrings, SysUTF8ToWide) { … }
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
TEST(SysStrings, SysWideToNativeMB) { … }
TEST(SysStrings, SysNativeMBToWide) { … }
static const wchar_t* const kConvertRoundtripCases[] = …;
TEST(SysStrings, SysNativeMBAndWide) { … }
#endif
}