| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Get rid of gmock-generated-matchers.h and gmock-generated-matchers.h.pump.
Stop using pump for MATCHER* macroses generation.
PiperOrigin-RevId: 293878808
|
|
|
|
|
|
|
|
| |
Tag the function generated by MATCHER with GTEST_ATTRIBUTE_UNUSED_ to fix CI builds of gmock-matchers_test.cc vs. -Wunused-function.
See https://github.com/google/googletest/pull/2697 for breakage.
PiperOrigin-RevId: 293669752
|
|
|
|
|
|
| |
Fix std::move to std::forward where appropriate to support reference types.
PiperOrigin-RevId: 292923058
|
|
|
|
|
|
|
| |
Fix use of reserved names.
Minimize code duplication needed for explict-vs-nonexplicit constructor.
PiperOrigin-RevId: 292555014
|
|
|
|
|
|
|
|
|
|
|
| |
Create implementation macroses for matchers to move variadic parameters to the
end of parameters list.
To save backward compatibility, old macroses will be still taking `description`
parameter as the last one. But they will use INTERNAL macro that takes
`description` as the second parameter.
PiperOrigin-RevId: 291724469
|
|
|
|
|
|
|
|
| |
Move part of functionality of Matcher* class to the base one. Reduce copypaste.
Make constructor and conversion operator of Matcher* class independent of pump.
PiperOrigin-RevId: 291405510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mark more functions with "override" keyword, just like
it was done in commit 2460f97152c.
This should prevent compiler from complaining while compiling both
user code, and the googletest code itself with the -Wsuggest-override
option turned on; with the exception of:
* calls to new MOCK_METHOD() in test/gmock-function-mocker_test.cc
* calls to old MOCK_METHODx()/MOCK_CONST_METHODx() in other
unit test files.
Closes #2493
|
| |
|
|
|
|
| |
for including documentation in sync process
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 225231727
|
|
|
|
|
|
| |
Replace pump'd Args() matcher with variadic templates.
PiperOrigin-RevId: 223794430
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 222123106
|
|
|
|
|
|
| |
C++11 code cleanup.
PiperOrigin-RevId: 217364243
|
|
|
|
| |
PiperOrigin-RevId: 216411381
|
|
|
|
|
|
| |
Remove all mention of TR1 tuple and our own implementation of tuple.
PiperOrigin-RevId: 216395043
|
|
|
|
| |
PiperOrigin-RevId: 216183352
|
|
|
|
|
|
| |
Remove non-variadic pre C++11 ElementsAreMatcher and UnorderedElementsAreMatcher
PiperOrigin-RevId: 214266944
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix line that was wrapping in the middle of a link
This looks uglier, but has the advantage that the link is kept in one
piece.
PiperOrigin-RevId: 210537337
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|