Googletest export

Create new Mocking Reference

PiperOrigin-RevId: 376951575
This commit is contained in:
Abseil Team
2021-06-01 20:16:21 -04:00
committed by Andy Soffer
parent 2bd3481666
commit 5f6a14c846
4 changed files with 605 additions and 153 deletions

View File

@@ -1711,7 +1711,7 @@ 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](gmock_cheat_sheet.md#AfterClause) clause of `EXPECT_CALL`.
[`After` clause](reference/mocking.md#EXPECT_CALL.After) 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