mirror of
https://github.com/google/googletest.git
synced 2025-03-20 10:53:47 +00:00
Add documentation for VariantWith.
This commit is contained in:
parent
190e2cdd0b
commit
2eb31c185c
@ -178,6 +178,8 @@ divided into several categories:
|
|||||||
|`Ne(value)` |`argument != value`|
|
|`Ne(value)` |`argument != value`|
|
||||||
|`IsNull()` |`argument` is a `NULL` pointer (raw or smart).|
|
|`IsNull()` |`argument` is a `NULL` pointer (raw or smart).|
|
||||||
|`NotNull()` |`argument` is a non-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`.|
|
|`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.|
|
|`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.|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user