70 Commits (470df42bad6a78531f0ec51e43a194f3e26c4f4d)

Author SHA1 Message Date
zhanyong.wan 470df42bad Enables tests depending on stdout capturing (by Vlad Losev). 15 years ago
zhanyong.wan db22c22782 BREAKING CHANGE: drops the old matcher API. See http://code.google.com/p/googlemock/wiki/FrequentlyAskedQuestions for details. 15 years ago
zhanyong.wan d14aaed74b Enables regex matchers on all platforms. 15 years ago
zhanyong.wan 6953a725fc Allows Field() and Property() to work when the matcher argument is a pointer passed by reference. 15 years ago
zhanyong.wan 821133180c Implements the new matcher API. 15 years ago
zhanyong.wan 32de5f5376 Fixes a slew of compiler warnings and turns on "warning as error" in the scons build. 15 years ago
zhanyong.wan 39bf784f83 Removes uses of GTEST_HAS_STD_STRING. 15 years ago
zhanyong.wan f6d6a22b8e Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev). 15 years ago
zhanyong.wan 19eb9e9e3d Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev). 15 years ago
vladlosev e56daa7de1 Tests NotNull/IsNull with testing::internal::scoped_ptr. 15 years ago
vladlosev 79b83505bc Updates IsNull and NotNull matchers to work with smart pointers. 15 years ago
vladlosev 201ac16191 Enables gmock's implicit_cast to work with source types that have a non-const conversion operator (by Zhanyong Wan). 15 years ago
vladlosev a070cbd91c Enables gmock's implicit_cast to work with source types that 15 years ago
zhanyong.wan 2871bb4d34 Adds gmock_all_test.cc for compiling most gmock tests in a single file. 16 years ago
zhanyong.wan 2e7c475e16 Adds a dummy test to gmock-port.test.cc. 16 years ago
vladlosev 6c54a5e1f9 Enables more verbose output for expectations (by Sverre Sundsdal); Fixes information loss warning when compiled by VC8.0 with /Wp64; Skips two tests on Windows Mobile that don't work there. 16 years ago
zhanyong.wan 79643f51ed Changes gmock's version to 1.4.0. Also fixes a compiler warning. 16 years ago
zhanyong.wan f3aa4d2934 Implements the MockFunction class. 16 years ago
zhanyong.wan 95b12332c3 Makes gmock work on Symbian (both 3rd & 5th editions), original patch contributed by Mika Raento. 16 years ago
zhanyong.wan 2d970ee3ba Adds the IsNull() matcher. 16 years ago
zhanyong.wan f7af24c7de Simplifies gmock code using gtest's OS-indicating macros. 16 years ago
zhanyong.wan a89034c802 Removes gmock's dependency on python2.4. 16 years ago
zhanyong.wan bbd6e105e7 Picks up gtest r314. 16 years ago
zhanyong.wan 93244dc369 Disbles two tests that crash on Symbian. 16 years ago
zhanyong.wan 4bd79e4f25 Simplifies the definition of NativeArray. Works around a VC bug in StrictMock & NiceMock. 16 years ago
zhanyong.wan f5e1ce5b92 Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad Losev). 16 years ago
zhanyong.wan c53b3dca1b Removes dead code in gmock-more-actions_test.cc. 16 years ago
zhanyong.wan 04d6ed817e Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. 16 years ago
zhanyong.wan 2b43a9ecd1 Adds mutable_impl() and impl() to PolymorphicMatcher (by Zhanyong Wan); Enables gMock to compile with VC 7.1 (by Vlad Losev). 16 years ago
zhanyong.wan 0ea67f88ae Improves protobuf print format. 16 years ago
zhanyong.wan 9571b28675 Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa). 16 years ago
zhanyong.wan a18423e0ee Re-organizes the file structure for actions. 16 years ago
zhanyong.wan 1afe1c7971 Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h (by Zhanyong Wan). 16 years ago
zhanyong.wan 387bdd551d Makes ByRef(x) printable as a reference to x. 16 years ago
zhanyong.wan b5937dab69 Adds the Key() matcher, by Marcus Borger. 16 years ago
zhanyong.wan 41b9b0b561 Implements Expectation, ExpectationSet, and After for specifying expectation orders. 16 years ago
zhanyong.wan 81476f2f90 Makes gmock-spec-builders_test.cc and gmock-internal-utils_test.cc work where both ::string and ::std::string are defined. 16 years ago
zhanyong.wan 90c90f9250 Switches from Boost TR1 tuple to gtest's TR1 tuple. 16 years ago
zhanyong.wan 4cd148e588 Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL. 16 years ago
zhanyong.wan bf55085d45 Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian. 16 years ago
zhanyong.wan 2661c6821a Implements the Args<k1, ..., kn>(m) matcher. 16 years ago
zhanyong.wan b82431625d Makes all container matchers work with (possibly multi-dimensional) native arrays; makes Contains() accept a matcher; adds Value(x, m); improves gmock doctor to diagnose the Type in Template Base disease. 16 years ago
zhanyong.wan 9413f2ff61 Avoids unnecessary printing of call into to internal buffers; 16 years ago
zhanyong.wan 16cf473930 Finishes SafeMatcherCast by catching lossy arithmetic conversions at compile-time; uses ACTION_TEMPLATE to simplify the definition of many actions; makes mock object uncopyable; teaches gmock doctor about wrong MOCK_METHODn. 16 years ago
zhanyong.wan c6a412397b Adds more tests for using SetArgumentPointee with protobufs; works around a compiler bug on Symbian that gmock-printers.h triggers; reduces template code bloat in gmock-matchers.h; avoids RTTI when it's disabled. 16 years ago
zhanyong.wan 18490653e8 Partially implemented SafeMatcherCast (by Vlad Losev); updated the 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). 16 years ago
zhanyong.wan e7bb5ededa Improves the error message for leaked mocks to include the test name (by Zhanyong Wan). 16 years ago
zhanyong.wan bf0d0a4481 Turns --gmock_catch_leaked_mocks on by default. 16 years ago
zhanyong.wan df35a763b9 Implements --gmock_catch_leaked_mocks and Mock::AllowLeak. 16 years ago
zhanyong.wan 1c8eb1c059 Adds actions ReturnNew<T>(...) and DeleteArg<k>(), by Jason Hsueh. 16 years ago