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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/fx_string_testhelpers.h b/testing/fx_string_testhelpers.h
index 82552d7227..caa233049a 100644
--- a/testing/fx_string_testhelpers.h
+++ b/testing/fx_string_testhelpers.h
@@ -7,6 +7,7 @@
#include <ostream>
+#include "core/fxcrt/cfx_datetime.h"
#include "core/fxcrt/fx_string.h"
// Output stream operator so GTEST macros work with FX strings.
@@ -15,4 +16,7 @@ std::ostream& operator<<(std::ostream& out, const CFX_ByteString& str);
std::ostream& operator<<(std::ostream& out, const CFX_WideStringC& str);
std::ostream& operator<<(std::ostream& out, const CFX_WideString& str);
+// 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_