aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-266-16/+17
|
* Allows mock methods overloaded on argument number or the const-ness of this ↵zhanyong.wan2009-03-253-66/+118
| | | | object to appear on the same source line.
* Fixes outdated info in README about compatibility with other testing frameworks.zhanyong.wan2009-03-191-4/+9
|
* Adds release note for 1.1.0 and switches to use gtest 1.3.0.zhanyong.wan2009-03-174-2/+14
|
* Makes the code compile on Windows CE.zhanyong.wan2009-03-115-6/+50
|
* 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-032-6/+31
|
* Cleans up macro definitions.zhanyong.wan2009-02-2311-38/+38
|
* Implements Contains(element) matcher. By Gary Morain.zhanyong.wan2009-02-203-0/+178
|
* Adds two actions: SaveArg and SetArgReferee.zhanyong.wan2009-02-193-31/+177
|
* Fixes link errors due to an MS VC bug. By Vlad Losev.zhanyong.wan2009-02-199-131/+737
|
* Implements custom description string for MATCHER*.zhanyong.wan2009-02-197-290/+1029
|
* Makes sure all internal macros are named GMOCK_*_. No functionality is changed.zhanyong.wan2009-02-1914-450/+470
|
* Removes upload*.py from the release package, as they are useless without an ↵zhanyong.wan2009-02-131-5/+0
| | | | SVN checkout.
* Adds upload_gmock.py for uploading a patch for review.zhanyong.wan2009-02-133-0/+1470
|
* Sets the svn:eol-style property of VS project files to CRLF.zhanyong.wan2009-02-137-1163/+1163
|
* Removes the svn:executable attribute from VS project files.zhanyong.wan2009-02-137-0/+0
|