| Index: Source/core/editing/PositionTest.cpp
|
| diff --git a/Source/core/editing/PositionTest.cpp b/Source/core/editing/PositionTest.cpp
|
| index b368ea4def50382187032285cd26d57fc53ef6b4..ac15d4d65caf41cda8befa2b04cbd5fbd468601c 100644
|
| --- a/Source/core/editing/PositionTest.cpp
|
| +++ b/Source/core/editing/PositionTest.cpp
|
| @@ -6,27 +6,12 @@
|
| #include "core/editing/Position.h"
|
|
|
| #include "core/editing/EditingTestBase.h"
|
| -#include "core/editing/EditingUtilities.h"
|
|
|
| namespace blink {
|
|
|
| class PositionTest : public EditingTestBase {
|
| };
|
|
|
| -// TODO(yoisn) We should move |NextNodeIndex| to "EditingUtilitiesTest.cpp".
|
| -TEST_F(PositionTest, NextNodeIndex)
|
| -{
|
| - const char* bodyContent = "<p id='host'>00<b id='one'>11</b><b id='two'>22</b>33</p>";
|
| - const char* shadowContent = "<content select=#two></content><content select=#one></content>";
|
| - setBodyContent(bodyContent);
|
| - setShadowContent(shadowContent);
|
| - Node* host = document().getElementById("host");
|
| - Node* two = document().getElementById("two");
|
| -
|
| - EXPECT_EQ(Position(host, 3), nextPositionOf(Position(two, 2), PositionMoveType::CodePoint));
|
| - EXPECT_EQ(PositionInComposedTree(host, 1), nextPositionOf(PositionInComposedTree(two, 2), PositionMoveType::CodePoint));
|
| -}
|
| -
|
| TEST_F(PositionTest, NodeAsRangeLastNodeNull)
|
| {
|
| EXPECT_EQ(nullptr, Position().nodeAsRangeLastNode());
|
|
|