Lines Matching full:matchers
119 ON_CALL(mock_object, method(matchers))
129 EXPECT_CALL(mock_object, method(matchers))
147 # Matchers #
157 Built-in matchers (where `argument` is the function argument) are
179 Except `Ref()`, these matchers make a _copy_ of `value` in case it's
186 ## Floating-Point Matchers ##
194 These matchers use ULP-based comparison (the same as used in
202 ## String Matchers ##
223 ## Container Matchers ##
234 | `ElementsAreArray(array)` or `ElementsAreArray(array, count)` | The same as `ElementsAre()` except that the expected element values/matchers come from a C-style array. |
238 These matchers can also match:
241 1. an array passed as a pointer and a count (e.g. in `Bar(const T* buffer, int len)` -- see [Multi-argument Matchers](#Multiargument_Matchers.md)).
245 ## Member Matchers ##
258 ## Pointer Matchers ##
263 ## Multiargument Matchers ##
265 Technically, all matchers match a _single_ value. A "multi-argument"
266 matcher is just one that matches a _tuple_. The following matchers can
284 ## Composite Matchers ##
286 You can make a matcher from one or more other matchers:
288 |`AllOf(m1, m2, ..., mn)`|`argument` matches all of the matchers `m1` to `mn`.|
290 |`AnyOf(m1, m2, ..., mn)`|`argument` matches at least one of the matchers `m1` to `mn`.|
293 ## Adapters for Matchers ##
300 ## Matchers as Predicates ##
307 ## Defining Matchers ##
320 ## Matchers as Test Assertions ##