#include "third_party/blink/renderer/platform/text/layout_locale.h"
#include <optional>
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
TEST(LayoutLocaleTest, Get) { … }
TEST(LayoutLocaleTest, GetCaseInsensitive) { … }
struct LocaleTestData { … } locale_test_data[] = …;
#undef EXPECT_JAPANESE
#undef EXPECT_KOREAN
#undef EXPECT_SIMPLIFIED_CHINESE
#undef EXPECT_TRADITIONAL_CHINESE
std::ostream& operator<<(std::ostream& os, const LocaleTestData& test) { … }
class LocaleTestDataFixture : public testing::TestWithParam<LocaleTestData> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(LocaleTestDataFixture, Script) { … }
TEST(LayoutLocaleTest, BreakKeyword) { … }
TEST(LayoutLocaleTest, GetQuotesData) { … }
TEST(LayoutLocaleTest, ExistingKeywordName) { … }
TEST(LayoutLocaleTest, AcceptLanguagesChanged) { … }
}