0
0
mirror of https://github.com/google/googletest.git synced 2025-03-20 10:53:47 +00:00
Zhanyong Wan 4902ea2d7c Clarify the polymorphic matcher concept and explain how to define a composite matcher.
Many gtest users aren't aware that a polymorphic matcher is not actually a `testing::Matcher<>` and thus doesn't know how to describe itself. Clarify this.

Also adds a recipe on how to define a composite matcher. In particular, explain how the composite matcher can describe itself in terms of the description(s) of its sub-matcher(s).

PiperOrigin-RevId: 735840759
Change-Id: I26cff6179349aa739fc7fdd528a2f5308d18c189
2025-03-11 12:04:28 -07:00
..
2021-06-02 17:55:09 -04:00
2021-05-25 13:34:39 -04:00
2021-02-19 13:55:48 -05:00
2021-02-19 13:55:48 -05:00
2023-09-14 10:37:04 -07:00
2021-02-26 17:58:04 -05:00
2023-06-19 11:21:44 -06:00
2024-12-11 08:00:11 -08:00