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