diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-02-28 08:43:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 08:43:57 -0500 |
commit | 66d71756a72ab31311de963fef23b74f15a6454b (patch) | |
tree | 55065890101d41f9a36774cdd8032fc7bd9eb6d6 /googlemock/docs/CheatSheet.md | |
parent | ab46d9550bbacad1416552bb63432e59aaa73b31 (diff) | |
parent | fe1144246e7ecae688608f7ed0a7ec1ee3e2d2af (diff) | |
download | googletest-66d71756a72ab31311de963fef23b74f15a6454b.tar.gz googletest-66d71756a72ab31311de963fef23b74f15a6454b.tar.bz2 googletest-66d71756a72ab31311de963fef23b74f15a6454b.zip |
Merge branch 'master' into debug-postfix
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.| |