Abseil Team
373d72b698
Googletest export
...
Fix link to "After clause". Sorry, reader, but this heading is in another document!
PiperOrigin-RevId: 305947971
5 years ago
Abseil Team
cfb5ef4e7d
Googletest export
...
Remove public buganizer reference from googletest cookbook.
It also seems that this bug is obsolete.
PiperOrigin-RevId: 298598298
5 years ago
Abseil Team
fd538161f4
Googletest export
...
Allow construction of an Action from a callable of zero args
Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly.
PiperOrigin-RevId: 296117034
5 years ago
Abseil Team
153909f096
Googletest export
...
Fix typo in example.
PiperOrigin-RevId: 287212448
5 years ago
krzysio
0a0c826629
Googletest export
...
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
5 years ago
Abseil Team
a783ade7c2
Googletest export
...
Updates headings.
PiperOrigin-RevId: 271148974
6 years ago
Abseil Team
076c46198f
Googletest export
...
Remove unnecessary full qualifications from std types.
PiperOrigin-RevId: 270101485
6 years ago
Krystian Kuzniarek
7bd4a7f3e9
restore mistakenly removed iffs in their explicit form
...
Due to confusion arisen from "iff" standing for "if and only if",
this commit uses the latter.
6 years ago
misterg
eb78ee170a
Googletest export
...
Fix broken link at beginning of "Mocking Non-virtual Methods" section.
PiperOrigin-RevId: 263772074
6 years ago
misterg
976b37fe93
Googletest export
...
Internal Change
PiperOrigin-RevId: 263768422
6 years ago
misterg
e9d5f427b5
Googletest export
...
Internal changes
PiperOrigin-RevId: 263636027
6 years ago
Abseil Team
a92e4a8e92
Googletest export
...
Internal changes
PiperOrigin-RevId: 262994110
6 years ago
Abseil Team
f8f5fcab3b
Googletest export
...
Fix broken links.
PiperOrigin-RevId: 262123510
6 years ago
Abseil Team
dd5402d9d4
Googletest export
...
Add general explanation of MOCK_METHOD, including list of supported qualifiers.
PiperOrigin-RevId: 262077180
6 years ago
Abseil Team
6a2adc0eed
Googletest export
...
Remove markdown extension which isn't supported on github.
PiperOrigin-RevId: 261321329
6 years ago
Krystian Kuzniarek
bf6df7eaee
fix typos
6 years ago
Gennadiy Civil
bb481d2da6
Manual docs tweaks still in preparation for including docs with code pushes
6 years ago
Gennadiy Civil
15756aa0c8
Manual docs tweaks still in preparation for including docs with code pushes
6 years ago
Gennadiy Civil
34ddfff946
Manual docs tweaks still in preparation for including docs with code pushes
6 years ago
Gennadiy Civil
947aeab281
Preparation for including docs in round-trip with OSS
6 years ago
Gennadiy Civil
5af948b30e
Preparation for including docs in round-trip with OSS
6 years ago
Gennadiy Civil
073a2da403
Preparation for including docs in round-trip with OSS
6 years ago
Gennadiy Civil
31ff597888
Preparation for including docs in round-trip with OSS
6 years ago
Krystian Kuzniarek
b0568dcb4a
fix a broken link
...
ee3aa83117
added a broken link
which results in 404. The broken part is reference to a
nonexistent file "CheatSheet.md" instead of "cheet_sheet.md".
6 years ago
Krystian Kuzniarek
92d92f2f55
rename and apply snake_case on ForDummies.md
6 years ago
Krystian Kuzniarek
275bbc7884
rename and apply snake_case on CheatSheet.md
6 years ago
Sam Sobell
ee3aa83117
Fix bad advice in cook book ( #2308 )
...
This line directly contradicts the warning that google mock spits out on unused mock calls:
```
NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
```
One or the other should be changed, and I believe the advice in this file is incorrect.
6 years ago
Gennadiy Civil
152c7dfd06
missed the actual file in previous commit
6 years ago
Gennadiy Civil
cd6b9ae324
googlemock/docs/CookBook.md small doc test
6 years ago
Gennadiy Civil
6b8c138154
Removing make and automake. The only supported build systems are Bazel internally and CMake community supported
6 years ago
Wenyuan Yan
3ff7cd0f1b
fix typo
6 years ago
Arkady Shapkin
e6c407d605
Fix doc links
7 years ago
Arkady Shapkin
de9675986f
Update documentation to syntax highlight code
7 years ago
杜修杏
2eb4396007
Replace "…" with "..."(three dots) to fix warning C4819 in Visual Studio
7 years ago
Gennadiy Civil
8f87d00398
Rename AdvancedGuide.md to advanced.md and adjust the links.
...
7 years ago
Gennadiy Civil
10e8ec2714
move only types docs
7 years ago
Troy Holsapple
c8510504dd
Fixed typos
7 years ago
Jonathan Wakely
b70cf1a663
Use gender-neutral pronouns in comments and docs
8 years ago
Herbert Thielen
bb8399e1ba
use plural verb as mentioned in issue #1105
8 years ago
Herbert Thielen
29c07aa9db
remove Yob's comma mentioned in issue #1105
8 years ago
Herbert Thielen
ec19d455bc
fix links to Google C++ Style Guide
8 years ago
Carlos O'Ryan
0ffd8629c9
More tables that did not render correctly.
8 years ago
Carlos O'Ryan
2fcbc0c1ab
Remove silly claim that C++ lacks lambdas.
...
The document itself uses lambdas later, all the scaffolding to
work around lack of lambdas should be considered for removal, but
that is much larger an effort than I can commit to.
8 years ago
Carlos O'Ryan
f20797bd8d
Same fixes for "current" version.
8 years ago
Dawid Kurek
51d92b2ccb
Replace html entities with their equivalents
8 years ago
bartshappee
bef93f32c1
Fix small typo SeArrayArgument
...
SeArrayArgument => SetArrayArgument
8 years ago
Marco Molteni
8ce0b5907c
Cookbok: fix broken relative link
9 years ago
Marzo Sette Torres Junior
f700442db3
Clarifying language
...
The old language might mislead someone into thinking that the access level on the base class itself was changed.
9 years ago
Paul Hadfield
0098be394a
Fix typo (Inovke -> Invoke)
9 years ago
Paul Rosset
a470862dbe
fixed link in googlemock documentation
9 years ago