Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds the IsNull() matcher. | zhanyong.wan | 2009-09-24 | 1 | -0/+18 |
| | |||||
* | Simplifies gmock code using gtest's OS-indicating macros. | zhanyong.wan | 2009-09-24 | 1 | -4/+4 |
| | |||||
* | Makes gmock compile on minGW, which uses gcc 3.4.5. | zhanyong.wan | 2009-09-24 | 1 | -3/+6 |
| | |||||
* | Simplifies the definition of NativeArray. Works around a VC bug in ↵ | zhanyong.wan | 2009-09-16 | 3 | -51/+73 |
| | | | | StrictMock & NiceMock. | ||||
* | Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵ | zhanyong.wan | 2009-09-16 | 2 | -51/+101 |
| | | | | Losev). | ||||
* | Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵ | zhanyong.wan | 2009-08-31 | 2 | -27/+14 |
| | | | | Enables gMock to compile with VC 7.1 (by Vlad Losev). | ||||
* | Improves protobuf print format. | zhanyong.wan | 2009-08-14 | 1 | -4/+11 |
| | |||||
* | Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵ | zhanyong.wan | 2009-08-07 | 2 | -44/+1 |
| | | | | 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 | 5 | -450/+272 |
| | |||||
* | Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h ↵ | zhanyong.wan | 2009-07-21 | 5 | -444/+233 |
| | | | | (by Zhanyong Wan). | ||||
* | Makes ByRef(x) printable as a reference to x. | zhanyong.wan | 2009-07-20 | 2 | -0/+22 |
| | |||||
* | Adds the Key() matcher, by Marcus Borger. | zhanyong.wan | 2009-07-16 | 1 | -0/+66 |
| | |||||
* | Implements Expectation, ExpectationSet, and After for specifying expectation ↵ | zhanyong.wan | 2009-07-01 | 1 | -80/+270 |
| | | | | orders. | ||||
* | A trivial comment fix. | zhanyong.wan | 2009-07-01 | 1 | -1/+2 |
| | |||||
* | Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL. | zhanyong.wan | 2009-06-11 | 1 | -14/+0 |
| | |||||
* | Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵ | zhanyong.wan | 2009-06-09 | 4 | -61/+75 |
| | | | | 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 | -11/+475 |
| | |||||
* | Makes all container matchers work with (possibly multi-dimensional) native ↵ | zhanyong.wan | 2009-06-04 | 5 | -145/+495 |
| | | | | 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 | -206/+213 |
| | | | | | | 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 | 6 | -942/+437 |
| | | | | 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 | 3 | -168/+189 |
| | | | | 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 | 5 | -41/+737 |
| | | | | 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 | 1 | -4/+4 |
| | | | | Zhanyong Wan). | ||||
* | Fixes tr1 tuple's path when compiled with gcc version < 4.0.0 (by Zhanyong Wan). | zhanyong.wan | 2009-05-05 | 1 | -4/+6 |
| | |||||
* | Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. | zhanyong.wan | 2009-04-22 | 3 | -16/+42 |
| | |||||
* | Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh. | zhanyong.wan | 2009-04-09 | 2 | -0/+410 |
| | |||||
* | Makes gmock compile clean with gcc -Wall -Wextra. | zhanyong.wan | 2009-04-03 | 2 | -59/+53 |
| | |||||
* | Makes googlemock compile with gcc 3.3. | zhanyong.wan | 2009-03-31 | 1 | -32/+55 |
| | |||||
* | Fixes an error when compiling with gcc 4.4. | zhanyong.wan | 2009-03-31 | 1 | -1/+1 |
| | |||||
* | Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter. | zhanyong.wan | 2009-03-26 | 4 | -14/+15 |
| | |||||
* | Allows mock methods overloaded on argument number or the const-ness of this ↵ | zhanyong.wan | 2009-03-25 | 2 | -66/+78 |
| | | | | object to appear on the same source line. | ||||
* | Makes the code compile on Windows CE. | zhanyong.wan | 2009-03-11 | 1 | -0/+12 |
| | |||||
* | Allows a mock object to delete itself in an action. By Simon Bowden. | zhanyong.wan | 2009-03-03 | 1 | -4/+12 |
| | |||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 3 | -6/+6 |
| | |||||
* | Implements Contains(element) matcher. By Gary Morain. | zhanyong.wan | 2009-02-20 | 2 | -0/+82 |
| | |||||
* | Adds two actions: SaveArg and SetArgReferee. | zhanyong.wan | 2009-02-19 | 2 | -31/+116 |
| | |||||
* | Fixes link errors due to an MS VC bug. By Vlad Losev. | zhanyong.wan | 2009-02-19 | 2 | -67/+76 |
| | |||||
* | Implements custom description string for MATCHER*. | zhanyong.wan | 2009-02-19 | 3 | -262/+476 |
| | |||||
* | Makes sure all internal macros are named GMOCK_*_. No functionality is changed. | zhanyong.wan | 2009-02-19 | 12 | -432/+451 |
| | |||||
* | Implements the MATCHER* macros. | zhanyong.wan | 2009-02-12 | 4 | -1/+1059 |
| | |||||
* | Fixes the "ambiguous overload" compiler error when a mock function takes an ↵ | zhanyong.wan | 2009-02-11 | 1 | -2/+13 |
| | | | | argument that supports streaming to basic_ostream<C, T>. | ||||
* | Implements action Throw(exception). | zhanyong.wan | 2009-02-06 | 2 | -0/+20 |
| | |||||
* | Improves ACTION* to allow explicit instantiating with reference types. | zhanyong.wan | 2009-02-02 | 2 | -116/+116 |
| | |||||
* | Improves error messages for undefined return value (by Sverre Sundsdal); ↵ | zhanyong.wan | 2009-01-27 | 2 | -12/+36 |
| | | | | improves gmock_doctor. | ||||
* | Implements ContainerEq. | zhanyong.wan | 2009-01-16 | 1 | -0/+78 |
| | |||||
* | Implements the ACTION* macros. | shiqian | 2009-01-09 | 2 | -0/+1180 |
| | |||||
* | Fixes compatibility with gcc 4.3's tuple implementation. | shiqian | 2008-12-11 | 1 | -8/+74 |
| | |||||
* | Initial drop of Google Mock. The files are incomplete and thus may not ↵ | shiqian | 2008-12-10 | 18 | -0/+10525 |
build correctly yet. |