Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 5 | -34/+115 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Makes gmock's Pointee() work for optional<T> (by Jeffrey Yasskin). | vladlosev | 2012-08-14 | 1 | -0/+32 |
| | |||||
* | Pulls in gtest r615. | zhanyong.wan | 2012-05-31 | 1 | -17/+17 |
| | | | | | | Renames internal enums to the kFoo naming style. Fixes gmock doctor to work with newer versions of Clang. | ||||
* | Reduced template instantiation depth for the AllOf and AnyOf matchers. Also ↵ | jgm | 2012-04-10 | 6 | -42/+104 |
| | | | | some formatting changes. | ||||
* | Fixes a lock reentrancy when destroying a mock causes destruction of another ↵ | vladlosev | 2011-10-24 | 1 | -1/+52 |
| | | | | mock (issue 79) (by Aaron Jacobs). | ||||
* | Implements matchers WhenSorted() and WhenSortedBy(); pulls in gtest r595. | zhanyong.wan | 2011-09-16 | 1 | -0/+81 |
| | |||||
* | Adds support for building Google Mock as a shared library (DLL). | vladlosev | 2011-05-20 | 1 | -1/+1 |
| | |||||
* | A test to verify correcteness of Google Mock on multiple threads. | vladlosev | 2011-05-11 | 1 | -0/+322 |
| | |||||
* | simplifies TrulyMatcher and adds a test for it | zhanyong.wan | 2011-04-14 | 1 | -0/+23 |
| | |||||
* | Changes diagnostic output of the question mark from '\?' to '?'. | vladlosev | 2011-04-01 | 1 | -6/+6 |
| | |||||
* | Prevents ADL in AllOf() and AnyOf() (by Manuel Klimek). | zhanyong.wan | 2011-03-16 | 1 | -0/+29 |
| | |||||
* | Disables SetArgPointee("string literal") for GCC 4.0- and Symbian, and | zhanyong.wan | 2011-03-09 | 1 | -5/+46 |
| | | | | adds support for SetArgPointee(L"wide string literal") -- by Vlad Losev. | ||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-24 | 6 | -24/+30 |
| | |||||
* | Makes Google Mock compile much faster and use much less memory; reviewed by ↵ | zhanyong.wan | 2011-02-23 | 2 | -6/+54 |
| | | | | Nico Weber. This fixes issue 68. | ||||
* | Improves cross-platform compatibility of gmock output. This fixes issue 135. | vladlosev | 2011-02-11 | 1 | -10/+38 |
| | |||||
* | Enables SetArgPointee<>() to accept a string literal; removes a ↵ | zhanyong.wan | 2010-12-02 | 2 | -1/+38 |
| | | | | self-assignment warning; teaches gmock doctor to diagnose TTB with Clang; picks up gtest r525. | ||||
* | Adds action SaveArgPointee. | zhanyong.wan | 2010-10-14 | 1 | -0/+27 |
| | |||||
* | Adds SetArgPointee to replace SetArgumentPointee. | zhanyong.wan | 2010-10-05 | 4 | -53/+172 |
| | |||||
* | Prints the type of the actual value as part of a match message when appropriate. | zhanyong.wan | 2010-09-27 | 1 | -28/+73 |
| | |||||
* | Include gtest and gmock headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 16 | -52/+52 |
| | |||||
* | Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to ↵ | zhanyong.wan | 2010-08-31 | 3 | -16/+16 |
| | | | | unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); fixes the VC projects (by Fredrik Roubert). | ||||
* | Picks up gtest r453. | zhanyong.wan | 2010-08-09 | 1 | -1/+1 |
| | |||||
* | Removes unused scons scripts; picks up gtest r446. | zhanyong.wan | 2010-07-21 | 2 | -3/+3 |
| | |||||
* | Implements ReturnPointee() and ReturnRefOfCopy(). | zhanyong.wan | 2010-07-03 | 2 | -0/+35 |
| | |||||
* | Increases the maximum arity of AllOf() and AnyOf() to 10, by Marcus Börger. | zhanyong.wan | 2010-06-09 | 1 | -0/+51 |
| | |||||
* | Replaces Python-style interpolation with arbitrary C++ string expression in ↵ | zhanyong.wan | 2010-06-08 | 2 | -361/+27 |
| | | | | MATCHER* descriptions. | ||||
* | Implements Pointwise(). | zhanyong.wan | 2010-05-17 | 3 | -47/+172 |
| | |||||
* | Renames test script flags. | vladlosev | 2010-05-13 | 2 | -59/+3 |
| | |||||
* | Moves the universal printer from gmock to gtest (by Vlad Losev). | zhanyong.wan | 2010-05-10 | 5 | -1552/+7 |
| | |||||
* | Fixes tests leaking altered values of GMOCK_FLAG(verbose) (issue 110). | vladlosev | 2010-05-05 | 3 | -15/+25 |
| | |||||
* | Adds a synchronization test. | vladlosev | 2010-05-04 | 1 | -2/+16 |
| | |||||
* | Adds Each(m) (by Wojtek Moczydlowski); removes scripts/test/Makefile (by ↵ | zhanyong.wan | 2010-04-22 | 1 | -7/+95 |
| | | | | Zhanyong Wan); pulls in gtest r424. | ||||
* | Improves matcher messages across the board. | zhanyong.wan | 2010-03-24 | 3 | -147/+381 |
| | |||||
* | Fixes the explanation generated by many composite matchers (by Manuel ↵ | zhanyong.wan | 2010-03-16 | 3 | -47/+81 |
| | | | | Klimek); publishes the gmock value printer as testing::PrintToString() (by Zhanyong Wan). | ||||
* | Adds IsInterested() to MatchResultListener; clarifies the format of matcher ↵ | zhanyong.wan | 2010-03-15 | 1 | -8/+45 |
| | | | | description and match result explanation; renames the free function MatchAndExplain() to ExplainMatchResult() to avoid it being hidden inside a MATCHER* definition. | ||||
* | Adds a free function MatchAndExplain(). | zhanyong.wan | 2010-03-05 | 1 | -2/+26 |
| | |||||
* | Enables tests depending on stdout capturing (by Vlad Losev). | zhanyong.wan | 2010-02-02 | 3 | -117/+124 |
| | |||||
* | BREAKING CHANGE: drops the old matcher API. See ↵ | zhanyong.wan | 2010-01-28 | 2 | -37/+38 |
| | | | | http://code.google.com/p/googlemock/wiki/FrequentlyAskedQuestions for details. | ||||
* | Enables regex matchers on all platforms. | zhanyong.wan | 2010-01-14 | 3 | -26/+18 |
| | |||||
* | Allows Field() and Property() to work when the matcher argument is a pointer ↵ | zhanyong.wan | 2010-01-13 | 1 | -0/+23 |
| | | | | passed by reference. | ||||
* | Implements the new matcher API. | zhanyong.wan | 2010-01-08 | 2 | -16/+181 |
| | |||||
* | Fixes a slew of compiler warnings and turns on "warning as error" in the ↵ | zhanyong.wan | 2009-12-23 | 15 | -70/+235 |
| | | | | scons build. | ||||
* | Removes uses of GTEST_HAS_STD_STRING. | zhanyong.wan | 2009-12-16 | 2 | -6/+0 |
| | |||||
* | Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad ↵ | zhanyong.wan | 2009-12-01 | 4 | -9/+26 |
| | | | | Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev). | ||||
* | Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the ↵ | zhanyong.wan | 2009-11-24 | 5 | -97/+74 |
| | | | | Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev). | ||||
* | Tests NotNull/IsNull with testing::internal::scoped_ptr. | vladlosev | 2009-11-18 | 1 | -0/+19 |
| | |||||
* | Updates IsNull and NotNull matchers to work with smart pointers. | vladlosev | 2009-11-18 | 1 | -0/+37 |
| | |||||
* | Enables gmock's implicit_cast to work with source types that have a ↵ | vladlosev | 2009-11-18 | 1 | -4/+135 |
| | | | | non-const conversion operator (by Zhanyong Wan). | ||||
* | Enables gmock's implicit_cast to work with source types that | vladlosev | 2009-11-18 | 1 | -0/+47 |
| | |||||
* | Adds gmock_all_test.cc for compiling most gmock tests in a single file. | zhanyong.wan | 2009-11-12 | 1 | -0/+49 |
| |