diff options
author | Bernhard Bauer <sheepmaster@gmail.com> | 2018-03-12 18:15:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-12 18:15:35 +0000 |
commit | fc437ef4b2c0a0302a6b0771c334ca51dc1ccf7d (patch) | |
tree | 0718a372bf66172bf4d3415eca6eb5d1f96b41fa /googlemock/docs/CheatSheet.md | |
parent | 7b70413e0ca57b3e48d7655f342122f159f52b31 (diff) | |
parent | abc6e943e0878af67b91fa8a646edf717195c80c (diff) | |
download | googletest-fc437ef4b2c0a0302a6b0771c334ca51dc1ccf7d.tar.gz googletest-fc437ef4b2c0a0302a6b0771c334ca51dc1ccf7d.tar.bz2 googletest-fc437ef4b2c0a0302a6b0771c334ca51dc1ccf7d.zip |
Merge branch 'master' into upstream_188748737
Diffstat (limited to 'googlemock/docs/CheatSheet.md')
-rw-r--r-- | googlemock/docs/CheatSheet.md | 2 |
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.| |