| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Don't use fully qualified ::std types in code examples.
Having a nested user-defined 'std' namespace anywhere in a program is a minefield and shouldn't be either explicitly supported or implicitly condoned.
PiperOrigin-RevId: 285790182
|
|
|
|
|
|
|
|
|
|
| |
Clarify use of IsTrue and IsFalse matchers.
These matchers are subtle and confusing: what are they for?
The docs in the code are clear, but not very accessible.
googletest/googlemock/include/gmock/gmock-more-matchers.h
PiperOrigin-RevId: 283393275
|
|
|
|
|
|
|
|
| |
Add a breadcrumb about nullopt comparison near the Optional() matcher.
Also add a note about how otherwise-spurious 'Eq()' may be needed in some cases. Without this, something like Field(&MyStruct::optional_field_without_equals_equals, absl::nullopt) doesn't work - it converts the nullopt to an optional<> of the non-equalable type, and fails to select the operator==(optional<>, nullopt_t) overload. The Eq() lets the type persist later into the match.
PiperOrigin-RevId: 281305519
|
|\
| |
| |
| | |
PiperOrigin-RevId: 278702531
|
|/ |
|
|
|
|
|
|
| |
Remove badly formatted suggestion in gmock cheat sheet.
PiperOrigin-RevId: 277060475
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Added IsNan matcher
PiperOrigin-RevId: 275278634
|
|\
| |
| |
| | |
PiperOrigin-RevId: 275058934
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Updates headings.
PiperOrigin-RevId: 271148974
|
|/
|
|
|
|
| |
Remove unnecessary full qualifications from std types.
PiperOrigin-RevId: 270101485
|
|\
| |
| |
| | |
PiperOrigin-RevId: 268693457
|
| |
| |
| |
| |
| | |
Due to confusion arisen from "iff" standing for "if and only if",
this commit uses the latter.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move IsFalse/IsTrue to a more appropriate section in the gmock matchers cheat sheet.
I'm assuming their current placement within the "Container Matchers" list is a mistake -- they don't seem to be container related and would fit well with other generic matchers.
PiperOrigin-RevId: 268016027
|
| |
| |
| |
| |
| |
| | |
...text exposed to GitHub repo https://www.github.com/google/googletest
PiperOrigin-RevId: 267654546
|
| |
| |
| |
| |
| |
| | |
...text exposed to GitHub repo https://www.github.com/google/googletest
PiperOrigin-RevId: 267617889
|
|/
|
|
|
|
| |
Update broken links.
PiperOrigin-RevId: 264405918
|
|
|
|
|
|
| |
Fix broken link to regex syntax guide in cheat_sheet.md
PiperOrigin-RevId: 263840914
|
|
|
|
|
|
| |
Fix a broken link about selecting overloaded methods.
PiperOrigin-RevId: 263807775
|
|
|
|
|
|
| |
Fix broken link at beginning of "Mocking Non-virtual Methods" section.
PiperOrigin-RevId: 263772074
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 263768422
|
|
|
|
|
|
| |
Internal changes
PiperOrigin-RevId: 263636027
|
|
|
|
|
|
| |
Internal changes
PiperOrigin-RevId: 262994110
|
|
|
|
|
|
| |
Fix a link to the guide for creating custom matchers.
PiperOrigin-RevId: 262572684
|
|
|
|
|
|
| |
Fix broken links.
PiperOrigin-RevId: 262123510
|
|
|
|
|
|
| |
Add general explanation of MOCK_METHOD, including list of supported qualifiers.
PiperOrigin-RevId: 262077180
|
|
|
|
|
|
| |
Fix broken link.
PiperOrigin-RevId: 261940226
|
|
|
|
|
|
| |
Remove markdown extension which isn't supported on github.
PiperOrigin-RevId: 261321329
|
|
|
|
|
|
| |
Add links to "sampleK_unittest.cc" examples. Fix some broken docs crosslinks.
PiperOrigin-RevId: 261169561
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 260939845
|
|\
| |
| |
| | |
PiperOrigin-RevId: 260786935
|
| | |
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 260782065
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
Fix broken link.
PiperOrigin-RevId: 260548004
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and merge docs internal-OSS
|
|
|
|
| |
merge docs internal-OSS
|
| |
|
| |
|
| |
|