aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs/cheat_sheet.md
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportAbseil Team2019-12-021-0/+6
| | | | | | | | | | 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
* Googletest exportAbseil Team2019-11-201-1/+1
| | | | | | | | 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
* Googletest exportAbseil Team2019-10-291-13/+0
| | | | | | Remove badly formatted suggestion in gmock cheat sheet. PiperOrigin-RevId: 277060475
* Googletest exportAbseil Team2019-10-231-10/+11
| | | | | | 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
* Googletest exportAbseil Team2019-10-221-0/+1
| | | | | | Rolling forward IsNan() matcher with fixes in test for -Wconversion issues. Use std::nanf and std::nanl where appropriate. PiperOrigin-RevId: 275523003
* Googletest exportmisterg2019-10-181-1/+0
| | | | | | Added IsNan matcher PiperOrigin-RevId: 275473218
* Googletest exportAbseil Team2019-10-171-0/+1
| | | | | | Added IsNan matcher PiperOrigin-RevId: 275278634
* Merge pull request #2421 from kuzkry:cleanup-for-regexAndy Soffer2019-10-161-3/+3
|\ | | | | | | PiperOrigin-RevId: 275058934
| * mention the existing support for wide strings in string matchersKrystian Kuzniarek2019-09-231-2/+2
|/
* Merge pull request #2387 from kuzkry:iffShaindel Schwartz2019-09-121-2/+2
|\ | | | | | | PiperOrigin-RevId: 268693457
| * restore mistakenly removed iffs in their explicit formKrystian Kuzniarek2019-08-201-2/+2
| | | | | | | | | | Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
* | Googletest exportAbseil Team2019-09-091-2/+2
| | | | | | | | | | | | | | | | 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
* | Googletest exportAbseil Team2019-09-091-1/+12
| | | | | | | | | | | | ...text exposed to GitHub repo https://www.github.com/google/googletest PiperOrigin-RevId: 267654546
* | Googletest exportAbseil Team2019-09-091-4/+4
|/ | | | | | ...text exposed to GitHub repo https://www.github.com/google/googletest PiperOrigin-RevId: 267617889
* Googletest exportAbseil Team2019-08-191-2/+3
| | | | | | Fix broken link to regex syntax guide in cheat_sheet.md PiperOrigin-RevId: 263840914
* Googletest exportAbseil Team2019-08-021-292/+134
| | | | | | Remove markdown extension which isn't supported on github. PiperOrigin-RevId: 261321329
* Googletest exportAbseil Team2019-08-011-7/+8
| | | | | | Add links to "sampleK_unittest.cc" examples. Fix some broken docs crosslinks. PiperOrigin-RevId: 261169561
* Merge pull request #2356 from kuzkry:typosGennadiy Civil2019-07-301-2/+2
|\ | | | | | | PiperOrigin-RevId: 260786935
| * fix typosKrystian Kuzniarek2019-07-301-2/+2
| |
* | Merge pull request #2355 from kuzkry:markdown-numberingGennadiy Civil2019-07-301-2/+2
|\ \ | | | | | | | | | PiperOrigin-RevId: 260782065
| * | fix numbering of ordered lists in MarkdownKrystian Kuzniarek2019-07-301-2/+2
| |/
* / Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-291-26/+55
|/
* Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-181-62/+94
|
* Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-181-1/+1
|
* Preparation for including docs in round-trip with OSS, Manual merge, review ↵Gennadiy Civil2019-07-171-381/+657
| | | | and merge docs internal-OSS
* rename and apply snake_case on CheatSheet.mdKrystian Kuzniarek2019-07-131-0/+589