Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1811)

Unified Diff: third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp

Issue 2282683002: Use Node stream printer in Node::showNode(). (Closed)
Patch Set: Do not print addresses Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp b/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
index a941ebe20031e5bd92a0f674770fa9ca73dbbc64..d66bce4c1f8900ee115fb6a9955989f32528e78e 100644
--- a/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
+++ b/third_party/WebKit/Source/core/editing/EphemeralRangeTest.cpp
@@ -83,7 +83,7 @@ TEST_F(EphemeralRangeTest, rangeShadowTraversal)
// In this case FlatTree traverse should differs from DOM tree traverse.
EXPECT_EQ(
- "[BODY][P id=\"host\"][B id=\"one\"][INPUT][DIV id=\"inner-editor\"][#text \"some\"]",
+ "[BODY][P id=\"host\"][B id=\"one\"][INPUT][DIV id=\"inner-editor\" (editable)][#text \"some\"]",
traverseRange<FlatTreeTraversal>(getBodyRange()));
EXPECT_EQ(
traverseRange<FlatTreeTraversal>(getBodyRange()),
@@ -123,7 +123,7 @@ TEST_F(EphemeralRangeTest, rangeTraversalLimited)
EXPECT_EQ(traverseRange<>(fromBToSpan), traverseRange(EphemeralRange(fromBToSpan)));
EXPECT_EQ(
- "[B id=\"one\"][INPUT][DIV id=\"inner-editor\"][#text \"some\"][SPAN id=\"two\"]",
+ "[B id=\"one\"][INPUT][DIV id=\"inner-editor\" (editable)][#text \"some\"][SPAN id=\"two\"]",
traverseRange<FlatTreeTraversal>(fromBToSpan));
EXPECT_EQ(
traverseRange<FlatTreeTraversal>(fromBToSpan),
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698