googletest/docs
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
..
_data Googletest export 2021-06-02 17:55:09 -04:00
_layouts documentation, change mater branch to main 2022-06-22 14:36:10 +03:00
_sass Googletest export 2021-05-25 13:34:39 -04:00
assets/css Googletest export 2021-02-19 13:55:48 -05:00
reference Allow DistanceFrom() to use user-defined abs() by default. 2025-03-11 06:58:43 -07:00
_config.yml Googletest export 2021-02-19 13:55:48 -05:00
advanced.md Adds support for a --gtest_fail_if_no_test_linked flag 2025-02-24 13:18:33 -08:00
community_created_documentation.md Googletest export 2021-01-15 15:54:03 -05:00
faq.md GoogleTest FAQ: minor punctuation fixes 2023-09-14 10:37:04 -07:00
gmock_cheat_sheet.md Adjust includes to use <> instead of "", consistent with quickstart pages. 2023-07-28 09:51:41 -07:00
gmock_cook_book.md Clarify the polymorphic matcher concept and explain how to define a composite matcher. 2025-03-11 12:04:28 -07:00
gmock_faq.md Fix reference to source file in gmock FAQ 2022-01-14 14:40:35 -08:00
gmock_for_dummies.md Add anchor for expectation ordering note 2024-02-13 13:55:04 -08:00
index.md Googletest export 2021-02-26 17:58:04 -05:00
pkgconfig.md cmake: Raise min to 3.6 2023-06-19 11:21:44 -06:00
platforms.md Copy supported platforms from README onto https://google.github.io/googletest/platforms.html 2023-06-01 07:28:42 -07:00
primer.md Update the links to ISTQB glossary. 2024-12-11 08:00:11 -08:00
quickstart-bazel.md Update main to point to 1.15.2 patch release 2024-08-01 06:34:56 -07:00
quickstart-cmake.md Add CXX_STANDARD_REQUIRED to CMake quickstart 2023-05-21 16:40:06 -07:00
samples.md Merge pull request #3918 from assafpr:master2main 2022-08-01 11:47:51 -07:00