Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implements matcher SizeIs(). | zhanyong.wan | 2013-03-01 | 1 | -0/+59 |
| | |||||
* | Implements matcher IsEmpty(); also pulls in gtest r643. | zhanyong.wan | 2013-03-01 | 1 | -0/+34 |
| | |||||
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Reduced template instantiation depth for the AllOf and AnyOf matchers. Also ↵ | jgm | 2012-04-10 | 1 | -24/+68 |
| | | | | some formatting changes. | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -4/+4 |
| | |||||
* | Removes unused scons scripts; picks up gtest r446. | zhanyong.wan | 2010-07-21 | 1 | -2/+2 |
| | |||||
* | 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 | 1 | -285/+6 |
| | | | | MATCHER* descriptions. | ||||
* | Implements Pointwise(). | zhanyong.wan | 2010-05-17 | 1 | -40/+164 |
| | |||||
* | 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 | 1 | -124/+313 |
| | |||||
* | Fixes the explanation generated by many composite matchers (by Manuel ↵ | zhanyong.wan | 2010-03-16 | 1 | -37/+67 |
| | | | | 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 |
| | |||||
* | BREAKING CHANGE: drops the old matcher API. See ↵ | zhanyong.wan | 2010-01-28 | 1 | -31/+30 |
| | | | | http://code.google.com/p/googlemock/wiki/FrequentlyAskedQuestions for details. | ||||
* | Enables regex matchers on all platforms. | zhanyong.wan | 2010-01-14 | 1 | -9/+4 |
| | |||||
* | 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 | 1 | -16/+129 |
| | |||||
* | Fixes a slew of compiler warnings and turns on "warning as error" in the ↵ | zhanyong.wan | 2009-12-23 | 1 | -9/+22 |
| | | | | scons build. | ||||
* | 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 |
| | |||||
* | Makes gmock work on Symbian (both 3rd & 5th editions), original patch ↵ | zhanyong.wan | 2009-09-25 | 1 | -16/+39 |
| | | | | contributed by Mika Raento. | ||||
* | Adds the IsNull() matcher. | zhanyong.wan | 2009-09-24 | 1 | -0/+27 |
| | |||||
* | Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵ | zhanyong.wan | 2009-09-16 | 1 | -29/+115 |
| | | | | Losev). | ||||
* | Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. | zhanyong.wan | 2009-09-11 | 1 | -3/+1 |
| | |||||
* | Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵ | zhanyong.wan | 2009-08-31 | 1 | -12/+38 |
| | | | | Enables gMock to compile with VC 7.1 (by Vlad Losev). | ||||
* | Adds the Key() matcher, by Marcus Borger. | zhanyong.wan | 2009-07-16 | 1 | -0/+49 |
| | |||||
* | Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵ | zhanyong.wan | 2009-06-09 | 1 | -0/+30 |
| | | | | as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian. | ||||
* | Implements the Args<k1, ..., kn>(m) matcher. | zhanyong.wan | 2009-06-09 | 1 | -11/+10 |
| | |||||
* | Makes all container matchers work with (possibly multi-dimensional) native ↵ | zhanyong.wan | 2009-06-04 | 1 | -3/+75 |
| | | | | arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease. | ||||
* | Finishes SafeMatcherCast by catching lossy arithmetic conversions at ↵ | zhanyong.wan | 2009-05-14 | 1 | -6/+11 |
| | | | | compile-time; uses ACTION_TEMPLATE to simplify the definition of many actions; makes mock object uncopyable; teaches gmock doctor about wrong MOCK_METHODn. | ||||
* | Partially implemented SafeMatcherCast (by Vlad Losev); updated the ↵ | zhanyong.wan | 2009-05-11 | 1 | -3/+110 |
| | | | | implementation of Not, AnyOf, and AllOf to use SafeMatcherCast (by Vlad Losev); implemented ACTION_TEMPLATE (by Zhanyong Wan); worked around bugs on Symbian (by Zhanyong Wan). | ||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 1 | -1/+1 |
| | |||||
* | Implements custom description string for MATCHER*. | zhanyong.wan | 2009-02-19 | 1 | -0/+314 |
| | |||||
* | Implements ContainerEq. | zhanyong.wan | 2009-01-16 | 1 | -1/+145 |
| | |||||
* | Initial drop of Google Mock. The files are incomplete and thus may not ↵ | shiqian | 2008-12-10 | 1 | -0/+2629 |
build correctly yet. |