Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
d1ad644d
Commit
d1ad644d
authored
Aug 20, 2019
by
Abseil Team
Committed by
Xiaoyi Zhang
Aug 21, 2019
Browse files
Googletest export
Update broken links. PiperOrigin-RevId: 264405918
parent
c9ccac7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/docs/for_dummies.md
googlemock/docs/for_dummies.md
+2
-2
No files found.
googlemock/docs/for_dummies.md
View file @
d1ad644d
...
...
@@ -483,7 +483,7 @@ the *default* action for the function every time (unless, of course, you have a
What can we do inside
`WillOnce()`
besides
`Return()`
? You can return a
reference using
`ReturnRef(*variable*)`
, or invoke a pre-defined function, among
[
others
](
#A
ction
List
)
.
[
others
](
cook_book.md#using-a
ction
s
)
.
**Important note:**
The
`EXPECT_CALL()`
statement evaluates the action clause
only once, even though the action may be performed many times. Therefore you
...
...
@@ -561,7 +561,7 @@ overloaded). This makes any calls to the method expected. This is not necessary
for methods that are not mentioned at all (these are "uninteresting"), but is
useful for methods that have some expectations, but for which other calls are
ok. See
[
Understanding Uninteresting vs Unexpected Calls
](
#uninteresting-vs-unexpected
)
.
[
Understanding Uninteresting vs Unexpected Calls
](
cook_book.md
#uninteresting-vs-unexpected
)
.
#### Ordered vs Unordered Calls {#OrderedCalls}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment