| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change variable name to match comment.
PiperOrigin-RevId: 277713621
|
|
|
|
|
|
| |
Tolerate std::string's explicit copy construction from std::string_view.
PiperOrigin-RevId: 277583394
|
|
|
|
|
|
| |
Remove outdated unsupported scripts
PiperOrigin-RevId: 277556831
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 277336786
|
|
|
|
|
|
|
|
|
| |
Merge 65032e28cba171c000accc85ffaf6f1e62921b86 into 8c91ecef292e963d23cd5b25f01ea1579fbe9aaa
Closes #2470
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2470 from hermas55:bugfix/default_const_param 65032e28cba171c000accc85ffaf6f1e62921b86
PiperOrigin-RevId: 277118535
|
|
|
|
|
|
|
|
| |
Avoid temporary matcher instances.
They are unnecessary and can be relatively more expensive than the rest of the
algorithm.
PiperOrigin-RevId: 277084853
|
|\
| |
| |
| |
| |
| | |
PiotrNycz:gmock_prevent_return_ref_to_store_temporaries_2
PiperOrigin-RevId: 277061341
|
| |
| |
| |
| | |
Issue 2527
|
| |
| |
| |
| | |
Issue 2527
|
| |
| |
| |
| | |
Issue 2527
|
| |
| |
| |
| | |
Issue 2471
|
| |
| |
| |
| | |
Issue no 2527
|
| |
| |
| |
| | |
Fixed issue: 2471
|
| |
| |
| |
| |
| |
| | |
Remove badly formatted suggestion in gmock cheat sheet.
PiperOrigin-RevId: 277060475
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 276944601
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | | |
PiperOrigin-RevId: 276333426
|
| | |
| | |
| | |
| | |
| | | |
Added various conditional compliations for ESP8266 to stub out
missing functionality.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Added support for ESP8266 Arduino platform.
Refactored Arduino defines to use the GTEST_OS_* model.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a matcher `testing::ReturnRoundRobin` which, on each call, returns the next element in the sequence, restarting at the beginning once it has reached the end.
PiperOrigin-RevId: 276312136
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 276134684
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 275842505
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This macro didn't work when an array was passed to a function by pointer,
in which case the information about its size was lost.
Better alternatives are:
* std::extent<T>::value (compile-time)
* std::array<T, N>::size() (compile-time)
* std::distance(std::begin(array), std::end(array)) (run-time)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove bool_constant in favor of std::integral_constant<bool, ...>;
The one non-trivial use of bool_constant has been changed to have significantly
fewer template specializations.
PiperOrigin-RevId: 275842490
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
Rolling forward IsNan() matcher with fixes in test for -Wconversion issues. Use
std::nanf and std::nanl where appropriate.
PiperOrigin-RevId: 275523003
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added IsNan matcher
PiperOrigin-RevId: 275473218
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Addressing https://github.com/google/googletest/issues/2502
Add MOCK_METHOD support for returning function pointers.
PiperOrigin-RevId: 275323671
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added IsNan matcher
PiperOrigin-RevId: 275278634
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 275076905
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
PiperOrigin-RevId: 275058934
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 274155281
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | | |
PiperOrigin-RevId: 274097989
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix the O(n^2) number of instantiations in ElemFromList.
It is now O(n). It still has O(1) instantiation depth.
PiperOrigin-RevId: 273980821
|