mirror of
https://github.com/google/googletest.git
synced 2025-12-10 02:36:50 +08:00
Add AllOfArray matcher that verifies a value matches all member of some array/container/list/set/..., e.g:
EXPECT_THAT(1, AnyOfArray({1, 2, 3}))
In the simplest form this is identical to AnyOf(1, 2, 3). But unlike that one it works on containers.
Add AnyOfArray matcher that verifies a value matches any member of some
array/container/list/set/...
PiperOrigin-RevId: 230403653
|
||
|---|---|---|
| .. | ||
| internal | ||
| gmock-actions.h | ||
| gmock-cardinalities.h | ||
| gmock-function-mocker.h | ||
| gmock-generated-actions.h | ||
| gmock-generated-actions.h.pump | ||
| gmock-generated-function-mockers.h | ||
| gmock-generated-function-mockers.h.pump | ||
| gmock-generated-matchers.h | ||
| gmock-generated-matchers.h.pump | ||
| gmock-matchers.h | ||
| gmock-more-actions.h | ||
| gmock-more-matchers.h | ||
| gmock-nice-strict.h | ||
| gmock-spec-builders.h | ||
| gmock.h | ||