aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Makes gmock work on Symbian (both 3rd & 5th editions), original patch ↵zhanyong.wan2009-09-259-92/+185
| | | | contributed by Mika Raento.
* Adds the IsNull() matcher.zhanyong.wan2009-09-243-0/+53
|
* Simplifies gmock code using gtest's OS-indicating macros.zhanyong.wan2009-09-245-19/+19
|
* Bumps up the version number for release 1.2.0.zhanyong.wan2009-09-241-2/+2
|
* Makes gmock compile on minGW, which uses gcc 3.4.5.zhanyong.wan2009-09-241-3/+6
|
* Removes gmock's dependency on python2.4.zhanyong.wan2009-09-222-2/+2
|
* Picks up gtest r314.zhanyong.wan2009-09-182-3/+7
|
* Disbles two tests that crash on Symbian.zhanyong.wan2009-09-171-3/+13
|
* Simplifies the definition of NativeArray. Works around a VC bug in ↵zhanyong.wan2009-09-166-81/+117
| | | | StrictMock & NiceMock.
* Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵zhanyong.wan2009-09-165-140/+219
| | | | Losev).
* Removes dead code in gmock-more-actions_test.cc.zhanyong.wan2009-09-121-132/+0
|
* Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED.zhanyong.wan2009-09-115-60/+23
|
* Adds gmock-more-actions.h to the distribution ('make distcheck' passes).zhanyong.wan2009-09-081-0/+1
|
* Updates CHANGES.zhanyong.wan2009-09-041-1/+24
|
* Depends on gtest r300, which allows String to contain NUL.zhanyong.wan2009-09-011-1/+1
|
* Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵zhanyong.wan2009-08-315-50/+65
| | | | Enables gMock to compile with VC 7.1 (by Vlad Losev).
* Improves protobuf print format.zhanyong.wan2009-08-143-7/+40
|
* Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵zhanyong.wan2009-08-075-53/+27
| | | | 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-229-1049/+1159
|
* Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h ↵zhanyong.wan2009-07-216-444/+249
| | | | (by Zhanyong Wan).
* Makes ByRef(x) printable as a reference to x.zhanyong.wan2009-07-204-1/+32
|
* Adds the Key() matcher, by Marcus Borger.zhanyong.wan2009-07-162-0/+115
|
* Implements Expectation, ExpectationSet, and After for specifying expectation ↵zhanyong.wan2009-07-013-100/+606
| | | | orders.
* A trivial comment fix.zhanyong.wan2009-07-011-1/+2
|
* 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-175-88/+114
|
* Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL.zhanyong.wan2009-06-112-42/+0
|
* Works around a gcc bug that causes tr1/tuple to fail to compile when RTTI is ↵zhanyong.wan2009-06-111-0/+10
| | | | disabled.
* Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵zhanyong.wan2009-06-0911-101/+176
| | | | 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-098-29/+597
|
* Fixes errors in the autotools scripts.zhanyong.wan2009-06-052-2/+2
|
* Makes all container matchers work with (possibly multi-dimensional) native ↵zhanyong.wan2009-06-0412-162/+1026
| | | | arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease.
* Improves gmock generator and adds a test for it (by Neal Norwitz).zhanyong.wan2009-06-023-11/+159
|
* Avoids unnecessary printing of call into to internal buffers;zhanyong.wan2009-05-2910-281/+396
| | | | | | 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-149-954/+617
| | | | 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-134-176/+245
| | | | 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-117-44/+999
| | | | 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).
* Makes the mock generator work with python2.3.5, which comes with Mac OS X Tiger.zhanyong.wan2009-05-074-8/+10
|
* Cleans up the mock generator script:zhanyong.wan2009-05-072-22/+31
| | | | | | - updates the doc string. - adds a version number. - fixes the condition for error messages in _GenerateMocks().
* Allow any number of ClassNames to be specified on the command line.nnorwitz2009-05-062-7/+18
| | | | 0 ClassNames means emit all classes found in the file.
* Fix grammar in commentnnorwitz2009-05-061-1/+1
|
* Issue 44: "const" is missing for const return typesnnorwitz2009-05-061-1/+5
| | | | | The modifiers (things like const, volatile, etc) were not being added to return types.
* Improves the error message for leaked mocks to include the test name (by ↵zhanyong.wan2009-05-055-16/+74
| | | | Zhanyong Wan).
* Fixes tr1 tuple's path when compiled with gcc version < 4.0.0 (by Zhanyong Wan).zhanyong.wan2009-05-051-4/+6
|
* Turns --gmock_catch_leaked_mocks on by default.zhanyong.wan2009-04-292-6/+4
|
* Implements --gmock_catch_leaked_mocks and Mock::AllowLeak.zhanyong.wan2009-04-2217-43/+681
|
* Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh.zhanyong.wan2009-04-093-0/+513
|
* Adds fuse_gmock_files.py to fuse all Google Mock and Google Test source ↵zhanyong.wan2009-04-093-0/+302
| | | | files (by Zhanyong Wan).
* Makes gmock compile clean with gcc -Wall -Wextra.zhanyong.wan2009-04-033-60/+54
|
* Makes googlemock compile with gcc 3.3.zhanyong.wan2009-03-311-32/+55
|