17 Commits (2d970ee3bad530703ff24bc3a011390b45cdd293)

Author SHA1 Message Date
zhanyong.wan 2d970ee3ba Adds the IsNull() matcher. 16 years ago
zhanyong.wan f5e1ce5b92 Adds new matcher Pair(). Replaces GMOCK_CHECK_ with GTEST_CHECK_ (by Vlad Losev). 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 1afe1c7971 Adds the ReturnArg<k>() action (by Tim Hockin); refactors gmock-matchers.h (by Zhanyong Wan). 16 years ago
zhanyong.wan b5937dab69 Adds the Key() matcher, by Marcus Borger. 16 years ago
zhanyong.wan 4019819dbb A trivial comment fix. 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 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 3fbd2dd020 Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter. 16 years ago
zhanyong.wan 652540a278 Cleans up macro definitions. 16 years ago
zhanyong.wan e0d051ea64 Makes sure all internal macros are named GMOCK_*_. No functionality is changed. 16 years ago
zhanyong.wan 6a896b5ec6 Implements ContainerEq. 16 years ago
shiqian e35fdd936d Initial drop of Google Mock. The files are incomplete and thus may not build correctly yet. 16 years ago