Alyssa Wilk
6e1970e237
Adding a flag option to change the default mock type
8 years ago
Nico Weber
09fd5b3ebf
Use std::string and ::string explicitly in gtest and gmock code.
...
This merges a Google-internal change (117235625).
Original CL description:
This CL was created manually in about an hour with sed, a Python script
to find all the places unqualified 'string' was mentioned, and some help
from Emacs to add the "std::" qualifications, plus a few manual tweaks.
8 years ago
Billy Donahue
affb09edf0
move googlemock files into googlemock/ subdir
10 years ago
kosak
d370f85b02
Call move() by qualified name (::testing::internal::move() or just internal::move()).
...
Pull in gtest 696.
10 years ago
kosak
3d1c78b2bf
Add ByMove() modifier for the Return() action. Pull in gtest 695.
10 years ago
kosak
b5c81098a8
Support mocking methods with move-only return types.
11 years ago
zhanyong.wan
c896504e41
Improves the tests for nice, naggy, and strict mocks.
12 years ago
zhanyong.wan
844fa94976
Implements NaggyMock.
12 years ago
zhanyong.wan
edd4ab4945
Makes googlemock throw a runtime_error instead of abort when a mock
...
method with no default value is invoked (if exceptions are enabled).
12 years ago
zhanyong.wan
2fd619edd3
Pulls in gtest r615.
...
Renames internal enums to the kFoo naming style.
Fixes gmock doctor to work with newer versions of Clang.
13 years ago
jgm
79a367eb21
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.
13 years ago
vladlosev
9bcb5f9146
Fixes a lock reentrancy when destroying a mock causes destruction of another mock (issue 79) (by Aaron Jacobs).
14 years ago
vladlosev
4d60a596b4
Expressed the thread-safety annotations in code, replacing the existing comment-based system (by Aaron Jacobs).
14 years ago
vladlosev
587c1b37c2
Adds support for building Google Mock as a shared library (DLL).
14 years ago
vladlosev
ab29bb6fcd
Removes commas from last items in enums (a C++ standard compliance fix).
14 years ago
zhanyong.wan
658ac0b71a
Indents preprocessor directives.
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
vladlosev
e5121b5a82
Improves cross-platform compatibility of gmock output. This fixes issue 135.
14 years ago
zhanyong.wan
5b61ce3ee5
Picks up gtest r536; renames implicit_cast and down_cast to reduce the chance of clash (by Roman Perepelitsa); enables gmock_gen.py to handle storage specifiers (by Steve Fox).
14 years ago
zhanyong.wan
53e08c44dd
Include gtest and gmock headers as user headers instead of system headers.
15 years ago
zhanyong.wan
ccedc1c933
Removes some gmock internal macros; sorts the file lists in Makefile.am; picks up gtest r454.
15 years ago
vladlosev
e2e8ba401d
Renames test script flags.
15 years ago
zhanyong.wan
02f7106557
Moves the universal printer from gmock to gtest (by Vlad Losev).
15 years ago
zhanyong.wan
b1c7f93c52
Improves matcher messages across the board.
15 years ago
zhanyong.wan
5905ba00fe
Adds threading support (by Vlad Losev); updates the version number (by Zhanyong Wan); adds release notes for 1.5.0 (by Vlad Losev).
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
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
7c95d8346e
Works around a Symbian compiler bug that causes memory leak (by Mika Raento).
16 years ago
zhanyong.wan
41b9b0b561
Implements Expectation, ExpectationSet, and After for specifying expectation orders.
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
9413f2ff61
Avoids unnecessary printing of call into to internal buffers;
...
Made the universal value printer safer when printing char[];
Removed duplicated code in InvokeWith;
Improved gmock_doctor.py.
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
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
df35a763b9
Implements --gmock_catch_leaked_mocks and Mock::AllowLeak.
16 years ago
zhanyong.wan
946bc64fcf
Fixes an error when compiling with gcc 4.4.
16 years ago
zhanyong.wan
6f14769e86
Allows a mock object to delete itself in an action. By Simon Bowden.
16 years ago
zhanyong.wan
e0d051ea64
Makes sure all internal macros are named GMOCK_*_. No functionality is changed.
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