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

Side by Side Diff: Source/core/testing/CoreTestHelpers.h

Issue 1257203002: Fix ODR violation that can break WTF::String pretty printing in tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Really fix Created 5 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 unified diff | Download patch | Annotate | Revision Log
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 #ifndef CoreTestHelpers_h 5 #ifndef CoreTestHelpers_h
6 #define CoreTestHelpers_h 6 #define CoreTestHelpers_h
7 7
8 #include "core/dom/Position.h" 8 #include "core/dom/Position.h"
9 #include "wtf/testing/WTFTestHelpers.h"
10 9
11 namespace blink { 10 namespace blink {
12 11
13 class Node; 12 class Node;
14 13
15 std::ostream& operator<<(std::ostream&, const Node&); 14 std::ostream& operator<<(std::ostream&, const Node&);
16 std::ostream& operator<<(std::ostream&, const Node*); 15 std::ostream& operator<<(std::ostream&, const Node*);
17 std::ostream& operator<<(std::ostream&, PositionAnchorType); 16 std::ostream& operator<<(std::ostream&, PositionAnchorType);
18 std::ostream& operator<<(std::ostream&, const Position&); 17 std::ostream& operator<<(std::ostream&, const Position&);
19 std::ostream& operator<<(std::ostream&, const PositionInComposedTree&); 18 std::ostream& operator<<(std::ostream&, const PositionInComposedTree&);
20 19
21 } // namespace blink 20 } // namespace blink
22 21
23 #endif // CoreTestHelpers_h 22 #endif // CoreTestHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698