aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the ↵zhanyong.wan2009-11-245-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.vladlosev2009-11-181-0/+19
|
* Updates IsNull and NotNull matchers to work with smart pointers.vladlosev2009-11-181-0/+37
|
* Enables gmock's implicit_cast to work with source types that have a ↵vladlosev2009-11-181-4/+135
| | | | non-const conversion operator (by Zhanyong Wan).
* Enables gmock's implicit_cast to work with source types thatvladlosev2009-11-181-0/+47
|
* Adds gmock_all_test.cc for compiling most gmock tests in a single file.zhanyong.wan2009-11-121-0/+49
|
* Adds a dummy test to gmock-port.test.cc.zhanyong.wan2009-11-061-1/+5
|
* Enables more verbose output for expectations (by Sverre Sundsdal); Fixes ↵vladlosev2009-10-214-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.wan2009-09-301-1/+1
|
* Implements the MockFunction class.zhanyong.wan2009-09-251-0/+44
|
* Makes gmock work on Symbian (both 3rd & 5th editions), original patch ↵zhanyong.wan2009-09-254-25/+60
| | | | contributed by Mika Raento.
* Adds the IsNull() matcher.zhanyong.wan2009-09-242-0/+35
|
* Simplifies gmock code using gtest's OS-indicating macros.zhanyong.wan2009-09-242-11/+11
|
* Removes gmock's dependency on python2.4.zhanyong.wan2009-09-221-1/+1
|
* Picks up gtest r314.zhanyong.wan2009-09-181-1/+1
|
* 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-163-30/+44
| | | | StrictMock & NiceMock.
* Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad ↵zhanyong.wan2009-09-162-87/+116
| | | | 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 mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); ↵zhanyong.wan2009-08-312-21/+47
| | | | Enables gMock to compile with VC 7.1 (by Vlad Losev).
* Improves protobuf print format.zhanyong.wan2009-08-142-3/+29
|
* Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes ↵zhanyong.wan2009-08-071-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.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
|