diff options
author | Abseil Team <absl-team@google.com> | 2021-01-26 01:51:26 (GMT) |
---|---|---|
committer | CJ Johnson <johnsoncj@google.com> | 2021-01-26 20:43:46 (GMT) |
commit | 8a7618672a4ddd576a4e0feba2e3597c3b602434 (patch) | |
tree | a502b8e7ba8b9eca4db89c7901a8d5a6adeb7767 /docs/gmock_cheat_sheet.md | |
parent | 3351eba0aa33668f8f4cf5d24eb5f68fce17e034 (diff) | |
download | googletest-8a7618672a4ddd576a4e0feba2e3597c3b602434.zip googletest-8a7618672a4ddd576a4e0feba2e3597c3b602434.tar.gz googletest-8a7618672a4ddd576a4e0feba2e3597c3b602434.tar.bz2 |
Googletest export
Delete internal tags from docs
PiperOrigin-RevId: 353769887
Diffstat (limited to 'docs/gmock_cheat_sheet.md')
-rw-r--r-- | docs/gmock_cheat_sheet.md | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/gmock_cheat_sheet.md b/docs/gmock_cheat_sheet.md index 29535a9..462da85 100644 --- a/docs/gmock_cheat_sheet.md +++ b/docs/gmock_cheat_sheet.md @@ -1,11 +1,5 @@ # gMock Cheat Sheet -go/gmockcheat - -[TOC] - -<!--#include file="includes/g3_BUILD_rule.md"--> - ## Defining a Mock Class ### Mocking a Normal Class {#MockClass} @@ -229,8 +223,6 @@ and the default action will be taken each time. ## Matchers {#MatcherList} -go/matchers - A **matcher** matches a *single* argument. You can use it inside `ON_CALL()` or `EXPECT_CALL()`, or use it to validate a value directly using two macros: @@ -427,10 +419,6 @@ messages, you can use: | `WhenDynamicCastTo<T>(m)` | when `argument` is passed through `dynamic_cast<T>()`, it matches matcher `m`. | <!-- mdformat on --> -<!--#include file="includes/g3_proto_matchers.md"--> - -<!--#include file="includes/g3_absl_status_matcher.md"--> - ### Multi-argument Matchers {#MultiArgMatchers} Technically, all matchers match a *single* value. A "multi-argument" matcher is @@ -470,8 +458,6 @@ You can make a matcher from one or more other matchers: | `Not(m)` | `argument` doesn't match matcher `m`. | <!-- mdformat on --> -<!--#include file="includes/g3_useful_matchers_outsidegmock.md"--> - ### Adapters for Matchers <!-- mdformat off(no multiline tables) --> @@ -615,8 +601,6 @@ value, and `foo` by reference. **Note:** due to technical reasons, `DoDefault()` cannot be used inside a composite action - trying to do so will result in a run-time error. -<!--#include file="includes/g3_stubby_actions.md"--> - ### Composite Actions <!-- mdformat off(no multiline tables) --> |