aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Re-organizes the file structure for actions.zhanyong.wan2009-07-223-599/+882
|
* Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h ↵zhanyong.wan2009-07-211-0/+16
| | | | (by Zhanyong Wan).
* Makes ByRef(x) printable as a reference to x.zhanyong.wan2009-07-201-0/+10
|
* Adds the Key() matcher, by Marcus Borger.zhanyong.wan2009-07-161-0/+49
|
* Implements Expectation, ExpectationSet, and After for specifying expectation ↵zhanyong.wan2009-07-011-2/+320
| | | | orders.
* Makes gmock-spec-builders_test.cc and gmock-internal-utils_test.cc work ↵zhanyong.wan2009-06-222-2/+20
| | | | where both ::string and ::std::string are defined.
* Switches from Boost TR1 tuple to gtest's TR1 tuple.zhanyong.wan2009-06-172-33/+69
|
* Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL.zhanyong.wan2009-06-111-28/+0
|
* Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵zhanyong.wan2009-06-096-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.wan2009-06-094-18/+122
|
* Makes all container matchers work with (possibly multi-dimensional) native ↵zhanyong.wan2009-06-044-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.wan2009-05-293-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.wan2009-05-142-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.wan2009-05-131-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.wan2009-05-112-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.wan2009-05-053-10/+52
| | | | Zhanyong Wan).
* Turns --gmock_catch_leaked_mocks on by default.zhanyong.wan2009-04-291-3/+3
|
* Implements --gmock_catch_leaked_mocks and Mock::AllowLeak.zhanyong.wan2009-04-227-2/+270
|
* Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh.zhanyong.wan2009-04-091-0/+103
|
* Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter.zhanyong.wan2009-03-261-1/+1
|
* Allows mock methods overloaded on argument number or the const-ness of this ↵zhanyong.wan2009-03-251-0/+40
| | | | object to appear on the same source line.
* Makes the code compile on Windows CE.zhanyong.wan2009-03-112-1/+18
|
* Fixes gmock-port_test on Windows.zhanyong.wan2009-03-061-10/+10
|
* Allows a mock object to delete itself in an action. By Simon Bowden.zhanyong.wan2009-03-031-2/+19
|
* Cleans up macro definitions.zhanyong.wan2009-02-237-31/+31
|
* Implements Contains(element) matcher. By Gary Morain.zhanyong.wan2009-02-201-0/+96
|
* Adds two actions: SaveArg and SetArgReferee.zhanyong.wan2009-02-191-0/+61
|
* Fixes link errors due to an MS VC bug. By Vlad Losev.zhanyong.wan2009-02-194-55/+652
|
* Implements custom description string for MATCHER*.zhanyong.wan2009-02-193-26/+410
|
* Makes sure all internal macros are named GMOCK_*_. No functionality is changed.zhanyong.wan2009-02-191-12/+13
|
* Implements the MATCHER* macros.zhanyong.wan2009-02-123-0/+396
|
* Fixes the "ambiguous overload" compiler error when a mock function takes an ↵zhanyong.wan2009-02-111-0/+58
| | | | argument that supports streaming to basic_ostream<C, T>.
* Implements action Throw(exception).zhanyong.wan2009-02-061-0/+21
|
* Improves ACTION* to allow explicit instantiating with reference types.zhanyong.wan2009-02-021-0/+30
|
* Improves error messages for undefined return value (by Sverre Sundsdal); ↵zhanyong.wan2009-01-272-0/+89
| | | | improves gmock_doctor.
* Implements ContainerEq.zhanyong.wan2009-01-161-1/+145
|
* Implements the ACTION* macros.shiqian2009-01-091-0/+338
|
* Fixes compatibility with gcc 4.3's tuple implementation.shiqian2008-12-111-0/+23
|
* Initial drop of Google Mock. The files are incomplete and thus may not ↵shiqian2008-12-1020-0/+10690
build correctly yet.