mirror of
https://github.com/google/googletest.git
synced 2025-12-09 18:26:54 +08:00
Change Matcher<T> to allow binding an implementation by value directly: - Drop the requirement of MatcherInterface. Doing manual type erasure avoid extra layers in many cases. - Avoid the adaptor for `MatcherInterface<T>` and `MatcherInterface<const T&>` mismatch. - Use a small object optimization when possible. This makes things like `_` and `Eq(1)` really cheap and do not require memory allocations. - Migrate some matchers to the new model to speed them up and to test the new framework. More matchers to come in future changes. PiperOrigin-RevId: 350580998 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| gmock_all_test.cc | ||
| gmock_ex_test.cc | ||
| gmock_leak_test_.cc | ||
| gmock_leak_test.py | ||
| gmock_link2_test.cc | ||
| gmock_link_test.cc | ||
| gmock_link_test.h | ||
| gmock_output_test_.cc | ||
| gmock_output_test_golden.txt | ||
| gmock_output_test.py | ||
| gmock_stress_test.cc | ||
| gmock_test_utils.py | ||
| gmock_test.cc | ||
| gmock-actions_test.cc | ||
| gmock-cardinalities_test.cc | ||
| gmock-function-mocker_nc_test.py | ||
| gmock-function-mocker_nc.cc | ||
| gmock-function-mocker_test.cc | ||
| gmock-generated-actions_test.cc | ||
| gmock-internal-utils_test.cc | ||
| gmock-matchers_test.cc | ||
| gmock-more-actions_test.cc | ||
| gmock-nice-strict_test.cc | ||
| gmock-port_test.cc | ||
| gmock-pp_test.cc | ||
| gmock-pp-string_test.cc | ||
| gmock-spec-builders_test.cc | ||
| pump_test.py | ||