51 Commits (766ac2e1a413e87d42d67e3286c70f0af4853679)

Author SHA1 Message Date
kosak 53d49dc43e Make ReturnNull() support unique_ptr and shared_ptr. 10 years ago
kosak 7123d83132 Fix gmock Action behaviour when return type is Wrapper 10 years ago
kosak 389bad61e2 Silence a signedness-comparison warning in gmock-actions_test. 10 years ago
kosak 3d1c78b2bf Add ByMove() modifier for the Return() action. Pull in gtest 695. 10 years ago
kosak 5b9cbbb16d Distinguish between C++11 language and library support for std::function, std::begin, std::end, and std::move in gtest and gmock. 10 years ago
kosak bd0188320d Export tuple and friends in the ::testing namespace. 11 years ago
kosak b5c81098a8 Support mocking methods with move-only return types. 11 years ago
zhanyong.wan a1a98f840e Adds a cmake target for gmock_ex_test; also fixes name shadowing warnings. 12 years ago
zhanyong.wan 29be92385e Removes unused variables and functions. 12 years ago
zhanyong.wan edd4ab4945 Makes googlemock throw a runtime_error instead of abort when a mock 12 years ago
jgm 79a367eb21 Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes. 13 years ago
zhanyong.wan fc8c6c479a Disables SetArgPointee("string literal") for GCC 4.0- and Symbian, and 14 years ago
zhanyong.wan ed6c9277bb Makes Google Mock compile much faster and use much less memory; reviewed by Nico Weber. This fixes issue 68. 14 years ago
zhanyong.wan a684b5a526 Enables SetArgPointee<>() to accept a string literal; removes a self-assignment warning; teaches gmock doctor to diagnose TTB with Clang; picks up gtest r525. 14 years ago
zhanyong.wan 5921483640 Adds SetArgPointee to replace SetArgumentPointee. 15 years ago
zhanyong.wan 53e08c44dd Include gtest and gmock headers as user headers instead of system headers. 15 years ago
zhanyong.wan e3bd0981ca Implements ReturnPointee() and ReturnRefOfCopy(). 15 years ago
zhanyong.wan 02f7106557 Moves the universal printer from gmock to gtest (by Vlad Losev). 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 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). 16 years ago
vladlosev a070cbd91c Enables gmock's implicit_cast to work with source types that 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 f7af24c7de Simplifies gmock code using gtest's OS-indicating macros. 16 years ago
zhanyong.wan 04d6ed817e Simplifies the tests using EXPECT_DEATH_IF_SUPPORTED. 16 years ago
zhanyong.wan a18423e0ee Re-organizes the file structure for actions. 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 5b5d62f190 Makes the code compile on Windows CE. 16 years ago
zhanyong.wan 652540a278 Cleans up macro definitions. 16 years ago
zhanyong.wan 5b95fa7b16 Improves error messages for undefined return value (by Sverre Sundsdal); improves gmock_doctor. 16 years ago
shiqian e35fdd936d Initial drop of Google Mock. The files are incomplete and thus may not build correctly yet. 16 years ago