aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/docs/CheatSheet.md
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-03-01 11:18:17 -0500
committerGitHub <noreply@github.com>2018-03-01 11:18:17 -0500
commitf8fbe1c82175b493acd010a6891119dbe5712b5d (patch)
treefa8e9f14e2b4efb66787742ac7bdd7ac4f262700 /googlemock/docs/CheatSheet.md
parent837c24637040566a223d6330de3ae6182caa73ee (diff)
parent447d58b4ee8ea96b4757a5bb5f0b3be75af6c2a1 (diff)
downloadgoogletest-f8fbe1c82175b493acd010a6891119dbe5712b5d.tar.gz
googletest-f8fbe1c82175b493acd010a6891119dbe5712b5d.tar.bz2
googletest-f8fbe1c82175b493acd010a6891119dbe5712b5d.zip
Merge branch 'master' into unsigned-wchar
Diffstat (limited to 'googlemock/docs/CheatSheet.md')
-rw-r--r--googlemock/docs/CheatSheet.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/docs/CheatSheet.md b/googlemock/docs/CheatSheet.md
index c6367fdd..f8bbbfe6 100644
--- a/googlemock/docs/CheatSheet.md
+++ b/googlemock/docs/CheatSheet.md
@@ -178,6 +178,8 @@ divided into several categories:
|`Ne(value)` |`argument != value`|
|`IsNull()` |`argument` is a `NULL` pointer (raw or smart).|
|`NotNull()` |`argument` is a non-null pointer (raw or smart).|
+|`VariantWith<T>(m)` |`argument` is `variant<>` that holds the alternative of
+type T with a value matching `m`.|
|`Ref(variable)` |`argument` is a reference to `variable`.|
|`TypedEq<type>(value)`|`argument` has type `type` and is equal to `value`. You may need to use this instead of `Eq(value)` when the mock function is overloaded.|