mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Googletest export
Fix link to "After clause". Sorry, reader, but this heading is in another document! PiperOrigin-RevId: 305947971
This commit is contained in:
parent
4fe5ac5333
commit
373d72b698
@ -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.
|
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
|
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
|
calls. One way to express the DAG is to use the
|
||||||
`EXPECT_CALL`.
|
[After](cheat_sheet.md#AfterClause) clause of `EXPECT_CALL`.
|
||||||
|
|
||||||
Another way is via the `InSequence()` clause (not the same as the `InSequence`
|
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
|
class), which we borrowed from jMock 2. It's less flexible than `After()`, but
|
||||||
|
Loading…
x
Reference in New Issue
Block a user