Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
373d72b6
Commit
373d72b6
authored
Apr 10, 2020
by
Abseil Team
Committed by
Mark Barolak
Apr 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Fix link to "After clause". Sorry, reader, but this heading is in another document! PiperOrigin-RevId: 305947971
parent
4fe5ac53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cook_book.md
googlemock/docs/cook_book.md
+2
-2
No files found.
googlemock/docs/cook_book.md
View file @
373d72b6
...
...
@@ -1712,8 +1712,8 @@ brittle tests. For example, we may care about `A` occurring before both `B` and
the test should reflect our real intent, instead of being overly constraining.
gMock allows you to impose an arbitrary DAG (directed acyclic graph) on the
calls. One way to express the DAG is to use the
[
After
](
#AfterClause
)
clause of
`EXPECT_CALL`
.
calls. One way to express the DAG is to use the
[
After
](
cheat_sheet.md#AfterClause
)
clause of
`EXPECT_CALL`
.
Another way is via the
`InSequence()`
clause (not the same as the
`InSequence`
class), which we borrowed from jMock 2. It's less flexible than
`After()`
, but
...
...
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