Commit Graph

13 Commits

Author SHA1 Message Date
kosak
ccf8e33bc5 Define specialization of PrintTo(...) for ::std::tuple. 2014-01-12 19:59:41 +00:00
zhanyong.wan
a88c9a88e4 Improves gtest's failure messages. In particulars, char pointers and
char arrays are not escapped properly.
2012-06-07 20:34:34 +00:00
vladlosev
cc265df8b4 Fixes broken build on VC++ 7.1. 2011-06-13 19:00:37 +00:00
zhanyong.wan
5451ffe816 Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on Hady Zalek's report and experiment; also fixes a bug that causes it to think that a class named const_iterator is a container; also clarifies the Borland C++ compatibility fix in the comments based on Josh Kelley's suggestion. 2011-03-09 01:13:19 +00:00
zhanyong.wan
603533a0a4 Fixes compatibility with Borland C++Builder. Original patch by Josh
Kelley.  Simplified by Zhanyong Wan.
2011-03-05 08:04:01 +00:00
zhanyong.wan
ffeb11d14a Indents preprocessor directives. 2011-02-22 22:08:59 +00:00
vladlosev
a198966dd3 Renames some internal functions to avoid name clashes. 2011-01-29 16:15:40 +00:00
vladlosev
25958f3e4c Fixes compiler warning when built with -std=c++0x. 2010-10-22 01:33:11 +00:00
zhanyong.wan
dac3e879c5 Include gtest headers as user headers instead of system headers. 2010-09-14 05:35:59 +00:00
zhanyong.wan
5c4b472bbf Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev). 2010-08-09 18:19:15 +00:00
zhanyong.wan
e2a7f03b80 Allows EXPECT_EQ to accept arguments that don't have operator << (by Zhanyong Wan).
Allows a user to customize how the universal printer prints a pointer of a specific type by overloading << (by Zhanyong Wan).
Works around a bug in Cymbian's C++ compiler (by Vlad Losev).
2010-07-21 22:15:17 +00:00
vladlosev
9af267d247 Replaces UniversalPrinter<T>::Print(x, os) with UniversalPrint(x, os) as appropriate (by Zhanyong Wan). 2010-05-13 18:00:59 +00:00
zhanyong.wan
2ccea88c99 Moves the universal printer from gmock to gtest and refactors the cmake script for reusing in gmock (by Vlad Losev). 2010-05-10 17:11:58 +00:00