Googletest export

Fix broken links.

PiperOrigin-RevId: 262123510
This commit is contained in:
Abseil Team 2019-08-07 09:36:14 -04:00 committed by Gennadiy Civil
parent dd5402d9d4
commit f8f5fcab3b
2 changed files with 5 additions and 4 deletions

View File

@ -3718,9 +3718,9 @@ A cardinality is used in `Times()` to tell gMock how many times you expect a
call to occur. It doesn't have to be exact. For example, you can say call to occur. It doesn't have to be exact. For example, you can say
`AtLeast(5)` or `Between(2, 4)`. `AtLeast(5)` or `Between(2, 4)`.
If the [built-in set](#CardinalityList) of cardinalities doesn't suit you, you If the [built-in set](cheat_sheet.md#CardinalityList) of cardinalities doesn't
are free to define your own by implementing the following interface (in suit you, you are free to define your own by implementing the following
namespace `testing`): interface (in namespace `testing`):
```cpp ```cpp
class CardinalityInterface { class CardinalityInterface {

View File

@ -412,7 +412,8 @@ gMock will report a googletest failure whenever the function is (wrongfully)
called. called.
We've seen `AtLeast(n)` as an example of fuzzy cardinalities earlier. For the We've seen `AtLeast(n)` as an example of fuzzy cardinalities earlier. For the
list of built-in cardinalities you can use, see [here](#CardinalityList). list of built-in cardinalities you can use, see
[here](cheat_sheet.md#CardinalityList).
The `Times()` clause can be omitted. **If you omit `Times()`, gMock will infer The `Times()` clause can be omitted. **If you omit `Times()`, gMock will infer
the cardinality for you.** The rules are easy to remember: the cardinality for you.** The rules are easy to remember: