Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds a note in the "uninteresting mock method call" warning to advise people ↵ | kosak | 2014-01-12 | 1 | -4/+12 |
| | | | | | | | how to handle the warning. Clarifies the purpose of utilities in gmock-port.h and adds guidance w.r.t. gmock-port.h vs gtest-port.h. Pulls in gtest r674. | ||||
* | fixes the bug reported by Andrzej Jarzabek where 2 gmock tests fail when ↵ | zhanyong.wan | 2013-09-16 | 1 | -2/+2 |
| | | | | built with VS | ||||
* | Fixes some compatibility issues with STLport. | zhanyong.wan | 2013-04-04 | 1 | -3/+3 |
| | |||||
* | Improves the tests for nice, naggy, and strict mocks. | zhanyong.wan | 2013-03-01 | 1 | -18/+22 |
| | |||||
* | Makes googlemock throw a runtime_error instead of abort when a mock | zhanyong.wan | 2013-02-28 | 1 | -92/+173 |
| | | | | | method with no default value is invoked (if exceptions are enabled). | ||||
* | Unfortunately, the svn repo is a bit out of date. This commit contains 8 | jgm | 2012-11-15 | 1 | -18/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 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). | ||||
* | Indents preprocessor directives. | zhanyong.wan | 2011-02-24 | 1 | -8/+11 |
| | |||||
* | Makes Google Mock compile much faster and use much less memory; reviewed by ↵ | zhanyong.wan | 2011-02-23 | 1 | -4/+53 |
| | | | | Nico Weber. This fixes issue 68. | ||||
* | Improves cross-platform compatibility of gmock output. This fixes issue 135. | vladlosev | 2011-02-11 | 1 | -10/+38 |
| | |||||
* | Include gtest and gmock headers as user headers instead of system headers. | zhanyong.wan | 2010-09-14 | 1 | -5/+5 |
| | |||||
* | Publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); casts char to ↵ | zhanyong.wan | 2010-08-31 | 1 | -8/+8 |
| | | | | 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 |
| | |||||
* | Fixes tests leaking altered values of GMOCK_FLAG(verbose) (issue 110). | vladlosev | 2010-05-05 | 1 | -15/+21 |
| | |||||
* | Adds a synchronization test. | vladlosev | 2010-05-04 | 1 | -2/+16 |
| | |||||
* | Enables tests depending on stdout capturing (by Vlad Losev). | zhanyong.wan | 2010-02-02 | 1 | -77/+82 |
| | |||||
* | Enables regex matchers on all platforms. | zhanyong.wan | 2010-01-14 | 1 | -13/+14 |
| | |||||
* | Fixes a slew of compiler warnings and turns on "warning as error" in the ↵ | zhanyong.wan | 2009-12-23 | 1 | -1/+39 |
| | | | | scons build. | ||||
* | Enables more verbose output for expectations (by Sverre Sundsdal); Fixes ↵ | vladlosev | 2009-10-21 | 1 | -34/+40 |
| | | | | information loss warning when compiled by VC8.0 with /Wp64; Skips two tests on Windows Mobile that don't work there. | ||||
* | Picks up gtest r314. | zhanyong.wan | 2009-09-18 | 1 | -1/+1 |
| | |||||
* | Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. | zhanyong.wan | 2009-09-11 | 1 | -28/+8 |
| | |||||
* | Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵ | zhanyong.wan | 2009-08-31 | 1 | -9/+9 |
| | | | | Enables gMock to compile with VC 7.1 (by Vlad Losev). | ||||
* | Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵ | zhanyong.wan | 2009-08-07 | 1 | -0/+15 |
| | | | | gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa). | ||||
* | Implements Expectation, ExpectationSet, and After for specifying expectation ↵ | zhanyong.wan | 2009-07-01 | 1 | -2/+320 |
| | | | | orders. | ||||
* | Makes gmock-spec-builders_test.cc and gmock-internal-utils_test.cc work ↵ | zhanyong.wan | 2009-06-22 | 1 | -1/+10 |
| | | | | where both ::string and ::std::string are defined. | ||||
* | Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL. | zhanyong.wan | 2009-06-11 | 1 | -28/+0 |
| | |||||
* | Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵ | zhanyong.wan | 2009-06-09 | 1 | -20/+47 |
| | | | | as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian. | ||||
* | Avoids unnecessary printing of call into to internal buffers; | zhanyong.wan | 2009-05-29 | 1 | -0/+47 |
| | | | | | | Made the universal value printer safer when printing char[]; Removed duplicated code in InvokeWith; Improved gmock_doctor.py. | ||||
* | Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. | zhanyong.wan | 2009-04-22 | 1 | -0/+48 |
| | |||||
* | Allows a mock object to delete itself in an action. By Simon Bowden. | zhanyong.wan | 2009-03-03 | 1 | -2/+19 |
| | |||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 1 | -3/+3 |
| | |||||
* | Improves error messages for undefined return value (by Sverre Sundsdal); ↵ | zhanyong.wan | 2009-01-27 | 1 | -0/+12 |
| | | | | improves gmock_doctor. | ||||
* | Initial drop of Google Mock. The files are incomplete and thus may not ↵ | shiqian | 2008-12-10 | 1 | -0/+1889 |
build correctly yet. |