Lines Matching refs:matchers
17 Built-in matchers (where `argument` is the function argument, e.g.
19 `EXPECT_CALL(mock_object, method(matchers))`, the arguments of `method`) are
20 divided into several categories. All matchers are defined in the `::testing`
49 Except `Ref()`, these matchers make a *copy* of `value` in case it's modified or
71 The above matchers use ULP-based comparison (the same as used in googletest).
104 [here](../advanced.md#regular-expression-syntax). All of these matchers, except
121 …` | The same as `ElementsAre()` except that the expected element values/matchers come from an init…
123 …rderedElementsAre(x0, x1, ..., xk)` for some subset `{x0, x1, ..., xk}` of the expected matchers. |
124 …f(array, count)` | Some subset of `argument` matches `UnorderedElementsAre(`expected matchers`)`. |
128 …ame as `UnorderedElementsAre()` except that the expected element values/matchers come from an init…
135 * These matchers can also match:
165 …ent` is a compatible object where each field matches piecewise with the matchers `m...`. A compati…
208 Technically, all matchers match a *single* value. A "multi-argument" matcher is
209 just one that matches a *tuple*. The following matchers can be used to match a
231 You can make a matcher from one or more other matchers:
235 | `AllOf(m1, m2, ..., mn)` | `argument` matches all of the matchers `m1` to `mn`. |
236 …, or `AllOfArray(array, count)` | The same as `AllOf()` except that the matchers come from an init…
237 | `AnyOf(m1, m2, ..., mn)` | `argument` matches at least one of the matchers `m1` to `mn`. |
238 …, or `AnyOfArray(array, count)` | The same as `AnyOf()` except that the matchers come from an init…