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

// Copyright 2016 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/ephemeral_range.h"

#include <sstream>
#include "third_party/blink/renderer/core/dom/range.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"

namespace blink {

class EphemeralRangeTest : public EditingTestBase {};

template <typename Traversal>
std::string EphemeralRangeTest::TraverseRange(Range* range) const {}

template <typename Strategy>
std::string EphemeralRangeTest::TraverseRange(
    const EphemeralRangeTemplate<Strategy>& range) const {}

Range* EphemeralRangeTest::GetBodyRange() const {}

// Tests that |EphemeralRange::nodes()| will traverse the whole range exactly as
// |for (Node* n = firstNode(); n != pastLastNode(); n = Traversal::next(*n))|
// does.
TEST_F(EphemeralRangeTest, rangeTraversalDOM) {}

// Tests that |inRange| helper will traverse the whole range with shadow DOM.
TEST_F(EphemeralRangeTest, rangeShadowTraversal) {}

// Limit a range and check that it will be traversed correctly.
TEST_F(EphemeralRangeTest, rangeTraversalLimitedDOM) {}

TEST_F(EphemeralRangeTest, rangeTraversalLimitedFlatTree) {}

TEST_F(EphemeralRangeTest, traversalEmptyRanges) {}

TEST_F(EphemeralRangeTest, commonAncesstorDOM) {}

TEST_F(EphemeralRangeTest, commonAncesstorFlatTree) {}

TEST_F(EphemeralRangeTest, EquivalentPositions) {}

}  // namespace blink