blob: a47242805f128c2702690f6945303cd6dab4d24e [file] [log] [blame]
Tom Sepeza5c94312015-01-07 12:28:56 -08001// 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
Dan Sinclaira8a28e02016-03-23 15:41:39 -040010#include "core/fxcrt/include/fx_string.h"
Tom Sepeza5c94312015-01-07 12:28:56 -080011
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
dan sinclaird2019df2016-02-22 22:32:03 -050018#endif // TESTING_FX_STRING_TESTHELPERS_H_