summaryrefslogtreecommitdiff
path: root/testing/fx_string_testhelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fx_string_testhelpers.h')
-rw-r--r--testing/fx_string_testhelpers.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/fx_string_testhelpers.h b/testing/fx_string_testhelpers.h
new file mode 100644
index 0000000000..34ac69dab4
--- /dev/null
+++ b/testing/fx_string_testhelpers.h
@@ -0,0 +1,15 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef TESTING_FX_STRING_TESTHELPERS_H_
+#define TESTING_FX_STRING_TESTHELPERS_H_
+
+#include <ostream>
+
+#include "core/fxcrt/cfx_datetime.h"
+
+// Output stream operator so GTEST macros work with CFX_DateTime objects.
+std::ostream& operator<<(std::ostream& os, const CFX_DateTime& dt);
+
+#endif // TESTING_FX_STRING_TESTHELPERS_H_