chromium/third_party/blink/renderer/core/editing/visible_units_line_test.cc

// Copyright 2015 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/editing/visible_units.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/editing/visible_position.h"
#include "third_party/blink/renderer/core/html/forms/text_control_element.h"
#include "third_party/blink/renderer/core/layout/layout_text_fragment.h"

namespace blink {

static VisiblePosition EndOfLine(const VisiblePosition& position) {}

static VisiblePositionInFlatTree EndOfLine(
    const VisiblePositionInFlatTree& position) {}

class VisibleUnitsLineTest : public EditingTestBase {};

TEST_F(VisibleUnitsLineTest, endOfLine) {}

TEST_F(VisibleUnitsLineTest, isEndOfLine) {}

TEST_F(VisibleUnitsLineTest, isLogicalEndOfLine) {}

TEST_F(VisibleUnitsLineTest, inSameLine) {}

TEST_F(VisibleUnitsLineTest, isStartOfLine) {}

TEST_F(VisibleUnitsLineTest, logicalEndOfLine) {}

TEST_F(VisibleUnitsLineTest, logicalStartOfLine) {}

TEST_F(VisibleUnitsLineTest, startOfLine) {}

TEST_F(VisibleUnitsLineTest, EndOfLineWithBidi) {}

// http://crbug.com/1136740
TEST_F(VisibleUnitsLineTest, EndOfLineWithHangingSpace) {}

TEST_F(VisibleUnitsLineTest, EndOfLineWithPositionRelative) {}

TEST_F(VisibleUnitsLineTest, EndOfLineWithSoftLineWrap3) {}

TEST_F(VisibleUnitsLineTest, EndOfLineWithSoftLineWrap4) {}

// http://crbug.com/1169583
TEST_F(VisibleUnitsLineTest, EndOfLineWithWhiteSpacePre) {}

TEST_F(VisibleUnitsLineTest, LogicalEndOfLineWithSoftLineWrap3) {}

TEST_F(VisibleUnitsLineTest, LogicalEndOfLineWithSoftLineWrap4) {}

TEST_F(VisibleUnitsLineTest, InSameLineSkippingEmptyEditableDiv) {}

TEST_F(VisibleUnitsLineTest, InSameLineWithMixedEditability) {}

TEST_F(VisibleUnitsLineTest, InSameLineWithGeneratedZeroWidthSpace) {}

// http://crbug.com/1183269
TEST_F(VisibleUnitsLineTest, InSameLineWithSoftLineWrap) {}

TEST_F(VisibleUnitsLineTest, InSameLineWithZeroWidthSpace) {}

// https://issues.chromium.org/issues/41497469
TEST_F(VisibleUnitsLineTest, InSameLineWithInlineBlock) {}

// http://crbug.com/1358235
TEST_F(VisibleUnitsLineTest, StartOfLineBeforeEmptyLine) {}

TEST_F(VisibleUnitsLineTest, StartOfLineWithBidi) {}

TEST_F(VisibleUnitsLineTest, StartOfLineWithPositionRelative) {}

// https://crbug.com/947462
TEST_F(VisibleUnitsLineTest, TextOverflowEllipsis1) {}

// https://crbug.com/1177753
TEST_F(VisibleUnitsLineTest, TextOverflowEllipsis2) {}

// https://crbug.com/1181451
TEST_F(VisibleUnitsLineTest, InSameLineWithBidiReordering) {}

}  // namespace blink