blob: 82552d7227418b6d3e1ecd377c6c604ed94e4d2c [file] [log] [blame]
Svet Ganove6986e12015-06-04 14:52:15 -07001// Copyright 2014 PDFium 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 TESTING_FX_STRING_TESTHELPERS_H_
6#define TESTING_FX_STRING_TESTHELPERS_H_
7
8#include <ostream>
9
Philip P. Moltmann4d3acf42017-03-20 11:05:52 -070010#include "core/fxcrt/fx_string.h"
Svet Ganove6986e12015-06-04 14:52:15 -070011
12// Output stream operator so GTEST macros work with FX strings.
13std::ostream& operator<<(std::ostream& out, const CFX_ByteStringC& str);
14std::ostream& operator<<(std::ostream& out, const CFX_ByteString& str);
15std::ostream& operator<<(std::ostream& out, const CFX_WideStringC& str);
16std::ostream& operator<<(std::ostream& out, const CFX_WideString& str);
17
Philip P. Moltmann4d3acf42017-03-20 11:05:52 -070018#endif // TESTING_FX_STRING_TESTHELPERS_H_