Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoids clash with the max() macro on Windows | zhanyong.wan | 2013-09-18 | 1 | -0/+11 |
| | |||||
* | Fixes a nasty issue in gtest's template instantiation. | zhanyong.wan | 2013-02-28 | 1 | -45/+1 |
| | |||||
* | Removes an unused variable; also refactors to support an up-coming | zhanyong.wan | 2013-02-28 | 1 | -0/+19 |
| | | | | googlemock change. | ||||
* | Removes testing::internal::String::Format(), which causes problems as it ↵ | kosak | 2013-02-22 | 1 | -4/+5 |
| | | | | truncates the result at 4096 chars. Also update an obsolete link in comment. | ||||
* | Fixes an out-dated URL. | zhanyong.wan | 2013-02-02 | 1 | -1/+1 |
| | |||||
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems. | ||||
* | Removes obsolete debug code. | vladlosev | 2012-09-06 | 1 | -1/+1 |
| | |||||
* | Improves gtest's failure messages. In particulars, char pointers and | zhanyong.wan | 2012-06-07 | 1 | -61/+0 |
| | | | | char arrays are not escapped properly. | ||||
* | Fixes broken build on VC++ 7.1. | vladlosev | 2011-06-13 | 1 | -0/+10 |
| | |||||
* | Adds support for building Google Mock as a shared library (DLL). | vladlosev | 2011-05-20 | 1 | -1/+1 |
| | |||||
* | Simplifies the code by removing condfitional section that is no longer ↵ | vladlosev | 2011-05-12 | 1 | -4/+0 |
| | | | | necessary. | ||||
* | Fixes XL C++ 10.1 compiler errors (based on patch by Hady Zalek); cleans up ↵ | zhanyong.wan | 2011-04-15 | 1 | -10/+16 |
| | | | | formatting of GTEST_NO_INLINE_. | ||||
* | fixes XL C++ compiler errors (by Pasi Valminen) | zhanyong.wan | 2011-04-08 | 1 | -6/+7 |
| | |||||
* | Fixes compatibility with Sun C++ (by Hady Zalek); fixes compatibility | zhanyong.wan | 2011-03-11 | 1 | -6/+6 |
| | | | | with Android (by Zachary Vorhies). | ||||
* | Makes IsContainerTest compatible with Sun C++ and Visual Age C++, based on ↵ | zhanyong.wan | 2011-03-09 | 1 | -10/+28 |
| | | | | 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. | ||||
* | Fixes compatibility with Borland C++Builder. Original patch by Josh | zhanyong.wan | 2011-03-05 | 1 | -0/+5 |
| | | | | Kelley. Simplified by Zhanyong Wan. | ||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-22 | 1 | -9/+10 |
| | |||||
* | Adds null check for file locations in XML output printer. | vladlosev | 2011-02-02 | 1 | -14/+0 |
| | |||||
* | Adds type_param and value_param as <testcase> attributes to the XML | zhanyong.wan | 2011-02-02 | 1 | -8/+9 |
| | | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev. | ||||
* | Fixes GCC 4.6 warnings (patch by Jeffrey Yasskin). | zhanyong.wan | 2011-01-10 | 1 | -1/+8 |
| | |||||
* | Include gtest headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 1 | -4/+4 |
| | |||||
* | Casts char to unsigned char before calling isspace() etc to avoid undefined ↵ | zhanyong.wan | 2010-08-31 | 1 | -1/+1 |
| | | | | behavior (by Zhanyong Wan); removes conditional #includes keyed on GTEST_HAS_PROTOBUF_ (by Zhanyong Wan); publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); forward declares some classes properly (by Samuel Benzaquen); honors the --gtest_catch_exceptions flag (by Vlad Losev). | ||||
* | Adds ADD_FAILURE_AT (by Zhanyong Wan); disables -Wswitch-default (by Vlad ↵ | zhanyong.wan | 2010-07-26 | 1 | -2/+5 |
| | | | | Losev). | ||||
* | Allows EXPECT_EQ to accept arguments that don't have operator << (by ↵ | zhanyong.wan | 2010-07-21 | 1 | -59/+34 |
| | | | | | | | 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). | ||||
* | Adds tests for SkipPrefix(). | zhanyong.wan | 2010-06-08 | 1 | -1/+1 |
| | |||||
* | Adds GTEST_REMOVE_REFERENCE_AND_CONST_. | zhanyong.wan | 2010-05-17 | 1 | -1/+5 |
| | |||||
* | Suppresses some Clang warnings (by Chandler Carruth, Jeffrey Yasskin, and ↵ | zhanyong.wan | 2010-05-10 | 1 | -20/+27 |
| | | | | Zhanyong Wan). | ||||
* | Moves the universal printer from gmock to gtest and refactors the cmake ↵ | zhanyong.wan | 2010-05-10 | 1 | -0/+289 |
| | | | | script for reusing in gmock (by Vlad Losev). | ||||
* | Adds missing gtest DLL exports. | zhanyong.wan | 2010-03-22 | 1 | -5/+6 |
| | |||||
* | Supports building gtest as a DLL (by Vlad Losev). | zhanyong.wan | 2010-03-05 | 1 | -18/+21 |
| | |||||
* | Simplifies the implementation by using std::vector instead of Vector. | zhanyong.wan | 2010-02-25 | 1 | -1/+0 |
| | |||||
* | Removes uses of GTEST_HAS_STD_STRING. | zhanyong.wan | 2009-12-16 | 1 | -2/+0 |
| | |||||
* | Fixes the "passing non-POD to ellipsis" warning in Sun Studio. Based on ↵ | zhanyong.wan | 2009-12-07 | 1 | -7/+4 |
| | | | | Alexander Demin's patch. | ||||
* | Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev). | zhanyong.wan | 2009-12-01 | 1 | -0/+5 |
| | |||||
* | Implements support for AssertionResult in Boolean assertions such as ↵ | vladlosev | 2009-10-20 | 1 | -3/+13 |
| | | | | EXPECT_TRUE; Fixes Google Tests's tuple implementation to default-initialize its fields in the default constructor (by Zhanyong Wan); Populates gtest_stress_test.cc with actual tests. | ||||
* | Makes gtest compile cleanly with MSVC's /W4 (by Zhanyong Wan). | zhanyong.wan | 2009-09-30 | 1 | -2/+8 |
| | | | | | | Renames EventListenrs to TestEventListeners (by Zhanyong Wan). Fixes invalid characters in XML report (by Vlad Losev). Refacotrs SConscript (by Vlad Losev). | ||||
* | Adds a Random class to support --gtest_shuffle (by Josh Kelley); Makes the ↵ | zhanyong.wan | 2009-09-21 | 1 | -0/+22 |
| | | | | scons script build in a deterministic order (by Zhanyong Wan). | ||||
* | Renames the TestPartResult type enums and adjusts the order of methods in ↵ | zhanyong.wan | 2009-09-18 | 1 | -3/+3 |
| | | | | the event listener interface (by Vlad Losev). | ||||
* | Makes gtest compile clean with MSVC's warning 4100 (unused formal parameter) ↵ | zhanyong.wan | 2009-09-17 | 1 | -2/+2 |
| | | | | enabled. | ||||
* | Simplifies the implementation of GTEST_LOG_ & GTEST_LOG_; renames | zhanyong.wan | 2009-09-16 | 1 | -5/+5 |
| | | | | | GTEST_HIDE_UNREACHABLE_CODE_ to GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_ (by Vlad Losev). | ||||
* | More implementation of the event listener interface (by Vlad Losev); Reduces ↵ | zhanyong.wan | 2009-09-04 | 1 | -1/+0 |
| | | | | the stack space usage of assertions by moving AssertHelper's fields to the heap (by Jorg Brown); Makes String faster, smaller, and simpler (by Zhanyong Wan); Fixes a bug in String::Format() (by Chandler); Adds the /MD version of VC projects to the distribution (by Vlad Losev). | ||||
* | More refactoring for the event listener API, by Vlad Losev. | zhanyong.wan | 2009-07-16 | 1 | -6/+2 |
| | |||||
* | Adds color support for TERM=linux (by Alexander Demin); renames List to ↵ | zhanyong.wan | 2009-07-13 | 1 | -3/+3 |
| | | | | Vector (by Zhanyong Wan); implements Vector::Erase (by Vlad Losev). | ||||
* | Makes List a random-access data structure. This simplifies the ↵ | zhanyong.wan | 2009-07-01 | 1 | -2/+0 |
| | | | | implementation and makes it easier to implement test shuffling. | ||||
* | Turns on exceptions when compiling gtest_output_test (by Vlad Losev); moves ↵ | zhanyong.wan | 2009-06-22 | 1 | -1/+0 |
| | | | | TestCase to gtest.h to prepare for the event listener API (by Vlad Losev). | ||||
* | Fixes compatibility with Windows CE and Symbian (By Tim Baverstock and Mika). | zhanyong.wan | 2009-06-19 | 1 | -1/+1 |
| | |||||
* | Ports gtest to C++Builder, by Josh Kelley. | zhanyong.wan | 2009-04-28 | 1 | -12/+16 |
| | |||||
* | Fixes death-test-related tests on Windows, by Vlad Losev. | zhanyong.wan | 2009-03-11 | 1 | -0/+1 |
| | |||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 1 | -3/+3 |
| | |||||
* | Adds tests for EXPECT_FATAL_FAILURE and reduces the golden file bloat (by ↵ | zhanyong.wan | 2009-02-06 | 1 | -5/+11 |
| | | | | Zhanyong Wan). Fixes more warnings on Windows (by Vlad Losev). |