chromium/third_party/blink/renderer/core/editing/position_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/position.h"

#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"

namespace blink {

class PositionTest : public EditingTestBase {};

TEST_F(PositionTest, AtStartOfTreeWithAfterChildren) {}

TEST_F(PositionTest, IsEquivalent) {}

TEST_F(PositionTest, NodeAsRangeLastNodeNull) {}

TEST_F(PositionTest, editingPositionOfWithEditingIgnoresContent) {}

// http://crbug.com/1248760
TEST_F(PositionTest, LastPositionInOrAfterNodeNotInFlatTree) {}

TEST_F(PositionTest, NodeAsRangeLastNode) {}

// TODO(crbug.com/1157146): This test breaks without Shadow DOM v0.
TEST_F(PositionTest, DISABLED_NodeAsRangeLastNodeShadow) {}

TEST_F(PositionTest, OperatorBool) {}

TEST_F(PositionTest, ToPositionInFlatTreeWithActiveInsertionPoint) {}

TEST_F(PositionTest, ToPositionInFlatTreeWithInactiveInsertionPoint) {}

// This test comes from "editing/style/block-style-progress-crash.html".
TEST_F(PositionTest, ToPositionInFlatTreeWithNotDistributed) {}

TEST_F(PositionTest, ToPositionInFlatTreeWithShadowRoot) {}

TEST_F(PositionTest,
       ToPositionInFlatTreeWithShadowRootContainingSingleContent) {}

TEST_F(PositionTest, ToPositionInFlatTreeWithEmptyShadowRoot) {}

TEST_F(PositionTest, NullPositionNotConnected) {}

TEST_F(PositionTest, IsConnectedBasic) {}

TEST_F(PositionTest, IsConnectedInFlatTree) {}

TEST_F(PositionTest, FirstPositionInShadowHost) {}

TEST_F(PositionTest, LastPositionInShadowHost) {}

TEST_F(PositionTest, ComparePositionsAcrossShadowBoundary) {}

}  // namespace blink