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

Side by Side Diff: Source/core/testing/CoreTestPrinters.cpp

Issue 1313283002: Re-introduce printers for Node, Position, PositionAnchorType in GTest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-26T14:32:13 Add comments for printers which are only for testing Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « Source/core/testing/CoreTestHelpers.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/testing/CoreTestHelpers.h"
7 6
8 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
9 #include "core/dom/Range.h" 8 #include "core/dom/Range.h"
10 #include "core/dom/Text.h" 9 #include "core/dom/Text.h"
11 #include "core/html/HTMLElement.h" 10 #include "core/html/HTMLElement.h"
12 #include "wtf/text/StringBuilder.h" 11 #include "wtf/text/StringBuilder.h"
13 #include <ios> 12 #include <ios>
14 #include <ostream> // NOLINT 13 #include <ostream> // NOLINT
15 14
16 namespace blink { 15 namespace blink {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 { 87 {
89 return printPosition(ostream, position); 88 return printPosition(ostream, position);
90 } 89 }
91 90
92 std::ostream& operator<<(std::ostream& ostream, const PositionInComposedTree& po sition) 91 std::ostream& operator<<(std::ostream& ostream, const PositionInComposedTree& po sition)
93 { 92 {
94 return printPosition(ostream, position); 93 return printPosition(ostream, position);
95 } 94 }
96 95
97 } // namespace blink 96 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/testing/CoreTestHelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698