Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplifies gmock code using gtest's OS-indicating macros. | zhanyong.wan | 2009-09-24 | 2 | -11/+11 |
| | |||||
* | Removes gmock's dependency on python2.4. | zhanyong.wan | 2009-09-22 | 1 | -1/+1 |
| | |||||
* | Picks up gtest r314. | zhanyong.wan | 2009-09-18 | 1 | -1/+1 |
| | |||||
* | Disbles two tests that crash on Symbian. | zhanyong.wan | 2009-09-17 | 1 | -3/+13 |
| | |||||
* | Simplifies the definition of NativeArray. Works around a VC bug in ↵ | zhanyong.wan | 2009-09-16 | 3 | -30/+44 |
| | | | | StrictMock & NiceMock. | ||||
* | Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵ | zhanyong.wan | 2009-09-16 | 2 | -87/+116 |
| | | | | Losev). | ||||
* | Removes dead code in gmock-more-actions_test.cc. | zhanyong.wan | 2009-09-12 | 1 | -132/+0 |
| | |||||
* | Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. | zhanyong.wan | 2009-09-11 | 5 | -60/+23 |
| | |||||
* | Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵ | zhanyong.wan | 2009-08-31 | 2 | -21/+47 |
| | | | | Enables gMock to compile with VC 7.1 (by Vlad Losev). | ||||
* | Improves protobuf print format. | zhanyong.wan | 2009-08-14 | 2 | -3/+29 |
| | |||||
* | 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). | ||||
* | Re-organizes the file structure for actions. | zhanyong.wan | 2009-07-22 | 3 | -599/+882 |
| | |||||
* | Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h ↵ | zhanyong.wan | 2009-07-21 | 1 | -0/+16 |
| | | | | (by Zhanyong Wan). | ||||
* | Makes ByRef(x) printable as a reference to x. | zhanyong.wan | 2009-07-20 | 1 | -0/+10 |
| | |||||
* | Adds the Key() matcher, by Marcus Borger. | zhanyong.wan | 2009-07-16 | 1 | -0/+49 |
| | |||||
* | 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 | 2 | -2/+20 |
| | | | | where both ::string and ::std::string are defined. | ||||
* | Switches from Boost TR1 tuple to gtest's TR1 tuple. | zhanyong.wan | 2009-06-17 | 2 | -33/+69 |
| | |||||
* | 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 | 6 | -33/+91 |
| | | | | 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 | 4 | -18/+122 |
| | |||||
* | Makes all container matchers work with (possibly multi-dimensional) native ↵ | zhanyong.wan | 2009-06-04 | 4 | -11/+466 |
| | | | | arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease. | ||||
* | Avoids unnecessary printing of call into to internal buffers; | zhanyong.wan | 2009-05-29 | 3 | -33/+96 |
| | | | | | | Made the universal value printer safer when printing char[]; Removed duplicated code in InvokeWith; Improved gmock_doctor.py. | ||||
* | Finishes SafeMatcherCast by catching lossy arithmetic conversions at ↵ | zhanyong.wan | 2009-05-14 | 2 | -8/+155 |
| | | | | compile-time; uses ACTION_TEMPLATE to simplify the definition of many actions; makes mock object uncopyable; teaches gmock doctor about wrong MOCK_METHODn. | ||||
* | Adds more tests for using SetArgumentPointee with protobufs; works around a ↵ | zhanyong.wan | 2009-05-13 | 1 | -8/+56 |
| | | | | compiler bug on Symbian that gmock-printers.h triggers; reduces template code bloat in gmock-matchers.h; avoids RTTI when it's disabled. | ||||
* | Partially implemented SafeMatcherCast (by Vlad Losev); updated the ↵ | zhanyong.wan | 2009-05-11 | 2 | -3/+262 |
| | | | | 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). | ||||
* | Improves the error message for leaked mocks to include the test name (by ↵ | zhanyong.wan | 2009-05-05 | 3 | -10/+52 |
| | | | | Zhanyong Wan). | ||||
* | Turns --gmock_catch_leaked_mocks on by default. | zhanyong.wan | 2009-04-29 | 1 | -3/+3 |
| | |||||
* | Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. | zhanyong.wan | 2009-04-22 | 7 | -2/+270 |
| | |||||
* | Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh. | zhanyong.wan | 2009-04-09 | 1 | -0/+103 |
| | |||||
* | Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter. | zhanyong.wan | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Allows mock methods overloaded on argument number or the const-ness of this ↵ | zhanyong.wan | 2009-03-25 | 1 | -0/+40 |
| | | | | object to appear on the same source line. | ||||
* | Makes the code compile on Windows CE. | zhanyong.wan | 2009-03-11 | 2 | -1/+18 |
| | |||||
* | Fixes gmock-port_test on Windows. | zhanyong.wan | 2009-03-06 | 1 | -10/+10 |
| | |||||
* | 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 | 7 | -31/+31 |
| | |||||
* | Implements Contains(element) matcher. By Gary Morain. | zhanyong.wan | 2009-02-20 | 1 | -0/+96 |
| | |||||
* | Adds two actions: SaveArg and SetArgReferee. | zhanyong.wan | 2009-02-19 | 1 | -0/+61 |
| | |||||
* | Fixes link errors due to an MS VC bug. By Vlad Losev. | zhanyong.wan | 2009-02-19 | 4 | -55/+652 |
| | |||||
* | Implements custom description string for MATCHER*. | zhanyong.wan | 2009-02-19 | 3 | -26/+410 |
| | |||||
* | Makes sure all internal macros are named GMOCK_*_. No functionality is changed. | zhanyong.wan | 2009-02-19 | 1 | -12/+13 |
| | |||||
* | Implements the MATCHER* macros. | zhanyong.wan | 2009-02-12 | 3 | -0/+396 |
| | |||||
* | Fixes the "ambiguous overload" compiler error when a mock function takes an ↵ | zhanyong.wan | 2009-02-11 | 1 | -0/+58 |
| | | | | argument that supports streaming to basic_ostream<C, T>. | ||||
* | Implements action Throw(exception). | zhanyong.wan | 2009-02-06 | 1 | -0/+21 |
| | |||||
* | Improves ACTION* to allow explicit instantiating with reference types. | zhanyong.wan | 2009-02-02 | 1 | -0/+30 |
| | |||||
* | Improves error messages for undefined return value (by Sverre Sundsdal); ↵ | zhanyong.wan | 2009-01-27 | 2 | -0/+89 |
| | | | | improves gmock_doctor. | ||||
* | Implements ContainerEq. | zhanyong.wan | 2009-01-16 | 1 | -1/+145 |
| | |||||
* | Implements the ACTION* macros. | shiqian | 2009-01-09 | 1 | -0/+338 |
| | |||||
* | Fixes compatibility with gcc 4.3's tuple implementation. | shiqian | 2008-12-11 | 1 | -0/+23 |
| | |||||
* | Initial drop of Google Mock. The files are incomplete and thus may not ↵ | shiqian | 2008-12-10 | 20 | -0/+10690 |
build correctly yet. |