chromium/third_party/blink/renderer/core/layout/inline/inline_text_auto_space_test.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/layout/inline/inline_text_auto_space.h"

#include <gmock/gmock.h>
#include <gtest/gtest.h>

#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/platform/fonts/character_range.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

namespace blink {

namespace {

ElementsAre;
ElementsAreArray;

class InlineTextAutoSpaceTest : public RenderingTest,
                                ScopedCSSTextAutoSpaceForTest {};

// Test the optimizations in `ApplyIfNeeded` don't affect results.
TEST_F(InlineTextAutoSpaceTest, NonHanIdeograph) {}

// End to end test for text-autospace
TEST_F(InlineTextAutoSpaceTest, InsertSpacing) {}

struct HtmlData {} g_html_data[] =;
class HtmlTest : public InlineTextAutoSpaceTest,
                 public testing::WithParamInterface<HtmlData> {};
INSTANTIATE_TEST_SUITE_P();

TEST_P(HtmlTest, Apply) {}

}  // namespace

}  // namespace blink