OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium 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 TESTING_FX_STRING_TESTHELPERS_H_ | 5 #ifndef TESTING_FX_STRING_TESTHELPERS_H_ |
6 #define TESTING_FX_STRING_TESTHELPERS_H_ | 6 #define TESTING_FX_STRING_TESTHELPERS_H_ |
7 | 7 |
8 #include <ostream> | 8 #include <ostream> |
9 | 9 |
10 #include "core/include/fxcrt/fx_string.h" | 10 #include "core/include/fxcrt/fx_string.h" |
11 | 11 |
12 // Output stream operator so GTEST macros work with FX strings. | 12 // Output stream operator so GTEST macros work with FX strings. |
13 std::ostream& operator<<(std::ostream& out, const CFX_ByteStringC& str); | 13 std::ostream& operator<<(std::ostream& out, const CFX_ByteStringC& str); |
14 std::ostream& operator<<(std::ostream& out, const CFX_ByteString& str); | 14 std::ostream& operator<<(std::ostream& out, const CFX_ByteString& str); |
15 std::ostream& operator<<(std::ostream& out, const CFX_WideStringC& str); | 15 std::ostream& operator<<(std::ostream& out, const CFX_WideStringC& str); |
16 std::ostream& operator<<(std::ostream& out, const CFX_WideString& str); | 16 std::ostream& operator<<(std::ostream& out, const CFX_WideString& str); |
17 | 17 |
18 #endif // TESTING_FX_STR_TESTHELPERS_H_ | 18 #endif // TESTING_FX_STRING_TESTHELPERS_H_ |
OLD | NEW |