Lines Matching refs:matches

3 A **matcher** matches a *single* argument. You can use it inside `ON_CALL()` or
8 | `EXPECT_THAT(actual_value, matcher)` | Asserts that `actual_value` matches `matcher`. |
95 | `ContainsRegex(string)` | `argument` matches the given regular expression. |
99 | `MatchesRegex(string)` | `argument` matches the given regular expression with the match startin…
105 | `WhenBase64Unescaped(m)` | `argument` is a base-64 escaped string whose unescaped string matches
123 | `Contains(e)` | `argument` contains an element that matches `e`, which can be either a value or a…
124 …t match `e`, which can be either a value or a matcher, and the number of matches is `n`, which can…
125 | `Each(e)` | `argument` is a container where *every* element matches `e`, which can be either a va…
126 …1, ..., en)` | `argument` has `n + 1` elements, where the *i*-th element matches `ei`, which can b…
129 …, end)`, `IsSubsetOf(array)`, or `IsSubsetOf(array, count)` | `argument` matches `UnorderedElement…
130 …tOf(array)`, or `IsSupersetOf(array, count)` | Some subset of `argument` matches `UnorderedElement…
132 | `SizeIs(m)` | `argument` is a container whose size matches `m`. E.g. `SizeIs(2)` or `SizeIs(Lt(2)…
133 … 1` elements, and under *some* permutation of the elements, each element matches an `ei` (for a di…
136 | `WhenSorted(m)` | When `argument` is sorted using the `<` operator, it matches container matcher …
166 …rgument.field` (or `argument->field` when `argument` is a plain pointer) matches matcher `m`, wher…
168 | `Key(e)` | `argument.first` matches `e`, which can be either a value or a …
169 … | `argument` is an `std::pair` whose `first` field matches `m1` and `second` field matches `…
170 | `FieldsAre(m...)` | `argument` is a compatible object where each field matches
171 …operty()` (or `argument->property()` when `argument` is a plain pointer) matches matcher `m`, wher…
200 | `ResultOf(f, m)` | `f(argument)` matches matcher `m`, where `f` is a function or functor. |
207 | `Address(m)` | the result of `std::addressof(argument)` matches `m`. |
208 … `argument` (either a smart pointer or a raw pointer) points to a value that matches matcher `m`. |
209 …ument` (either a smart pointer or a raw pointer) contains a pointer that matches `m`. `m` will mat…
210 | `WhenDynamicCastTo<T>(m)` | when `argument` is passed through `dynamic_cast<T>()`, it matches mat…
215 just one that matches a *tuple*. The following matchers can be used to match a
233 …k>(m)` | The tuple of the `k` selected (using 0-based indices) arguments matches `m`, e.g. `Args<1…
241 | `AllOf(m1, m2, ..., mn)` | `argument` matches all of the matchers `m1` to `mn`. |
243 | `AnyOf(m1, m2, ..., mn)` | `argument` matches at least one of the matchers `m1` to `mn`. |
246 | `Conditional(cond, m1, m2)` | Matches matcher `m1` if `cond` evaluates to true, else matches `m2`…
263 | `Matches(m)(value)` | evaluates to `true` if `value` matches `m`. You can use `Matches(m)` alone …
264 | `ExplainMatchResult(m, value, result_listener)` | evaluates to `true` if `value` matches `m`, exp…
265 | `Value(value, m)` | evaluates to `true` if `value` matches `m`. |