summaryrefslogtreecommitdiffstats
path: root/googlemock/docs
Commit message (Collapse)AuthorAgeFilesLines
* Googletest exportkrzysio2019-12-161-18/+17
| | | | | | | | 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
* 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
* Merge pull request #2548 from kuzkry:update-pump-manualXiaoyi Zhang2019-11-051-12/+9
|\ | | | | | | PiperOrigin-RevId: 278702531
| * update pump_manual.mdrefs/pull/2548/headKrystian Kuzniarek2019-11-021-12/+9
|/
* Googletest exportAbseil Team2019-10-291-13/+0
| | | | | | Remove badly formatted suggestion in gmock cheat sheet. PiperOrigin-RevId: 277060475
* move the pumping script to googlemockKrystian Kuzniarek2019-10-251-0/+190
|
* 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 matchersrefs/pull/2421/headKrystian Kuzniarek2019-09-231-2/+2
| |
* | Fix typo in documentsrefs/pull/2495/headrefs/pull/2486/headhyuk.myeong2019-10-011-1/+1
| |
* | Googletest exportAbseil Team2019-09-271-88/+88
| | | | | | | | | | | | Updates headings. PiperOrigin-RevId: 271148974
* | Googletest exportAbseil Team2019-09-271-4/+4
|/ | | | | | Remove unnecessary full qualifications from std types. PiperOrigin-RevId: 270101485
* Merge pull request #2387 from kuzkry:iffShaindel Schwartz2019-09-122-7/+8
|\ | | | | | | PiperOrigin-RevId: 268693457
| * restore mistakenly removed iffs in their explicit formrefs/pull/2387/headKrystian Kuzniarek2019-08-202-6/+8
| | | | | | | | | | 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-211-2/+2
|/ | | | | | Update broken links. PiperOrigin-RevId: 264405918
* 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-191-1/+2
| | | | | | Fix a broken link about selecting overloaded methods. PiperOrigin-RevId: 263807775
* Googletest exportmisterg2019-08-161-1/+1
| | | | | | Fix broken link at beginning of "Mocking Non-virtual Methods" section. PiperOrigin-RevId: 263772074
* Googletest exportmisterg2019-08-161-1/+1
| | | | | | Internal Change PiperOrigin-RevId: 263768422
* Googletest exportmisterg2019-08-151-1/+1
| | | | | | Internal changes PiperOrigin-RevId: 263636027
* Googletest exportAbseil Team2019-08-151-1/+1
| | | | | | Internal changes PiperOrigin-RevId: 262994110
* Googletest exportAbseil Team2019-08-151-1/+1
| | | | | | Fix a link to the guide for creating custom matchers. PiperOrigin-RevId: 262572684
* Googletest exportAbseil Team2019-08-072-4/+5
| | | | | | Fix broken links. PiperOrigin-RevId: 262123510
* Googletest exportAbseil Team2019-08-071-3/+27
| | | | | | Add general explanation of MOCK_METHOD, including list of supported qualifiers. PiperOrigin-RevId: 262077180
* Googletest exportAbseil Team2019-08-061-2/+2
| | | | | | Fix broken link. PiperOrigin-RevId: 261940226
* Googletest exportAbseil Team2019-08-022-294/+137
| | | | | | Remove markdown extension which isn't supported on github. PiperOrigin-RevId: 261321329
* Googletest exportAbseil Team2019-08-013-11/+12
| | | | | | Add links to "sampleK_unittest.cc" examples. Fix some broken docs crosslinks. PiperOrigin-RevId: 261169561
* Googletest exportmisterg2019-08-011-1/+1
| | | | | | Internal Change PiperOrigin-RevId: 260939845
* Merge pull request #2356 from kuzkry:typosGennadiy Civil2019-07-302-8/+8
|\ | | | | | | PiperOrigin-RevId: 260786935
| * fix typosrefs/pull/2356/headKrystian Kuzniarek2019-07-302-8/+8
| |
* | 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
| |/
* | Googletest exportAbseil Team2019-07-291-2/+2
| | | | | | | | | | | | Fix broken link. PiperOrigin-RevId: 260548004
* | Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-294-29/+131
|/
* Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-183-65/+97
|
* Manual docs tweaks still in preparation for including docs with code pushesGennadiy Civil2019-07-184-4/+4
|
* remove outdatedGennadiy Civil2019-07-171-16/+0
|
* remove outdatedGennadiy Civil2019-07-172-301/+0
|
* Preparation for including docs in round-trip with OSS, Manual merge, review ↵Gennadiy Civil2019-07-174-938/+1050
| | | | and merge docs internal-OSS
* Preparation for including docs in round-trip with OSS. Manual review and ↵Gennadiy Civil2019-07-161-1/+1
| | | | merge docs internal-OSS
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-2/+2
|
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-2/+2
|
* Preparation for including docs in round-trip with OSSGennadiy Civil2019-07-151-32/+4
|