Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the ↵ | zhanyong.wan | 2009-11-24 | 5 | -97/+74 |
| | | | | Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev). | ||||
* | Tests NotNull/IsNull with testing::internal::scoped_ptr. | vladlosev | 2009-11-18 | 1 | -0/+19 |
| | |||||
* | Updates IsNull and NotNull matchers to work with smart pointers. | vladlosev | 2009-11-18 | 1 | -0/+37 |
| | |||||
* | Enables gmock's implicit_cast to work with source types that have a ↵ | vladlosev | 2009-11-18 | 1 | -4/+135 |
| | | | | non-const conversion operator (by Zhanyong Wan). | ||||
* | Enables gmock's implicit_cast to work with source types that | vladlosev | 2009-11-18 | 1 | -0/+47 |
| | |||||
* | Adds gmock_all_test.cc for compiling most gmock tests in a single file. | zhanyong.wan | 2009-11-12 | 1 | -0/+49 |
| | |||||
* | Adds a dummy test to gmock-port.test.cc. | zhanyong.wan | 2009-11-06 | 1 | -1/+5 |
| | |||||
* | Enables more verbose output for expectations (by Sverre Sundsdal); Fixes ↵ | vladlosev | 2009-10-21 | 4 | -63/+81 |
| | | | | information loss warning when compiled by VC8.0 with /Wp64; Skips two tests on Windows Mobile that don't work there. | ||||
* | Changes gmock's version to 1.4.0. Also fixes a compiler warning. | zhanyong.wan | 2009-09-30 | 1 | -1/+1 |
| | |||||
* | Implements the MockFunction class. | zhanyong.wan | 2009-09-25 | 1 | -0/+44 |
| | |||||
* | Makes gmock work on Symbian (both 3rd & 5th editions), original patch ↵ | zhanyong.wan | 2009-09-25 | 4 | -25/+60 |
| | | | | contributed by Mika Raento. | ||||
* | Adds the IsNull() matcher. | zhanyong.wan | 2009-09-24 | 2 | -0/+35 |
| | |||||
* | Simplifies gmock code using gtest's OS-indicating macros. | zhanyong.wan | 2009-09-24 | 2 | -11/+11 |
| | |||||
* | Removes gmock's dependency on python2.4. | zhanyong.wan | 2009-09-22 | 1 | -1/+1 |
| | |||||
* | Picks up gtest r314. | zhanyong.wan | 2009-09-18 | 1 | -1/+1 |
| | |||||
* | Disbles two tests that crash on Symbian. | zhanyong.wan | 2009-09-17 | 1 | -3/+13 |
| | |||||
* | Simplifies the definition of NativeArray. Works around a VC bug in ↵ | zhanyong.wan | 2009-09-16 | 3 | -30/+44 |
| | | | | StrictMock & NiceMock. | ||||
* | Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵ | zhanyong.wan | 2009-09-16 | 2 | -87/+116 |
| | | | | Losev). | ||||
* | Removes dead code in gmock-more-actions_test.cc. | zhanyong.wan | 2009-09-12 | 1 | -132/+0 |
| | |||||
* | Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. | zhanyong.wan | 2009-09-11 | 5 | -60/+23 |
| | |||||
* | Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵ | zhanyong.wan | 2009-08-31 | 2 | -21/+47 |
| | | | | Enables gMock to compile with VC 7.1 (by Vlad Losev). | ||||
* | Improves protobuf print format. | zhanyong.wan | 2009-08-14 | 2 | -3/+29 |
| | |||||
* | Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵ | zhanyong.wan | 2009-08-07 | 1 | -0/+15 |
| | | | | 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 | 3 | -599/+882 |
| | |||||
* | Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h ↵ | zhanyong.wan | 2009-07-21 | 1 | -0/+16 |
| | | | | (by Zhanyong Wan). | ||||
* | Makes ByRef(x) printable as a reference to x. | zhanyong.wan | 2009-07-20 | 1 | -0/+10 |
| | |||||
* | Adds the Key() matcher, by Marcus Borger. | zhanyong.wan | 2009-07-16 | 1 | -0/+49 |
| | |||||
* | Implements Expectation, ExpectationSet, and After for specifying expectation ↵ | zhanyong.wan | 2009-07-01 | 1 | -2/+320 |
| | | | | orders. | ||||
* | Makes gmock-spec-builders_test.cc and gmock-internal-utils_test.cc work ↵ | zhanyong.wan | 2009-06-22 | 2 | -2/+20 |
| | | | | where both ::string and ::std::string are defined. | ||||
* | Switches from Boost TR1 tuple to gtest's TR1 tuple. | zhanyong.wan | 2009-06-17 | 2 | -33/+69 |
| | |||||
* | Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL. | zhanyong.wan | 2009-06-11 | 1 | -28/+0 |
| | |||||
* | Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) ↵ | zhanyong.wan | 2009-06-09 | 6 | -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.wan | 2009-06-09 | 4 | -18/+122 |
| | |||||
* | Makes all container matchers work with (possibly multi-dimensional) native ↵ | zhanyong.wan | 2009-06-04 | 4 | -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.wan | 2009-05-29 | 3 | -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.wan | 2009-05-14 | 2 | -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.wan | 2009-05-13 | 1 | -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.wan | 2009-05-11 | 2 | -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.wan | 2009-05-05 | 3 | -10/+52 |
| | | | | Zhanyong Wan). | ||||
* | Turns --gmock_catch_leaked_mocks on by default. | zhanyong.wan | 2009-04-29 | 1 | -3/+3 |
| | |||||
* | Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. | zhanyong.wan | 2009-04-22 | 7 | -2/+270 |
| | |||||
* | Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh. | zhanyong.wan | 2009-04-09 | 1 | -0/+103 |
| | |||||
* | Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter. | zhanyong.wan | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Allows mock methods overloaded on argument number or the const-ness of this ↵ | zhanyong.wan | 2009-03-25 | 1 | -0/+40 |
| | | | | object to appear on the same source line. | ||||
* | Makes the code compile on Windows CE. | zhanyong.wan | 2009-03-11 | 2 | -1/+18 |
| | |||||
* | Fixes gmock-port_test on Windows. | zhanyong.wan | 2009-03-06 | 1 | -10/+10 |
| | |||||
* | Allows a mock object to delete itself in an action. By Simon Bowden. | zhanyong.wan | 2009-03-03 | 1 | -2/+19 |
| | |||||
* | Cleans up macro definitions. | zhanyong.wan | 2009-02-23 | 7 | -31/+31 |
| | |||||
* | Implements Contains(element) matcher. By Gary Morain. | zhanyong.wan | 2009-02-20 | 1 | -0/+96 |
| | |||||
* | Adds two actions: SaveArg and SetArgReferee. | zhanyong.wan | 2009-02-19 | 1 | -0/+61 |
| |