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

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

Issue 1105333002: Introduce printers for Node and Position for ease of developing GTest test files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-05-20T13:40:11 Created 5 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CoreTestHelpers_h
6 #define CoreTestHelpers_h
7
8 #include "core/dom/Position.h"
9 #include "wtf/testing/WTFTestHelpers.h"
10
11 namespace blink {
12
13 class Node;
14
15 std::ostream& operator<<(std::ostream&, const Node&);
16 std::ostream& operator<<(std::ostream&, const Node*);
17 std::ostream& operator<<(std::ostream&, Position::AnchorType);
18 std::ostream& operator<<(std::ostream&, const Position&);
19
20 } // namespace blink
21
22 #endif // CoreTestHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698